Useful commands
📌 Service Operations
Check logs
sudo journalctl -u wardend -fo catStart service
sudo systemctl start wardendStop service
sudo systemctl stop wardendRestart service
sudo systemctl restart wardendCheck service status
sudo systemctl status wardendReload systemd
sudo systemctl daemon-reloadEnable service (auto-start)
sudo systemctl enable wardendDisable service
sudo systemctl disable wardend📡 Node Information
Node status
wardend status 2>&1 | jq🔑 Wallet Management
Add a new wallet
wardend keys add $WALLETRecover a wallet
wardend keys add $WALLET --recoverList all wallets
wardend keys listDelete a wallet
wardend keys delete $WALLETCheck wallet balance
wardend q bank balances $WALLET_ADDRESSExport wallet key
wardend keys export $WALLET > wallet.backupView EVM private key
wardend keys unsafe-export-eth-key $WALLETImport key from backup
wardend keys import $WALLET wallet.backup💰 Tokens / Staking Operations
Withdraw all rewards
wardend tx distribution withdraw-all-rewards \
--from $WALLET \
--chain-id warden_8765-1 \
--gas auto --gas-adjustment 1.6 \
--fees 250000000000000award -yWithdraw rewards + commission
wardend tx distribution withdraw-rewards $VALOPER_ADDRESS \
--commission \
--from $WALLET \
--chain-id warden_8765-1 \
--gas auto --gas-adjustment 1.6 \
--fees 250000000000000award -yDelegate to your own validator
wardend tx staking delegate \
$(wardend keys show $WALLET --bech val -a) \
1000000award \
--from $WALLET \
--chain-id warden_8765-1 \
--gas auto --gas-adjustment 1.6 \
--fees 250000000000000award -yDelegate to another validator
wardend tx staking delegate <TO_VALOPER_ADDRESS> \
1000000award \
--from $WALLET \
--chain-id warden_8765-1 \
--gas auto --gas-adjustment 1.6 \
--fees 250000000000000award -yRedelegate stake
wardend tx staking redelegate \
$VALOPER_ADDRESS <TO_VALOPER_ADDRESS> \
1000000award \
--from $WALLET \
--chain-id warden_8765-1 \
--gas auto --gas-adjustment 1.6 \
--fees 250000000000000award -yUnbond stake
wardend tx staking unbond \
$(wardend keys show $WALLET --bech val -a) \
1000000award \
--from $WALLET \
--chain-id warden_8765-1 \
--gas auto --gas-adjustment 1.6 \
--fees 250000000000000award -ySend tokens
wardend tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> \
1000000award \
--gas auto --gas-adjustment 1.6 \
--fees 250000000000000award -y🧱 Validator Operations
Create a new validator
wardend tx staking create-validator \
--amount 1000000award \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(wardend tendermint show-validator) \
--moniker "$MONIKER" \
--identity "xxxxxxxxx" \
--details "xxxxxxxxxx" \
--chain-id warden_8765-1 \
--gas auto --gas-adjustment 1.6 \
--fees 250000000000000award \
-yEdit your validator
wardend tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "xxxxxxxxxxx" \
--details "xxxxxxxxxxxx" \
--from $WALLET \
--chain-id warden_8765-1 \
--gas auto --gas-adjustment 1.6 \
--fees 250000000000000award \
-y📋 Validator Status
Get validator details
wardend q staking validator \
$(wardend keys show $WALLET --bech val -a)Check jailing info
wardend q slashing signing-info $(wardend tendermint show-validator)Slashing parameters
wardend q slashing paramsUnjail validator
wardend tx slashing unjail \
--from $WALLET \
--chain-id warden_8765-1 \
--gas auto --gas-adjustment 1.6 \
--fees 250000000000000award -yActive 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 | nlVerify validator consensus key
[[ $(wardend q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = \
$(wardend status | jq -r .ValidatorInfo.PubKey.value) ]] \
&& echo "Your key status is OK" \
|| echo "Your key status is ERROR"🗳 Governance
Vote on proposal
wardend tx gov vote 1 yes \
--from $WALLET \
--chain-id warden_8765-1 \
--gas auto --gas-adjustment 1.6 \
--fees 250000000000000award -yLast updated