Cheatsheets
not
If you have installed from our guide, you do not need to make any changes in the codes below unless stated otherwise.
Service Operations
Checking Logs
journalctl -fu lavad -o cat
Starting Node
systemctl start lavad
Stopping the Node
systemctl stop lavad
Restarting the Node
systemctl restart lavad
Node Sync Status
lavad status 2>&1 | jq .SyncInfo
Node Information
lavad status 2>&1 | jq .NodeInfo
Learning Node ID
lavad tendermint show-node-id
Learning Node IP Address
curl icanhazip.com
Your node peer
echo $(lavad tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.lava/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Wallet Management
Viewing the List of Wallets
lavad keys list
Seeing Wallet Address
lavad keys show $LAVA_WALLET --bech val -a
Importing Wallet
lavad keys add $LAVA_WALLET --recover
Deleting Your Wallet
lavad keys delete $LAVA_WALLET
Checking Wallet Balance
lavad query bank balances $LAVA_WALLET_ADDRESS
Tokens
Transferring from One Wallet to Another
lavad tx bank send $LAVA_WALLET_ADDRESS SENDING_CUZDAN_ADRESI 100000000ulava
Participating in Proposal Voting
lavad tx gov vote 1 yes --from $LAVA_WALLET --chain-id=$LAVA_CHAIN_ID --gas-prices 0.00001ulava --gas-adjustment 1.5 --gas auto -y
Validatore Staking / Delegation
lavad tx staking delegate $LAVA_VALOPER_ADDRESS 100000000ulava --from=$LAVA_WALLET --chain-id=$LAVA_CHAIN_ID --gas-prices 0.00001ulava --gas-adjustment 1.5 --gas auto -y
Unbonding
lavad tx staking unbond $(lavad keys show $LAVA_WALLET --bech val -a) 1000000ulava --from $LAVA_WALLET --chain-id indigo-1 --fees 3000ulava -y
Staking / Redelegate from Current Validator to Other Validator
srcValidatorAddress
: Address of the current staked validator
destValidatorAddress
: Address of the new validator to be staked
lavad tx staking redelegate srcValidatorAddress destValidatorAddress 100000000ulava --from=$LAVA_WALLET --chain-id=$LAVA_CHAIN_ID --gas-prices 0.00001ulava --gas-adjustment 1.5 --gas auto -y