LumiWave Protocol

Architecture

Technical architecture and key components of LumiWave Protocol

Overview

LumiWave Protocol is a Layer 1 blockchain built on top of Cosmos SDK, using the CometBFT consensus engine. It was scaffolded with Ignite CLI and features a modular architecture that allows flexible extension of chain functionality. Each module operates independently while interacting with others, providing a wide range of blockchain capabilities from token transfers to governance and cross-chain communication.

Technology Stack

LayerTechnologyRole
ConsensusCometBFTBlock production via BFT consensus algorithm, P2P networking, instant finality
ApplicationCosmos SDKModule-based state machine, transaction routing and processing
Smart ContractsCosmWasmWebAssembly-based smart contract execution environment (Rust support)
Cross-chainIBCToken transfers and data communication between Cosmos ecosystem chains
TokenTokenFactoryModule for creating and managing native tokens without governance

Source Structure

lumiwave-protocol/
├── app/                       # Cosmos SDK app wiring
├── cmd/lumiwave-protocold/    # Node binary entrypoint
├── x/lumiwaveprotocol/        # Custom module
│   └── tokenfactory/          # Native token creation module
├── proto/                     # Protobuf definitions
├── genesis/                   # Genesis files (testnet, mainnet)
└── relayer/hermes/            # IBC relayer configuration

Consensus Mechanism

CometBFT (formerly Tendermint) uses a Byzantine Fault Tolerant (BFT) consensus algorithm. A block is finalized only when more than 2/3 of all validators sign it, guaranteeing instant finality without forks. This means that once a transaction is included in a block, it becomes an irreversible final state immediately.

ParameterValue
Block time~5-6 seconds
Propose timeout3 seconds
Commit timeout5 seconds
FinalityInstant (1 block)

Module Configuration

Core Modules (Cosmos SDK)

  • bank: Transfer of LWP and native tokens, balance queries, and multi-send processing
  • staking: Token delegation, undelegation, redelegation to validators, and reward management
  • gov: On-chain governance proposal creation, voting, and execution for chain parameter changes
  • distribution: Distribution of block production rewards and transaction fees to validators and delegators
  • slashing: Penalties imposed on validators for double signing or downtime violations
  • mint: Inflation adjustment and block reward issuance for network security

Extension Modules

  • CosmWasm: Execution environment for smart contracts written in Rust and compiled to WebAssembly. Sandboxed execution ensures chain stability
  • TokenFactory: Module allowing anyone to create native token denominations and mint, burn, or manage them without governance proposals
  • IBC: Cross-chain protocol supporting token transfers and packet-based data communication with other chains in the Cosmos ecosystem

On this page