First Transaction
Hands-on guide to executing your first token transfer on the LumiWave network
Prerequisites
lumiwave-protocoldbinary installed- Access to an RPC endpoint (local node or public endpoint)
Step 1: Create a Wallet
lumiwave-protocold keys add my-walletSecurely store the mnemonic (seed phrase) that is displayed.
Check your wallet address:
lumiwave-protocold keys show my-wallet -a
# lumi1...Step 2: Check Balance
lumiwave-protocold query bank balances $(lumiwave-protocold keys show my-wallet -a)On the testnet, you can receive test tokens via the Faucet.
Step 3: Send Tokens
lumiwave-protocold tx bank send my-wallet <RECIPIENT_ADDRESS> 1000000ulwp \
--gas-prices 0.025ulwp \
--gas auto \
--gas-adjustment 1.3 \
--chain-id lumiwaveprotocol \
--node tcp://localhost:266571000000ulwp= 1 LWP--gas-prices 0.025ulwp= Minimum gas price--gas auto= Automatic gas estimation--gas-adjustment 1.3= Adds 30% buffer to estimated gas
Step 4: Verify the Transaction
# Query by transaction hash
lumiwave-protocold query tx <TX_HASH>
# Check recipient balance
lumiwave-protocold query bank balances <RECIPIENT_ADDRESS>Practice on a Local Development Chain
To quickly test locally:
# 1. Initialize the node
lumiwave-protocold init localnode --chain-id test-chain
# 2. Create a key
lumiwave-protocold keys add alice --keyring-backend test
# 3. Add genesis account
lumiwave-protocold add-genesis-account $(lumiwave-protocold keys show alice -a --keyring-backend test) 100000000ulwp
# 4. Create gentx
lumiwave-protocold gentx alice 1000000ulwp --chain-id test-chain --keyring-backend test
# 5. Collect gentxs
lumiwave-protocold collect-gentxs
# 6. Start the node
lumiwave-protocold startNext Steps
- Join Mainnet — Run a mainnet full node
- Become a Validator — Register as a validator