Useful commands
Add new key
evmosd keys add walletRecover existing key
evmosd keys add wallet --recoverList all keys
evmosd keys listDelete key
evmosd keys delete walletQuery wallet balance
evmosd q bank balances $(evmosd keys show wallet -a)Create new validator
evmosd tx staking create-validator \
--amount 1000000aevmos \
--pubkey $(evmosd tendermint show-validator) \
--moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id evmos_9000-4 \
--commission-rate 0.05 \
--commission-max-rate 0.20 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 25000000aevmos \
-yEdit validator
evmosd tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id evmos_9000-4 \
--commission-rate 0.05 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 25000000aevmos \
-yUnjail validator
evmosd tx slashing unjail --from wallet --chain-id evmos_9000-4 --gas-adjustment 1.4 --gas auto --gas-prices 25000000aevmos -yJail reason
evmosd query slashing signing-info $(evmosd tendermint show-validator)List all active validators
evmosd q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nlList all inactive validators
evmosd q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_UNBONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nlWithdraw rewards from all validators
evmosd tx distribution withdraw-all-rewards --from wallet --chain-id evmos_9000-4 --gas-adjustment 1.4 --gas auto --gas-prices 25000000aevmos -yWithdraw commission and rewards from your validator
evmosd tx distribution withdraw-rewards $(evmosd keys show wallet --bech val -a) --commission --from wallet --chain-id evmos_9000-4 --gas-adjustment 1.4 --gas auto --gas-prices 25000000aevmos -yDelegate to yourself
evmosd tx staking delegate $(evmosd keys show wallet --bech val -a) 1000000aevmos --from wallet --chain-id evmos_9000-4 --gas-adjustment 1.4 --gas auto --gas-prices 25000000aevmos -yDelegate tokens to validator
evmosd tx staking delegate <TO_VALOPER_ADDRESS> 1000000aevmos --from wallet --chain-id evmos_9000-4 --gas-adjustment 1.4 --gas auto --gas-prices 25000000aevmos -yRedelegate tokens to another validator
evmosd tx staking redelegate $(evmosd keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000aevmos --from wallet --chain-id evmos_9000-4 --gas-adjustment 1.4 --gas auto --gas-prices 25000000aevmos -yUnbond tokens from your validator
evmosd tx staking unbond $(evmosd keys show wallet --bech val -a) 1000000aevmos --from wallet --chain-id evmos_9000-4 --gas-adjustment 1.4 --gas auto --gas-prices 25000000aevmos -ySend tokens to the wallet
evmosd tx bank send wallet <TO_WALLET_ADDRESS> 1000000aevmos --from wallet --chain-id evmos_9000-4 --gas-adjustment 1.4 --gas auto --gas-prices 25000000aevmos -yView validator details
evmosd q staking validator $(evmosd keys show wallet --bech val -a)Slashing params
evmosd q slashing paramsSigning Info
evmosd q slashing signing-info $(evmosd tendermint show-validator)Get validator info
evmosd status 2>&1 | jq .ValidatorInfoGet sync info
evmosd status 2>&1 | jq .SyncInfoCheck validator key
[[ $(evmosd q staking validator $(evmosd keys show wallet --bech val -a) -oj | jq -r .consensus_pubkey.key) = $(evmosd status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "\n\e[1m\e[32mTrue\e[0m\n" || echo -e "\n\e[1m\e[31mFalse\e[0m\n"Governance
evmosd tx gov vote 1 yes --from wallet --chain-id evmos_9000-4 --gas-prices 25000000aevmos --gas-adjustment 1.5 --gas auto -yRemove node
cd $HOME
sudo systemctl stop evmosd
sudo systemctl disable evmosd
sudo rm /etc/systemd/system/evmosd.service
sudo systemctl daemon-reload
rm -f $(which evmosd)
rm -rf $HOME/.evmosd
rm -rf $HOME/evmosReload service configuration
sudo systemctl daemon-reloadEnable service
sudo systemctl enable evmosdDisable service
sudo systemctl disable evmosdStart service
sudo systemctl start evmosdStop service
sudo systemctl stop evmosdRestart service
sudo systemctl restart evmosdCheck service status
sudo systemctl status evmosdCheck service logs
sudo journalctl -u evmosd -f --no-hostname -o catLast updated