Skip to main content

Cheat Sheet

Wallet

Add New Wallet Key

limonatad  keys add wallet

Recover existing key

limonatad  keys add wallet --recover

List All Keys

limonatad  keys list

Query Wallet Balance

limonatad  q bank balances $(limonatad  keys show wallet -a)

Check sync status

limonatad  status 2>&1 | jq .sync_info.catching_up

Create Validator

Change your info "your_info"

limonatad tx staking create-validator <(cat <<EOF
{
"pubkey": $(limonatad comet show-validator),
"amount": "1000000000000000000aLIMO",
"moniker": "your_info",
"identity": "your_info",
"website": "your_info",
"security-contact": "your_info",
"details": "your_info",
"commission-rate": "0.05",
"commission-max-rate": "0.20",
"commission-max-change-rate": "0.05",
"min-self-delegation": "1"
}
EOF
) \
--from wallet \
--chain-id limonata_10777-1 \
--gas-prices 2500000000aLIMO \
--gas-adjustment 1.5 \
--gas auto \
-y

Edit Existing Validator

limonatad  tx staking edit-validator \
--new-moniker="" \
--identity="" \
--website="" \
--details="" \
--from wallet \
--chain-id limonata_10777-1 \
--gas-prices 2500000000aLIMO \
--gas-adjustment 1.5 \
--gas auto \
-y

Delegate Token to your own validator

limonatad  tx staking delegate $(limonatad  keys show wallet --bech val -a) 1000000000000000000aLIMO \
--from wallet \
--chain-id limonata_10777-1 \
--gas-prices 2500000000aLIMO \
--gas-adjustment 1.5 \
--gas auto \
-y

Withdraw All

limonatad  tx distribution withdraw-all-rewards --from wallet \
--from wallet \
--chain-id limonata_10777-1 \
--gas-prices 2500000000aLIMO \
--gas-adjustment 1.5 \
--gas auto \
-y

Withdraw Rewards with Comission

limonatad  tx distribution withdraw-rewards $(limonatad  keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id limonata_10777-1 \
--gas-prices 2500000000aLIMO \
--gas-adjustment 1.5 \
--gas auto \
-y

Unjail validator

limonatad tx slashing unjail --from wallet --fees 200000000000000aLIMO -y

Vote

limonatad  tx gov vote 1 yes \
--from wallet \
--chain-id limonata_10777-1 \
--gas-prices 2500000000aLIMO \
--gas-adjustment 1.5 \
--gas auto \
-y

Services Management

# Reload Service
sudo systemctl daemon-reload

# Enable Service
sudo systemctl enable limonatad

# Disable Service
sudo systemctl disable limonatad

# Start Service
sudo systemctl start limonatad

# Stop Service
sudo systemctl stop limonatad

# Restart Service
sudo systemctl restart limonatad

# Check Service Status
sudo systemctl status limonatad

# Check Service Logs
sudo journalctl -u limonatad -f --no-hostname -o cat

Backup Validator

caution

cat $HOME/.evmd/config/priv_validator_key.json

Remove node

cd $HOME && sudo systemctl stop limonatad 
sudo systemctl disable limonatad
sudo rm /etc/systemd/system/limonatad .service
sudo systemctl daemon-reload
rm -f $(which limonatad)
rm -rf .evmd