Validator Operations
Create New Validator
# Create Validator.json file
sudo tee $HOME/.warden/validator.json > /dev/null <<EOF
{
"pubkey": $PUBKEY_HERE,
"amount": "9999450000000000000award",
"moniker": "",
"identity": "",
"website": "",
"security": "",
"details": "",
"commission-rate": "0.05",
"commission-max-rate": "0.01",
"commission-max-change-rate": "0.05",
"min-self-delegation": "1"
}
EOF
# Bond Validator
wardend tx staking create-validator $HOME/.warden/validator.json \
--from=main \
--fees=250000000000000award \
--chain-id=chiado_10010-1 \
--node=https://rpc.chiado.wardenprotocol.org \
--gas=auto \
--gas-adjustment=1.6 -y
Edit Existing Validator
wardend tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "" \
--from $WALLET \
--chain-id buenavista-1 \
--fees 10000uward \
-y
Validator info
wardend status 2>&1 | jq .ValidatorInfo
Validator Details
wardend q staking validator $(wardend keys show $WALLET --bech val -a)
Jailing info
wardend q slashing signing-info $(wardend tendermint show-validator)
Slashing parameters
wardend q slashing params
Unjail validator
wardend tx slashing unjail --from $WALLET --chain-id buenavista-1 --fees 10000uward -y
Active Validators List
wardend 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
[[ $(wardend q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(wardend status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"
Signing info
wardend q slashing signing-info $(wardend tendermint show-validator)
Last updated