Validator Operations

Create New Validator

elysd tx staking create-validator \
validator.json \
--from $WALLETNAME \
--gas auto \
--gas-adjustment 1.2 \
--gas-prices "0.0003uelys" \
--yes

Edit Existing Validator

elysd tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "" \
--from $WALLET \
--chain-id elysicstestnet-1 \
--gas auto --gas-adjustment 1.2 --gas-prices=0.0003uelys \
-y

Validator info

elysd status 2>&1 | jq .ValidatorInfo

Validator Details

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

Jailing info

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

Slashing parameters

elysd q slashing params

Unjail validator

elysd tx slashing unjail --from $WALLET --chain-id elysicstestnet-1 --gas auto --gas-adjustment 1.2 --gas-prices=0.0003uelys -y

Active Validators List

elysd 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

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

Signing info

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

Last updated