Useful Lava CLI
Note:
The following commands is what I use for my own Providers. Please make sure to change some variables based on your own configurations.
Add new wallet
lavad keys add walletRecover existing wallet (using seed phrase)
lavad keys add wallet --recoverList all keys
lavad keys listSend tokens
lavad tx bank send <name_wallet> <address> 1000000ulava --fees 5000ulava -yStake/Restake Provider
lavap tx pairing stake-provider LAVA "5000000000ulava" "lava.z4ch.xyz:443,2" 2 lava@valoper1jt9w26mpxxjsk63mvd4m2ynj0af09csl0sjyut --from z4ch2 --provider-moniker z4ch-lava2 --delegate-limit "0ulava" --gas-prices 0.1ulava --gas-adjustment 1.5 --gas auto -yRedelagate tokens
lavad tx staking redelegate [old_val] [new_val] [amount_tokens]ulava --from [wallet] --chain-id lava-testnet-2 --gas-adjustment 1.4 --gas auto --gas-prices 0.0001ulava -yFreeze provider
Unfreeze provider
Check accounts (delegations/frozen)
Check relay payments
This command will scan events with "lava_relay_payment" from 200 blocks then forward. You can set a different number.
This command will scan events wit "lava_relay_paymnet" from current block then forward. You need to manually stop the command to stop the logs.
Check QoS
Get Provider Rewards
Test Provider
Start/Stop/Restart Provider
Start/Stop/Restart Lava Node
Upgrade provider
Alias commands
Wallet Specific
LAVA (lava) commands
Cosmos (gaia) commands
Stargaze (stars) commands
Evmos (evmos) commands
Check LISTEN ports
Check if PORT is open
Replace $PORT with PORT number you want to check
Last updated