LumiWave Protocol

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 list

Show Key Address

lumiwave-protocold keys show <KEY_NAME> -a

Recover Key (from Mnemonic)

lumiwave-protocold keys add <KEY_NAME> --recover

Account 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 lumiwaveprotocol

Query 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 file

Data 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-all

This 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-protocold

Commonly Used Flags

FlagDescription
--chain-idSpecify chain ID
--feesTransaction fee
--gasGas limit (can use auto)
--gas-adjustmentGas estimation multiplier
--nodeRPC endpoint
--keyring-backendKeyring backend (file, os, test)
-ySkip confirmation prompt
--output jsonJSON output

On this page