Validator Operations

Create New Validator

symphonyd tx staking create-validator \
--amount 1000000note \
--from $WALLET \
--commission-rate 0.05 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.05 \
--min-self-delegation 1 \
--pubkey $(symphonyd tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "" \
--chain-id symphony-testnet-4 \
--fees=800note \
-y

Edit Existing Validator

symphonyd tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "" \
--from $WALLET \
--chain-id symphony-testnet-4 \
--fees 800note \
-y

Validator info

symphonyd status 2>&1 | jq .ValidatorInfo

Validator Details

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

Jailing info

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

Slashing parameters

symphonyd q slashing params

Unjail validator

symphonyd tx slashing unjail --from $WALLET --chain-id symphony-testnet-4 --fees 800note -y

Active Validators List

symphonyd 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

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

Signing info

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

Last updated