Lux Chain Topology — P X C D Q Z A B M F
Canonical taxonomy of the ten Lux chains, the role each one owns, and how each plugs into the Quasar cert pipeline and GPU service map
Normative topology + fee model: LP-5210. LP-5210 is the authority for the UTXO ownership rule (only P and X hold canonical asset supply) and the cross-chain fee model. LP-1340 is the authority for the roster itself: which chains exist, what role each one owns, and how each binds into the Quasar cert pipeline.
Abstract
This LP fixes the canonical set of Lux chains at ten and specifies how each plugs into the Quasar cert pipeline and the GPU service map.
Each chain owns exactly one role. No chain owns two. No role has two owning chains. Composability comes from the cert pipeline, not from chain merging.
The Ten Chains
| Chain | VM | Role | Mode | GPU service path | LP |
|---|---|---|---|---|---|
| P-Chain | PVM | Platform — staking, validators, epoch, slashing | Nova (linear) | precompile (read-only roots in pchain_validator_root) | LP-1000, LP-7320 |
| X-Chain | XVM | UTXO — assets, swaps, native txs | Nova (linear) | precompile | LP-1100 |
| C-Chain | EVM (cevm) | Contract — general smart contracts | Nova (linear) | drain_exec (EVM fiber VM) | LP-1200, LP-5607 |
| D-Chain | DVM (dexvm) | DEX — CLOB matching, receipt settlement | Nova (linear) | drain_exec | LP-9000, LP-9999 |
| Q-Chain | QVM | Quasar — 2-round threshold ceremony for PQ consensus signing | Nova or Nebula | drain_cert_lane (Pulsar verifier) | LP-4000, LP-4005, LP-4015 |
| Z-Chain | ZVM | Zero-knowledge — proof aggregation, shielded pool, identity rollup | Nova | drain_cert_lane (proof verifier) | LP-8000, LP-8010, LP-8020 |
| A-Chain | AIVM | Attestation — TEE quotes, audit, identity, AI provenance | Nova or Nebula | drain_attest | LP-5000, LP-5010 |
| B-Chain | BVM | Bridge — native cross-chain messaging + teleport (bridgevm) | Nova (mostly) / Nebula (high-fanout) | drain_bridge | LP-6000 |
| M-Chain | MVM | MPC ceremonies — bridge custody for external wallets | Nebula (DAG of partials) | drain_cert_lane (M-Chain verifier) | LP-7100 |
| F-Chain | FVM | FHE — bootstrap-key generation, encrypted EVM, key-share ceremonies | Nebula (computation graph) | drain_fhe | LP-8200, LP-4650 |
Why ten
Each chain fills exactly one of these roles:
| Role | Chain |
|---|---|
| validator/stake authority | P |
| native asset ledger | X |
| general execution | C |
| order matching + settlement | D |
| consensus-threshold-key authority | Q |
| proof-rollup authority | Z |
| attestation/audit authority | A |
| bridge/messaging authority | B |
| MPC ceremony authority | M |
| FHE compute authority | F |
Composability comes from the cert pipeline, not from chain merging.
Cert pipeline
Every QuasarRoundDescriptor binds the upstream-chain commitments at round
time:
struct QuasarRoundDescriptor {
// ... existing fields ...
QuasarMode mode;
uint8_t pchain_validator_root[32]; // P-Chain
uint8_t qchain_ceremony_root[32]; // Q-Chain
uint8_t zchain_vk_root[32]; // Z-Chain
uint8_t achain_attestation_root[32]; // A-Chain
uint8_t bchain_bridge_root[32]; // B-Chain
uint8_t mchain_ceremony_root[32]; // M-Chain
uint8_t fchain_fhe_root[32]; // F-Chain
uint8_t certificate_subject[32]; // host-precomputed digest
// ...
};
certificate_subject binds all seven roots (P, Q, Z, A, B, M, F) plus
parent block / state / execution roots. Cross-chain replay across any
chain pair becomes structurally impossible — a cert artifact for one round
cannot satisfy another even if they share a block hash, because the upstream
root sets differ by construction.
QuasarCertLane registry
enum class QuasarCertLane : uint8_t {
BLS = 0, // classical fast path (network-wide, BLS12-381)
Pulsar = 1, // Q-Chain Pulsar (Module-LWE) 2-round PQ consensus threshold
MLDSAGroth16 = 2, // Z-Chain rollup of N×ML-DSA-65 sigs into one proof
AChainAttest = 3, // A-Chain TEE / audit attestation
BChainBridge = 4, // B-Chain bridge message commitment
MChainCGGMP21 = 5, // M-Chain CGGMP21 ECDSA-threshold share (bridge custody)
MChainFROST = 6, // M-Chain FROST Schnorr-threshold share (bridge custody)
MChainPulsarGen = 7, // M-Chain Pulsar-general PQ-threshold share (bridge custody)
FChainTFHE = 8, // F-Chain TFHE compute attestation (encrypted EVM op)
FChainBootstrap = 9, // F-Chain TFHE blind-rotate / bootstrap-key proof
// …open-ended; new primitives append at end
};
Adding a new lane requires:
- Append the enum value (never reorder).
- Implement a verifier in the GPU adapter's
drain_cert_lane. - Register a chain root in
QuasarRoundDescriptor.
The wire ABI stays stable forever via the (artifact_offset, artifact_len)
indirection.
GPU service map
The wave-tick scheduler runs 16 services:
enum class ServiceId : uint32_t {
Ingress = 0,
Decode = 1,
Crypto = 2,
DagReady = 3,
Exec = 4,
Validate = 5,
Repair = 6,
Commit = 7,
StateRequest = 8,
StateResp = 9,
CertLane = 10, // BLS / Pulsar / MLDSAGroth16 / AChain / BChain / MChain / FChain
CertOut = 11,
FheCompute = 12, // F-Chain TFHE compute pipeline (drain_fhe)
AttestEvent = 13, // A-Chain attestation ingress (drain_attest)
BridgeMsg = 14, // B-Chain bridge message ingress (drain_bridge)
MpcRound = 15, // M-Chain ceremony round ingress (drain_mpc)
Count = 16
};
| Service | Drain function | Backed by |
|---|---|---|
FheCompute | drain_fhe | TFHE kernels (LP-4655); runs encrypted EVM ops in lane-local arenas |
AttestEvent | drain_attest | TEE quote + audit-event verifier; emits to A-Chain root |
BridgeMsg | drain_bridge | bridge-payload validation + lane mapping for cross-chain settlement |
MpcRound | drain_mpc | MPC ceremony round drain (per-protocol verifier dispatched by cert_lane) |
All four execute in the same wave-tick kernel as EVM and STM — one GPU process, all primitives in lockstep.
Per-chain detail
P-Chain (Platform)
Sources stake / validator-set roots consumed by every other chain via
pchain_validator_root in the descriptor. Read-only from the cert pipeline's
perspective. Spec: LP-1000.
X-Chain (UTXO)
Native asset ledger; precompile-style settlement. With P, one of the two canonical UTXO state machines (LP-5210).
C-Chain (Contract / EVM)
Executes via drain_exec. Consumes A-/B-/M-/F-Chain roots through
precompiles — a contract calling fhe_decrypt(...) consults
fchain_fhe_root. The as-built precompile map is
LP-1210.
D-Chain (DEX)
Matches orders and signs a fill receipt; the C-Chain side verifies that
certificate inline and settles under Block-STM. D-Chain carried no separate
VM while matching co-lived with C-Chain; dexvm carves it out as its own
state machine.
Q-Chain (Quasar threshold — PQ consensus signing)
Q-Chain runs the Pulsar 2-round threshold ceremony for PQ consensus
signing. Pulsar is Lux's Module-LWE threshold construction (DKG2 plus the
Pulsar-SHA3 hash suite — KMAC over cSHAKE256,
pulsar/hash/sp800_185.go). Production parameters: M=8, N=7, LogN=8 (ring
degree 256), Q=0x1000000004A01 (48-bit NTT-friendly prime), Dbar=48,
Kappa=23 → classical 2^142 / quantum 2^130 security.
Q-Chain emits qchain_ceremony_root per epoch, consumed by the Pulsar/Corona
cert lane (LP-4450).
Q-Chain runs only the consensus-threshold ceremony. General-purpose
Pulsar for application threshold signing on bridge custody lives on M-Chain
(MChainPulsarGen lane).
Z-Chain (zero-knowledge)
Z-Chain rolls N validator ML-DSA-65 signatures into one 192-byte
proof per certificate. The R1CS encodes the ML-DSA-65 verification circuit
(~2^22.5 constraints per verification, amortized to ~2^20 per validator at
n=21 via shared-matrix optimization — see
~/work/lux/proofs/quasar-cert-soundness.tex App. B). Other proof systems
plug in as additional verifying-key commitments under zchain_vk_root
(LP-8020).
Z-Chain's proof substrate is P3Q (LP-4800).
A-Chain (Attestation)
A-Chain is the unified attestation chain:
| Use case | Attestation type |
|---|---|
| TEE-protected workload | SGX/SEV-SNP/TDX quote |
| Compliance audit | compliance-hook audit_event records |
| Identity proof | DID resolution proof (LP-10093) |
| Validator availability | per-epoch availability attestations |
| Hardware fingerprint | TPM EK/AIK quotes for validator keys |
A-Chain commits an attestation_root per round; the GPU adapter's
drain_attest service verifies inbound attestation events and updates the
chain's lane state.
Every Lux chain that needs attestation — TEE workloads on F-Chain, validator hardware proofs on P-Chain, audit hooks in C-Chain contracts — emits to A-Chain and consumes its root.
B-Chain (Bridge)
B-Chain is the native bridge chain — a single bridge authority in place of ad-hoc per-chain bridge logic.
struct BridgeMessage {
uint64_t src_chain_id; // any of: C, X, A, M, F, or external
uint64_t dst_chain_id;
uint8_t payload_hash[32];
uint8_t proof[]; // chain-specific membership proof
};
drain_bridge validates the proof against the source chain's root (read from
QuasarRoundDescriptor), verifies destination eligibility, and emits a
CertLane artifact (the AChainAttest lane confirms the crossing).
Teleport is B-Chain's cross-chain protocol — teleport is what bridgevm
runs, not a separate VM. Canonical bridge / teleport spec:
LP-6000.
M-Chain (MPC ceremonies — bridge custody for external wallets)
M-Chain hosts all MPC ceremonies used for bridge custody of keys that hold funds on external chains (Bitcoin, Ethereum, Solana, non-Lux EVMs). The validator quorum runs the protocol; the resulting threshold signature authorizes the external-chain transaction.
| Ceremony | Curve / scheme | External wallet target | Cert lane | LP |
|---|---|---|---|---|
| CGGMP21 | ECDSA threshold (secp256k1, secp256r1) | Bitcoin, Ethereum, EVMs, Cosmos | MChainCGGMP21 | LP-7100, LP-4720 |
| FROST | Schnorr threshold (Ed25519, Ristretto255) | Solana, Polkadot, Cosmos (Schnorr variants), Bitcoin Taproot | MChainFROST | LP-7100, LP-4710 |
| Pulsar-general | Module-LWE threshold (PQ-safe) | Future PQ-curve external chains, Lux-internal PQ custody | MChainPulsarGen | LP-7100, LP-4450 |
Each ceremony runs as a Nebula round (DAG of partial signatures →
frontier → committed cert). The lane verifier in drain_cert_lane dispatches
by cert_lane to the protocol-specific check.
mchain_ceremony_root commits the active ceremony state per epoch.
Distinction from Q-Chain: Q-Chain runs the consensus threshold (Pulsar 2-round, signs Lux blocks). M-Chain runs application threshold ceremonies (signs external-chain txs for bridge custody). Same cryptographic family, different purpose, different chain.
F-Chain (FHE)
F-Chain hosts TFHE compute and the bootstrap-key generation ceremony. This is the encrypted-EVM substrate.
| Use case | Cert lane / service |
|---|---|
| Encrypted EVM ops over TFHE ciphertexts | FheCompute service + FChainTFHE lane |
| TFHE programmable bootstrap (blind-rotate) | FChainBootstrap lane |
| Bootstrap-key generation ceremony | M-Chain DKG produces shares → F-Chain assembles the bootstrap key into a key arena |
| Confidential token transfers | C-Chain calls an F-Chain precompile |
| Private cross-chain transfer | F-Chain → A-Chain attestation (LP-6400) |
fchain_fhe_root commits TFHE evaluation-key state per epoch. Runtime
specification — ciphertext format, bootstrap-key lifecycle, encrypted EVM
opcode set, gas accounting under TFHE — is
LP-4650 and
LP-8200.
VM identifiers (canonical)
| Chain | VM name | URI | Description |
|---|---|---|---|
| P-Chain | PVM | lux:pvm | Platform VM (validator/stake state) |
| X-Chain | XVM | lux:xvm | UTXO VM (assets, swaps, native txs) |
| C-Chain | EVM | lux:evm | Contract VM (cevm — GPU fiber VM) |
| D-Chain | DVM | lux:dvm | DEX VM (CLOB matching, fill receipts) |
| Q-Chain | QVM | lux:qvm | Quasar threshold-key VM (Pulsar DKG ceremony) |
| Z-Chain | ZVM | lux:zvm | Zero-knowledge VM (proof rollups + VK registry) |
| A-Chain | AIVM | lux:aivm | AI / Attestation VM (TEE quotes, audit, identity, AI provenance, model registry) |
| B-Chain | BVM | lux:bvm | Bridge VM (cross-ecosystem messaging) |
| M-Chain | MVM | lux:mvm | MPC VM (CGGMP21, FROST, Pulsar-general ceremonies) |
| F-Chain | FVM | lux:fvm | FHE VM (TFHE compute, encrypted EVM, confidential tokens) |
Naming notes:
-
EVMis the standard Ethereum Virtual Machine name; C-Chain hosts an EVM, so no rename is needed. Lux's GPU-native fork iscevm, but the public VM identifier staysEVM. -
XVMis the Lux UTXO VM. Lux X-Chain runs XVM. Academic prior art on the metastable consensus family is cited in LP-0110 §References; the operational identifier in Lux is XVM. -
AIVMis the Lux Attestation VM. The "AI" prefix is intentional — A-Chain hosts AI provenance, model registries, agent identity, and TEE attestations. -
M-Chain (
chains/mpcvm) and F-Chain (chains/fhevm) are distinct VMs with orthogonal validators, ceremony cadence, and gas economics.
Operational identifiers, code symbols, chain aliases, and configuration keys MUST use this taxonomy. The Quasar consensus vocabulary — Quasar / Photon / Wave / Focus / Nova / Nebula / Prism / Horizon / Flare / Ray / Field — is specified in LP-0110.
Reference
| Resource | Location |
|---|---|
| Quasar consensus | LP-0110 |
| Chain topology, UTXO ownership, fee model | LP-5210 |
| GPU acceleration framework | LP-5607 |
| FHE GPU kernels | LP-4655 |
| FHE runtime | LP-4650 |
| M-Chain (MPC ceremonies) | LP-7100 |
| F-Chain (FHE) | LP-8200 |
| Pulsar PQ threshold | LP-4450 |
| B-Chain / bridge + teleport | LP-6000 |
| Consensus knowledge base | ~/work/lux/consensus/LLM.md |
| Lux node | ~/work/lux/node |
Copyright
Copyright and related rights waived via CC0.