Join Mainnet
Deploy and join a node on the LumiWave mainnet
Prerequisites
- Binary: Download the latest
lumiwave-protocoldbinary from GitHub Releases. - Cosmovisor: Binary manager for automated chain upgrades
Server File Layout
Each node's ~/.lumiwave-protocol/ directory structure:
~/.lumiwave-protocol/
├── config/
│ ├── config.toml # CometBFT config
│ ├── app.toml # App config
│ ├── client.toml # Client config
│ ├── genesis.json # Genesis file
│ ├── node_key.json # P2P identity key
│ └── priv_validator_key.json # Consensus signing key (validator only)
├── data/
│ └── priv_validator_state.json
└── cosmovisor/
└── genesis/
└── bin/
└── lumiwave-protocoldDeployment Steps
Step 1: Download Binary and Set Up Cosmovisor
cd ~
wget https://github.com/LumiWave/lumiwave-protocol/releases/download/<VERSION>/lumiwave-protocold_<VERSION>_Linux_x86_64.tar.gz
tar -xzf lumiwave-protocold_<VERSION>_Linux_x86_64.tar.gz
mkdir -p ~/.lumiwave-protocol/cosmovisor/genesis/bin
mkdir -p ~/.lumiwave-protocol/cosmovisor/upgrades
cp lumiwave-protocold ~/.lumiwave-protocol/cosmovisor/genesis/bin/
chmod +x ~/.lumiwave-protocol/cosmovisor/genesis/bin/lumiwave-protocold
sudo ln -sf ~/.lumiwave-protocol/cosmovisor/genesis/bin/lumiwave-protocold /usr/local/bin/lumiwave-protocoldStep 2: Initialize Node
lumiwave-protocold init <YOUR_MONIKER> --chain-id lumiwaveprotocolStep 3: Place Configuration Files
Copy configuration files appropriate for your node role (Validator, Sentry, or RPC) to ~/.lumiwave-protocol/config/.
config.toml— CometBFT settings (P2P, persistent_peers, etc.)app.toml— App settings (pruning, API, gRPC, etc.)genesis.json— Chain genesis file
Step 4: Start Node
cosmovisor run startNode Configuration Summary
3-Node Setup (Validator + Sentry + RPC)
If you operate all three nodes (Validator, Sentry, RPC) together, the following configuration is recommended.
| Setting | Validator | Sentry | RPC |
|---|---|---|---|
| pex | false | true | true |
| pruning | custom | everything | nothing |
| API | disabled | disabled | enabled (0.0.0.0) |
| gRPC | localhost | localhost (Hermes) | enabled (0.0.0.0) |
| RPC | localhost | localhost | 0.0.0.0 |
| Indexer | null | null | kv |
- Validator's
pex = falseprevents peer discovery and connects only to Sentry. - Sentry's
private_peer_idssetting hides the Validator's node ID from external peers.
Single Validator Setup
If you run only one validator without Sentry or RPC nodes, use the following configuration.
| Setting | Single Validator | Notes |
|---|---|---|
| pex | true | Must discover peers directly without Sentry |
| pruning | default or custom | Use custom (keep-recent=100) to save disk if API queries are not needed |
| API | localhost | Use 0.0.0.0 + firewall if serving externally |
| gRPC | localhost | Required for IBC relayer; can be disabled otherwise |
| RPC | localhost | localhost required for CLI usage; firewall required if exposed externally |
| Indexer | kv or null | Use kv for transaction queries, null to save disk |
- You must manually add trusted nodes to
persistent_peersorseeds. private_peer_idsis not needed (no backend node to hide).- Your validator IP is directly exposed to the network — pay extra attention to firewall configuration.
A single-node setup is simpler but exposes the validator IP directly, increasing DDoS risk. For production environments, running at least one Sentry node in front is strongly recommended.
Security Notes
priv_validator_key.jsonis the consensus signing key. It must exist only on the Validator node.- Genesis wallet mnemonic must be backed up securely and stored offline.