Validator Operations

Create New Validator

sided tx staking create-validator \
--amount 1000000uside \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(sided tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "" \
--chain-id sidechain-testnet-5 \
--gas-prices 0.0006uside --gas-adjustment 1.5 --gas auto \
-y

Edit Existing Validator

sided tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "" \
--from $WALLET \
--chain-id sidechain-testnet-5 \
--gas-prices 0.0006uside --gas-adjustment 1.5 --gas auto \
-y

Validator info

sided status 2>&1 | jq .ValidatorInfo

Validator Details

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

Jailing info

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

Slashing parameters

sided q slashing params

Unjail validator

sided tx slashing unjail --from $WALLET --chain-id sidechain-testnet-5 --gas-prices 0.0006uside --gas-adjustment 1.5 --gas auto -y

Active Validators List

sided 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

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

Signing info

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

Last updated