Validator Operations
Create New Validator
routerd tx staking create-validator \
--amount 1000000route \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(routerd tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "" \
--chain-id router_9600-1 \
--fees=100000000000000route \
-y
Edit Existing Validator
routerd tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "" \
--from $WALLET \
--chain-id router_9600-1 \
--fees 100000000000000route --gas-prices=7route\
-y
Validator info
routerd status 2>&1 | jq .ValidatorInfo
Validator Details
routerd q staking validator $(routerd keys show $WALLET --bech val -a)
Jailing info
routerd q slashing signing-info $(routerd tendermint show-validator)
Slashing parameters
routerd q slashing params
Unjail validator
routerd tx slashing unjail --from $WALLET --chain-id router_9600-1 --fees 100000000000000route --gas-prices=7route-y
Active Validators List
routerd 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
[[ $(routerd q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(routerd status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"
Signing info
routerd q slashing signing-info $(routerd tendermint show-validator)
Last updated