Mesh Identity, Gossip, and Payments
Every attached device, endpoint, container, validator, and light client derives its keypair from one HD mnemonic and signs with ML-DSA-65; the handshake carries the pubkey and a fresh signature over a server nonce, gossip rides the consensus mesh, and payments settle as signed promise/receipt pairs
Abstract
Every Lux-attached device, endpoint, container, validator, and light client
derives its keypair from one HD mnemonic. The signing key is ML-DSA-65
(FIPS 204) — the same primitive Lux consensus already uses for per-validator
identity (luxfi/crypto/mldsa, luxfi/pulsar/sign), so there is exactly one
signature implementation in the tree.
The mDNS TXT record carries the 20-byte ML-DSA address. The ZAP handshake
(luxfi/consensus protocol/zap) carries the full public key plus a fresh
signature over a server-supplied nonce. Cross-LAN propagation rides the
consensus mesh under the strict post-quantum profile. Payments settle as
ML-DSA-signed promise/receipt pairs.
The locked profile
ProfileID: 0x01 (ProfileLuxStrictPQ)
ProfileName: LUX_STRICT_PQ
HashSuiteID: SHA3_NIST (0x01)
IdentitySchemeID: ML_DSA_65 (0x42)
FinalitySchemeID: PULSAR_M_65 (0x52)
HighValueSchemeID: PULSAR_M_87 (0x53)
ProofPolicyID: STARK_FRI_SHA3_PQ (0x10)
AllowedBackends: SP1_COMPRESSED_STARK, RISC0_SUCCINCT_STARK,
P3Q_PLONKY3_STARK_FRI, STONE_CAIRO_STARK_CPP,
STWO_CIRCLE_STARK
MinSoundnessBits: 128
MinHashOutputBits: 384
RequireTransparent: true
ForbidPairings: true
ForbidKZG: true
ForbidTrustedSetup: true
ForbidClassicalSNARKs: true
ForbidDevProofs: true
ForbidFallbacks: true
Source of truth: luxfi/consensus/config.LuxStrictPQProfile; resolve at
runtime via config.ProfileByID(config.ProfileLuxStrictPQ). The profile hash
is pinned at genesis and bound into every Q-Chain certificate
(LP-4015).
Bindings
- Key derivation.
m / 44' / 9000' / nid' / 0 / nfor the ML-DSA identity,m / 44' / 9000' / nid' / 1 / nfor the account. SLIP-44 9000 is Lux.nid'is1' / 96369'for the mainnet primary network; sovereign networks pin their own. - Auto-funding. The first 200 device indices derived from
LIGHT_MNEMONICare pre-funded byluxfi/genesis --auto-fundon development networks (nid >= 1337) only. The primary network MUST NOT pre-allocate from any public mnemonic. - Gossip namespace.
lux/mesh/v1/<nid>/<org>, published over the consensus subscription channel (wavedeltas under thefielddriver). Records expire in at most 5 minutes. - Packages. Runtime bindings live at
luxfi/zap-identity,luxfi/zap-gossip, andluxfi/zap-pay. The ML-DSA-65 primitive is reused fromluxfi/crypto/mldsa.
Compliance
A node MUST refuse ZAP handshakes from peers whose advertised profile is not
ProfileLuxStrictPQ or a strict superset, and MUST refuse mesh gossip records
whose proof_system_id maps to a forbidden marker —
0x80 GROTH16_BN254_FORBIDDEN_IN_PQ or 0x81 KZG_FORBIDDEN_IN_PQ.
Rationale
One mnemonic per operator, one derivation path per role, one signature primitive. A device that can be discovered can be authenticated, because the mDNS record and the handshake commit to the same key: the record carries the address, the handshake carries the preimage plus a signature over a nonce the server chose. There is no window in which a discovered peer is trusted before it has proven the key.
The forbidden markers are on the wire rather than implicit so that a misconfigured operator is named at handshake time instead of silently degrading the mesh to a classical scheme.
References
- LP-7110 — service identity through OIDC client credentials.
- LP-4400 — ML-DSA.
- LP-8030 / LP-4015 — the identity rollup and finality log under the same profile.
luxfi/consensus/config/profiles.go— the locked profile.
Copyright
Copyright and related rights waived via CC0.