CLI Essentials
Guide to essential lumiwave-protocold CLI commands
Key Management
Create a Key
lumiwave-protocold keys add <KEY_NAME>Make sure to back up your mnemonic (seed phrase) securely. It cannot be recovered if lost.
List Keys
lumiwave-protocold keys listShow Key Address
lumiwave-protocold keys show <KEY_NAME> -aRecover Key (from Mnemonic)
lumiwave-protocold keys add <KEY_NAME> --recoverAccount Queries
Check Balance
lumiwave-protocold query bank balances <ADDRESS>Account Info
lumiwave-protocold query account <ADDRESS>Transactions
Send Tokens
lumiwave-protocold tx bank send <FROM_KEY> <TO_ADDRESS> <AMOUNT>ulwp \
--gas-prices 0.025ulwp \
--gas auto \
--gas-adjustment 1.3 \
--chain-id lumiwaveprotocolQuery Transactions
# Query by hash
lumiwave-protocold query tx <TX_HASH>
# Query by events
lumiwave-protocold query txs --events "transfer.sender=<ADDRESS>"Node Info
# Node status
lumiwave-protocold status
# Latest block height
lumiwave-protocold status | jq '.sync_info.latest_block_height'Configuration
# Default client settings
lumiwave-protocold config set client chain-id lumiwaveprotocol
lumiwave-protocold config set client node "tcp://localhost:26657"
lumiwave-protocold config set client keyring-backend fileData Reset
You can reset the node's blockchain data to return it to the genesis state. Use this when you need to re-sync the node from scratch.
# Reset blockchain data (deletes all blocks, state, and transaction data)
lumiwave-protocold comet unsafe-reset-allThis command deletes all block data and state. Configuration files (config.toml, app.toml) and keyring data are preserved, but the node must re-sync from the genesis block. Always verify your data backup before executing this command.
# Specify a custom home directory
lumiwave-protocold comet unsafe-reset-all --home /path/to/.lumiwave-protocoldCommonly Used Flags
| Flag | Description |
|---|---|
--chain-id | Specify chain ID |
--fees | Transaction fee |
--gas | Gas limit (can use auto) |
--gas-adjustment | Gas estimation multiplier |
--node | RPC endpoint |
--keyring-backend | Keyring backend (file, os, test) |
-y | Skip confirmation prompt |
--output json | JSON output |