Validator Operations

Create New Validator

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

Edit Existing Validator

exrpd tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "" \
--from $WALLET \
--chain-id exrp_1440002-1 \
--gas="300000" --gas-prices="240000000000900000axrp" \
-y

Validator info

exrpd status 2>&1 | jq .ValidatorInfo

Validator Details

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

Jailing info

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

Slashing parameters

exrpd q slashing params

Unjail validator

exrpd tx slashing unjail --from $WALLET --chain-id exrp_1440002-1 --gas="300000" --gas-prices="240000000000900000axrp" -y

Active Validators List

exrpd 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

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

Signing info

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

Last updated