LUX
All Chains
C

C-Chain (Contract)

Core ChainLinear Consensus

Full EVM-compatible smart contract platform. Deploy Solidity, Vyper, or any EVM bytecode. Dynamic gas pricing (LP-176) and native precompiles.

Overview

The Contract Chain is a full EVM-compatible blockchain that runs all Ethereum tooling out of the box — Hardhat, Foundry, Remix, Ethers.js, Wagmi, and Viem all work without modification.

What sets C-Chain apart from other EVM chains is its native precompiles: DEX operations, threshold signatures, and ZK verification are available at the EVM level for maximum gas efficiency. The dynamic gas pricing model (LP-176) adjusts fees based on network load, preventing fee spikes during congestion.

C-Chain benefits from the same Quasar consensus that powers the rest of Lux Network, delivering sub-second finality with deterministic confirmation. No more waiting 12+ seconds for a block.

Technical Specifications

ConsensusQuasar (Linear)
VMEVM (geth fork)
Block Time~2 seconds
FinalitySub-second
Gas ModelDynamic (LP-176)
Chain ID96369

Key Features

  • Full EVM equivalence (Solidity, Vyper, Yul)
  • Native DEX precompiles
  • Threshold signature precompiles
  • ZK verification precompiles
  • Dynamic gas pricing (LP-176)
  • Sub-second finality

SDK Example

Quick start using the Lux JavaScript SDK.

c-chain-example.ts
import { createWalletClient, http } from 'viem'
import { luxCChain } from 'viem/chains'

const client = createWalletClient({
  chain: luxCChain,
  transport: http('https://rpc.lux.network'),
})

// Deploy a contract
const hash = await client.deployContract({
  abi: myContractABI,
  bytecode: myContractBytecode,
  args: [/* constructor args */],
})