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