Validator Operations

Create New Validator

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

Edit Existing Validator

qubeticsd tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "" \
--from $WALLET \
--chain-id qubetics_9029-1 \
--gas-prices 7tics --gas auto --gas-adjustment 1.5 \
-y

Validator info

qubeticsd status 2>&1 | jq .ValidatorInfo

Validator Details

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

Jailing info

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

Slashing parameters

qubeticsd q slashing params

Unjail validator

qubeticsd tx slashing unjail --from $WALLET --chain-id qubetics_9029-1 --gas-prices 7tics --gas auto --gas-adjustment 1.5 -y

Active Validators List

qubeticsd 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

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

Signing info

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

Last updated