Skip to main content

Command

Wallet:​

Add New Wallet:​

lavad keys add wallet

Restore executing wallet:​

lavad keys add wallet --recover

List All Wallets:​

lavad keys list

Delete wallet:​

lavad keys delete wallet

Check Balance:​

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

Validator:​

Create Validator:​

lavad tx staking create-validator \
--amount 1000000ulava \
--from wallet \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.05 \
--min-self-delegation 1 \
--pubkey $(lavad tendermint show-validator) \
--moniker "Node39-Guide" \
--identity "" \
--website ""
--details "xxxxxxxxxx" \
--security-contact "xxxxxxx"
--chain-id lava-mainnet-1 \
--gas-adjustment 1.4 \
--fees 500ulava \
-y

Edit Validator:​

lavad tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--commission-rate 0.05 \
--from your-wallet \
--chain-id=lava-mainnet-1 \
--gas auto \
--gas-adjustment 1.4 \
--fees 500ulava \
--node=https://lava-rpc.meshrpc.com:443 \
-y

Check sync | False -> done.​

lavad status 2>&1 | jq .SyncInfo.catching_up

Delegate:​

lavad tx staking delegate $(lavad keys show wallet --bech val -a) 1000000ulava \
--from wallet \
--chain-id=lava-mainnet-1 \
--gas-adjustment 1.4 \
--fees 500ulava \
--node=https://lava-rpc.meshrpc.com:443 \
-y

Withdraw rewards and commission:​

lavad tx distribution withdraw-rewards $(lavad keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id=lava-mainnet-1 \
--gas-adjustment 1.4 \
--fees 500ulava \
--node=https://lava-rpc.meshrpc.com:443 \
-y

Unjail:​

lavad tx slashing unjail \
--from wallet \
--chain-id=lava-mainnet-1 \
--gas-adjustment 1.4 \
--fees 500ulava \
--node=https://lava-rpc.meshrpc.com:443 \
-y

Unbond:​

lavad tx staking unbond $(lavad keys show wallet --bech val -a) 1000000ulava \
--from wallet \
--chain-id=lava-mainnet-1 \
--gas-adjustment 1.4 \
--fees 500ulava \
--node=https://lava-rpc.meshrpc.com:443 \
-y

Vote:​

lavad tx gov vote proposal_id yes \
--from wallet \
--chain-id lava-mainnet-1 --gas-adjustment 1.4 \
--fees 500ulava \
-y

System:​

Reload Service:​

sudo systemctl daemon-reload

Enable Service:​

sudo systemctl enable lavad

Disable Service:​

sudo systemctl disable lavad

Start Service:​

sudo systemctl start lavad

Stop Service:​

sudo systemctl stop lavad

Restart Service:​

sudo systemctl restart lavad

Check Service Status:​

sudo systemctl status lavad

Check Service Logs:​

sudo journalctl -u lavad -fo cat