Keys
Add new key
Copy nibid keys add wallet
Recover existing key
Copy nibid keys add wallet --recover
List all keys
Delete key
Copy nibid keys delete wallet
Query wallet balance
Copy nibid q bank balances $( nibid keys show wallet -a )
Create new validator
Copy nibid tx staking create-validator \
--amount 10000000unibi \
--pubkey $( nibid tendermint show-validator ) \
--moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id cataclysm-1 \
--commission-rate 0.1 \
--commission-max-rate 0.20 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--from wallet \
--fees 5000unibi \
-y
Edit validator
Copy nibid tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id cataclysm-1 \
--commission-rate 0.05 \
--from wallet \
--fees 5000unibi \
-y
Unjail validator
Copy nibid tx slashing unjail --from wallet --chain-id cataclysm-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
Jail reason
Copy nibid query slashing signing-info $( nibid tendermint show-validator )
List all active validators
Copy nibid 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
List all inactive validators
Copy nibid 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
Withdraw rewards from all validators
Copy nibid tx distribution withdraw-all-rewards --from wallet --chain-id cataclysm-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
Withdraw commission and rewards from your validator
Copy nibid tx distribution withdraw-rewards $(nibid keys show wallet --bech val -a) --commission --from wallet --chain-id cataclysm-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
Delegate to yourself
Copy nibid tx staking delegate $(nibid keys show wallet --bech val -a) 1000000unibi --from wallet --chain-id cataclysm-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
Delegate tokens to validator
Copy nibid tx staking delegate <TO_VALOPER_ADDRESS> 1000000unibi --from wallet --chain-id cataclysm-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
Redelegate tokens to another validator
Copy nibid tx staking redelegate $(nibid keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000unibi --from wallet --chain-id cataclysm-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
Unbond tokens from your validator
Copy nibid tx staking unbond $(nibid keys show wallet --bech val -a) 1000000unibi --from wallet --chain-id cataclysm-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
Send tokens to the wallet
Copy nibid tx bank send wallet <TO_WALLET_ADDRESS> 1000000unibi --from wallet --chain-id cataclysm-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
View validator details
Copy nibid q staking validator $( nibid keys show wallet --bech val -a )
Slashing params
Copy nibid q slashing params
Signing Info
Copy nibid q slashing signing-info $( nibid tendermint show-validator )
Get validator info
Copy nibid status 2>&1 | jq .ValidatorInfo
Get sync info
Copy nibid status 2>&1 | jq .SyncInfo
Check validator key
Copy [[ $(nibid q staking validator $(nibid keys show wallet --bech val -a) -oj | jq -r .consensus_pubkey.key) = $(nibid status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "\n\e[1m\e[32mTrue\e[0m\n" || echo -e "\n\e[1m\e[31mFalse\e[0m\n"
Remove node
Copy cd $HOME
sudo systemctl stop nibid
sudo systemctl disable nibid
sudo rm /etc/systemd/system/nibid.service
sudo systemctl daemon-reload
rm -f $( which nibid )
rm -rf $HOME /.nibid
rm -rf $HOME /nibiru
Reload service configuration
Copy sudo systemctl daemon-reload
Enable service
Copy sudo systemctl enable nibid
Disable service
Copy sudo systemctl disable nibid
Start service
Copy sudo systemctl start nibid
Stop service
Copy sudo systemctl stop nibid
Restart service
Copy sudo systemctl restart nibid
Check service status
Copy sudo systemctl status nibid
Check service logs
Copy sudo journalctl -u nibid -f --no-hostname -o cat
Delete Node
Copy sudo systemctl stop nibid
sudo systemctl disable nibid
sudo rm -rf /etc/systemd/system/nibid.service
sudo rm $(which nibid)
sudo rm -rf $HOME/.nibid
sed -i "/NIBIRU_/d" $HOME/.bash_profile
Last updated 9 months ago