Validator Operations

Create New Validator

atomoned tx staking create-validator \
--amount 1000000uatone \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(atomoned tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "" \
--chain-id atomone-1 \
--fees=2000uatone \
-y

Edit Existing Validator

atomoned tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "" \
--from $WALLET \
--chain-id atomone-1 \
--fees 2000uatone\
-y

Validator info

atomoned status 2>&1 | jq .ValidatorInfo

Validator Details

atomoned q staking validator $(atomoned keys show $WALLET --bech val -a)

Jailing info

atomoned q slashing signing-info $(atomoned tendermint show-validator)

Slashing parameters

atomoned q slashing params

Unjail validator

atomoned tx slashing unjail --from $WALLET --chain-id atomone-1 --fees 2000uatone-y

Active Validators List

atomoned 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

[[ $(atomoned q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(atomoned status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"

Signing info

atomoned q slashing signing-info $(atomoned tendermint show-validator)

Last updated