Cheat Sheet

Service operations ⚙️

Check logs

sudo journalctl -u evmosd -f

Start service

sudo systemctl start evmosd

Stop service

sudo systemctl stop evmosd

Restart service

sudo systemctl restart evmosd

Check service status

sudo systemctl status evmosd

Reload services

sudo systemctl daemon-reload

Enable Service

sudo systemctl enable evmosd

Disable Service

sudo systemctl disable evmosd

Node info

evmosd status 2>&1 | jq

Key management

Add New Wallet

evmosd keys add $WALLET

Restore executing wallet

evmosd keys add $WALLET --recover

List All Wallets

evmosd keys list

Delete wallet

evmosd keys delete $WALLET

Check Balance

evmosd q bank balances $WALLET_ADDRESS 

Export Key (save to wallet.backup)

evmosd keys export $WALLET

View EVM Prived Key

evmosd keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

evmosd keys import $WALLET wallet.backup

Withdraw all rewards

evmosd tx distribution withdraw-all-rewards --from $WALLET --chain-id zgtendermint_9000-1 --gas 500000 --gas-prices 99999aevmos 

Withdraw rewards and commission from your validator

evmosd tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id zgtendermint_9000-1 --gas 500000 --gas-prices 99999aevmos -y 

Check your balance

evmosd query bank balances $WALLET_ADDRESS

Delegate to Yourself

evmosd tx staking delegate $(evmosd keys show $WALLET --bech val -a) 1000000aevmos --from $WALLET --chain-id zgtendermint_9000-1 --gas 500000 --gas-prices 99999aevmos -y 

Delegate

evmosd tx staking delegate <TO_VALOPER_ADDRESS> 1000000aevmos --from $WALLET --chain-id zgtendermint_9000-1 --gas 500000 --gas-prices 99999aevmos -y 	

Redelegate Stake to Another Validator

evmosd tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000aevmos --from $WALLET --chain-id zgtendermint_9000-1 --gas 500000 --gas-prices 99999aevmos -y 

Unbond

evmosd tx staking unbond $(evmosd keys show $WALLET --bech val -a) 1000000aevmos --from $WALLET --chain-id zgtendermint_9000-1 --gas 500000 --gas-prices 99999aevmos -y 

Transfer Funds

evmosd tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000aevmos --gas 500000 --gas-prices 99999aevmos -y 

Last updated