Validator Operations
Create New Validator
nibid tx staking create-validator \
--amount 1000000nivea \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(nibid tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "" \
--chain-id cataclysm-1 \
--fees 5000unibi \
-y
Edit Existing Validator
nibid tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "" \
--from $WALLET \
--chain-id cataclysm-1 \
--fees 5000unibi \
-y
Validator info
nibid status 2>&1 | jq .ValidatorInfo
Validator Details
nibid q staking validator $(nibid keys show $WALLET --bech val -a)
Jailing info
nibid q slashing signing-info $(nibid tendermint show-validator)
Slashing parameters
nibid q slashing params
Unjail validator
nibid tx slashing unjail --from $WALLET --chain-id cataclysm-1 --fees 5000unibi -y
Active Validators List
nibid q staking validators -oj --limit=2000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " " + .description.moniker' | sort -gr | nl
Check Validator key
[[ $(nibid q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(nibid status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"
Signing info
nibid q slashing signing-info $(nibid tendermint show-validator)
Last updated