🖊️Working with your wallet🖊️
Add new key
Copy nolusd keys add wallet
Recover existing key
Copy nolusd keys add wallet --recover
Query wallet balance
Copy nolusd q bank balances $(nolusd keys show wallet -a)
List all keys
Delete key
Copy nolusd keys delete wallet
Export key to a file
Copy nolusd keys export wallet
Import key from a file
Copy nolusd keys import wallet wallet.backup
🔧Service🔧
Info
Copy nolusd status 2>&1 | jq .NodeInfo
nolusd status 2>&1 | jq .SyncInfo
nolusd status 2>&1 | jq .ValidatorInfo
Check node logs
Copy sudo journalctl -fu nolusd -o cat
Check service status
Copy sudo systemctl status nolusd
Restart service
Copy sudo systemctl restart nolusd
Stop service
Copy sudo systemctl stop nolusd
Start service
Copy sudo systemctl start nolusd
Reload, disable, enable
Copy sudo systemctl daemon-reload
sudo systemctl disable nolusd
sudo systemctl enable nolusd
Your Peer
Copy echo $(nolusd tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.nolus/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
🔗Validator Management🔗
Create new validator
Copy nolusd tx staking create-validator \
--amount 1000000unls \
--from <walletName> \
--commission-max-change-rate "0.01" \
--commission-max-rate "0.20" \
--commission-rate "0.05" \
--min-self-delegation "1" \
--pubkey $(nolusd tendermint show-validator) \
--moniker YOUR_MONIKER_NAME \
--chain-id pirin-1 \
--identity="YOUR_KEYBASE_ID" \
--details="YOUR_DETAILS" \
--website="YOUR_WEBSITE_URL" -y
Edit Validator
Copy nolusd tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--security-contact "Your_Email" \
--chain-id pirin-1 \
--commission-rate 0.05 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--fees 2500unls \
-y
Jail Info
Copy nolusd query slashing signing-info $(nolusd tendermint show-validator)
Unjail
Copy nolusd tx slashing unjail --from wallet --chain-id pirin-1 --gas-adjustment 1.4 --gas auto --fees 2500unls -y
Active Validators List
Copy nolusd q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
Inactive Validators List
Copy nolusd q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_UNBONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
View validator details
Copy nolusd q staking validator $(nolusd keys show wallet --bech val -a)
🔈Governance🔈
List all proposals
Copy nolusd query gov proposals
View specific proposal
Copy nolusd query gov proposal 1
Vote yes
Copy nolusd tx gov vote 1 yes --from wallet --chain-id pirin-1 --gas-adjustment 1.4 --gas auto --fees 2500unls -y
Vote no
Copy nolusd tx gov vote 1 no --from wallet --chain-id pirin-1 --gas-adjustment 1.4 --gas auto --fees 2500unls -y
Vote abstain
Copy nolusd tx gov vote 1 abstain --from wallet --chain-id pirin-1 --gas-adjustment 1.4 --gas auto --fees 2500unls -y
Vote no_with_veto
Copy nolusd tx gov vote 1 NoWithVeto --from wallet --chain-id pirin-1 --gas-adjustment 1.4 --gas auto --fees 2500unls -y
⚙️Token management⚙️
Withdraw all rewards from all validators
Copy nolusd tx distribution withdraw-all-rewards --from wallet --chain-id pirin-1 --gas-adjustment 1.4 --gas auto --fees 2500unls -y
Withdraw and commission from your Validator
Copy nolusd tx distribution withdraw-rewards $(nolusd keys show wallet --bech val -a) --commission --from wallet --chain-id pirin-1 --gas-adjustment 1.4 --gas auto --fees 2500unls -y
Delegate tokens to your validator
Copy nolusd tx staking delegate Your_valpoer........ " 1000000unls --from Wallet_Name --chain-id pirin-1 --gas-adjustment 1.4 --gas auto --fees 2500unls -y
Delegate tokens to different validator
Copy nolusd tx staking delegate <TO_VALOPER_ADDRESS> 1000000unls --from wallet --chain-id pirin-1 --gas-adjustment 1.4 --gas auto --fees 2500unls -y
Redelegate tokens to another validator
Copy nolusd tx staking redelegate $(nolusd keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000unls --from wallet --chain-id pirin-1 --gas-adjustment 1.4 --gas auto --fees 2500unls -y
Unbond tokens from your validator
Copy nolusd tx staking unbond $(nolusd keys show wallet --bech val -a) 1000000unls --from wallet --chain-id pirin-1 --gas-adjustment 1.4 --gas auto --fees 2500unls -y
Send tokens to the wallet
Copy nolusd tx bank send wallet <TO_WALLET_ADDRESS> 1000000unls --from wallet --chain-id pirin-1 --gas-adjustment 1.4 --gas auto --fees 2500unls -y
Last updated 3 months ago