Cheat Sheet
Wallet
Add New Wallet Key
latandad keys add wallet
Recover existing key
latandad keys add wallet --recover
List All Keys
latandad keys list
Query Wallet Balance
latandad q bank balances $(latandad keys show wallet -a)
Check sync status
latandad status 2>&1 | jq .sync_info.catching_up
Create Validator
Change your info "your_info"
latandad tx staking create-validator <(cat <<EOF
{
"pubkey": $(latandad comet show-validator),
"amount": "50000000000ultd",
"moniker": "Your_moniker",
"identity": "YOUR_KEYBASE_ID",
"website": "YOUR_WEBSITE_URL",
"security-contact": "YOUR_SECURITY_EMAIL",
"details": "YOUR_DETAILS",
"commission-rate": "0.1",
"commission-max-rate": "0.20",
"commission-max-change-rate": "0.1",
"min-self-delegation": "1"
}
EOF
) \
--from wallet \
--chain-id latanda-testnet-1 \
--gas="auto" \
--gas-adjustment="1.5" \
--fees=5000ultd \
-y
Edit Existing Validator
latandad tx staking edit-validator \
--new-moniker="" \
--identity="" \
--website="" \
--details="" \
--from wallet \
--chain-id latanda-testnet-1 \
--gas="auto" \
--gas-adjustment="1.5" \
--fees=5000ultd \
-y
Delegate Token to your own validator
latandad tx staking delegate $(latandad keys show wallet --bech val -a) 1000000000000000000arai \
--from wallet \
--chain-id latanda-testnet-1 \
--gas="auto" \
--gas-adjustment="1.5" \
--fees=5000ultd \
-y
Withdraw All
latandad tx distribution withdraw-all-rewards --from wallet \
--from wallet \
--chain-id latanda-testnet-1 \
--gas="auto" \
--gas-adjustment="1.5" \
--fees=5000ultd \
-y
Withdraw Rewards with Comission
latandad tx distribution withdraw-rewards $(latandad keys show wallet --bech val -a) \
--from wallet \
--chain-id latanda-testnet-1 \
--gas="auto" \
--gas-adjustment="1.5" \
--fees=5000ultd \
-y
Unjail validator
latandad tx slashing unjail \
--from wallet \
--chain-id latanda-testnet-1 \
--gas="auto" \
--gas-adjustment="1.5" \
--fees=5000ultd \
-y
Vote
latandad tx gov vote 1 yes \
--from wallet \
--chain-id latanda-testnet-1 \
--gas="auto" \
--gas-adjustment="1.5" \
--fees=5000ultd \
-y
Services Management
# Reload Service
sudo systemctl daemon-reload
# Enable Service
sudo systemctl enable latandad
# Disable Service
sudo systemctl disable latandad
# Start Service
sudo systemctl start latandad
# Stop Service
sudo systemctl stop latandad
# Restart Service
sudo systemctl restart latandad
# Check Service Status
sudo systemctl status latandad
# Check Service Logs
sudo journalctl -u latandad -f --no-hostname -o cat
Backup Validator
cat $HOME/.latanda/config/priv_validator_key.json
Remove node
cd $HOME && sudo systemctl stop latandad
sudo systemctl disable latandad
sudo rm /etc/systemd/system/latandad.service
sudo systemctl daemon-reload
rm -f $(which latandad)
rm -rf .latanda
rm -rf latanda