mirror of
https://github.com/lux-apps/papers.git
synced 2026-10-30 18:15:21 +00:00
Companion LaTeX papers to luxfi/LPs: - lp-200-zap-stack: full ZAP-as-substrate paper (10-layer model, deco- mplected concerns, performance). - lp-200-lux-vs-avalanche-diff: code-translation appendix. - lp-203-gpu-native-verify, lp-205-pipelined-quasar, lp-208-dag-mempool, lp-209-mysticeti-ordering, lp-210-block-stm, lp-211-cross-shard-atomic, lp-217-cert-profile-modes, lp-218-zap-p3q-pq-rollup, lp-220-p3q-corona-magnetar, lp-221-stark-fri-verifier, lp-300-schema-registry. Pitch / outreach decks (luxcover.sty templated): - blackrock-nahmii-pitch, corporate-dao-stack-analysis, nahmii-patent-acquisition, pq-patent-family-future-infringers, lux-substrate-platform-pitch, w3a-foundation-membership, multi-validator-scale, vfs-archive-cost-study. Edits aligning to LP-217 / LP-200: - lp-020-quasar-consensus 02-system-model + 08-performance. - lp-073-pulsar 11-quasar. - lp-103-omnichain-explorer 03-chain-support. - lp-104-graph-engine. - lp-201-zap-universal-wire/wire-inventory.csv. - lp-306-lx-social-dex sections/02. - lux-adoption-roadmap, lux-chain-architecture, lux-consensus-engines/08-composition, lux-crypto-agility, lux-evm-precompile-engineering/02, lux-fhe-smart-contracts/05, lux-quasar-composition/04+06+10, lux-reproducible-builds. - INDEX.md cross-links the new papers.
6.6 KiB
6.6 KiB
| 1 | package | origin | divergence_pct | loc_lux | loc_upstream | gpu_kernels | notes |
|---|---|---|---|---|---|---|---|
| 2 | node | fork_diverged | ~54 | 288224 | 623940 | no | wc -l on *.go non-vendor; vms/avm + saevm + nftfx + propertyfx replaced by xvm + dexvm + mldsafx + thresholdvm + chainadapter + da; snow/ extracted into consensus/ repo; zap_native/ subtree 12432 LOC Lux-original |
| 3 | consensus | extracted_rewritten | ~100 | 98844 | 52159 | yes | upstream had snow/{snowball/snowman/snowstorm/avalanche/}; Lux replaces with quasar/wave/horizon/nova/photon/prism/flare/focus/nebula/ray/field/chain; GPU batch pipeline benchmarks present; BENCHMARKS.md committed |
| 4 | pulsar | lux_original | 100 | 21480 | 0 | partial | Lux post-quantum threshold signing on FIPS 204 ML-DSA-65; NIST MPTC submission; Jasmin formal track |
| 5 | corona | lux_original | 100 | 24810 | partial | partial | Lux PQ DKG2 + reshare; corona round-signer integrates with pulsar/magnetar; gpu/ subdir |
| 6 | magnetar | lux_original | 100 | 10284 | 0 | no | Lux threshold SLH-DSA (FIPS 205) THBS-SE; v1.1 strict-atom -51% vs circl baseline at SHAKE-192s; v1.2 dealerless PVSS-DKG; EasyCrypt N5 proofs |
| 7 | quasar | lux_original_meta | 100 | 0 | 0 | no | spec-only package — SPEC.md / PROFILES.md / PRIMITIVES.md / proofs/*.tex; composes pulsar+corona+magnetar+polaris |
| 8 | p3q | lux_original | 100 | 0 | 0 | no | Rust crate (5555 LOC); precompile for hybrid post-quantum verification (0x012205 slot) |
| 9 | age | lux_original | 100 | 10777 | 0 | no | Lux PQ-extended age encryption; X-Wing KEM-based pq_selector.go |
| 10 | zap | lux_original | 100 | 24452 | 0 | no | zero-copy wire protocol; replaces linearcodec; 156M ops/sec decode 6.4 ns/op with zero allocations |
| 11 | zapdb | lux_original | 100 | 38799 | 0 | no | Lux key-value store (Badger fork foundation 2017; substantially rewritten); native ZAP integration |
| 12 | crypto | fork_to_diverged | ~80 | 65855 | 0 | partial | BLS12-381 + ML-DSA + SLH-DSA + secp256k1; replaces upstream avalanchego/utils/crypto |
| 13 | lattice | lux_original | 100 | 56939 | 0 | no | Ring-LWE / Module-LWE / CKKS / BFV / BGV; vendored as luxfi/lattice/v7 |
| 14 | precompile | lux_original | 100 | 79251 | 0 | partial | 47 primitive families with 99 addressable slots across C-Chain / Q-Chain / multi-chain slots: ML-DSA / SLH-DSA / ML-KEM / Pulsar / Quasar / FROST / CGGMP21 / FHE / HQC / KZG4844 / Poseidon / Pasta / Pedersen / VRF / X25519 / Curve25519 / BabyJubJub / BLS12-381 / Ring / ZK / Blake3 / Solidity-bindings |
| 15 | evm | fork_diverged | ~70 | 141334 | ~250000 | no | EVM execution layer; tx pool / state / sync from luxfi/geth fork; precompile registry is Lux-original |
| 16 | evmgpu | lux_original | 100 | 142998 | 0 | yes | GPU-accelerated EVM execution; Metal/CUDA kernels; 20.9 Ggas/s C++ path vs 4.2-5.4 Ggas/s Go path |
| 17 | vm | fork_diverged | ~60 | 29906 | 0 | no | VM SDK interface; lattice-fhe/snow/utxo/manager all Lux-shaped |
| 18 | fhe | lux_original | 100 | 16125 | 0 | no | Go bindings + runtime for luxcpp/fhe (CKKS/BFV/BGV); FHE-MPC hybrid |
| 19 | kms (lux/kms) | lux_original | 100 | 12593 | 0 | no | Backend Go LOC; consensus-native ML-DSA-65 envelope auth; mnemonic-derived service identity |
| 20 | kms (hanzo/kms) | lux_original | 100 | 38982 | 0 | no | Hanzo-branded KMS consumer fork; same envelope auth and consensus authorizer; canonical install |
| 21 | keys | lux_original | 100 | 3717 | 0 | no | Service identity (SLIP-0044 coin-type 9000 inherited); BIP-44 derivation tree |
| 22 | threshold | lux_original | 100 | 75406 | 0 | partial | Threshold cryptography orchestration; pulsar/magnetar/cggmp21/frost |
| 23 | mpc | lux_original | 100 | 80110 | 0 | no | CGGMP21 + FROST threshold signing; WebAuthn integration |
| 24 | warp | fork_diverged | ~50 | 2999 | ~15000 | no | Lux warp messaging precompile + signer; extends Avalanche Warp Messaging with PQ envelopes |
| 25 | platformvm | fork_diverged | ~60 | ~80000 | ~120000 | no | P-chain; zap_native/ subtree (12432 LOC) is Lux-original ZAP wire encoding; rest derives from upstream |
| 26 | warp-relayer | fork_diverged | ~50 | ~5000 | ~10000 | no | Lux warp message relayer; PQ envelope dispatch |
| 27 | ids | fork_diverged | ~30 | 12569 | ~7000 | no | ID type wrapper; BTC-style hash-of-hash NodeID added (HIP-0077) |
| 28 | utxo | lux_original | 100 | 16098 | 0 | no | UTXO-fx plugins: mldsafx + slhdsafx + ed25519fx + secp256r1fx + secp256k1fx (LRU verify cache) |
| 29 | bft | lux_original | 100 | 12819 | 0 | no | BFT engine bindings |
| 30 | sdk | lux_original | 100 | 51920 | 0 | no | Go SDK; surface for chain RPC and wallet |
| 31 | bridge | lux_original | 100 | 55127 | 0 | no | Cross-chain bridge orchestration (Lux side); bridge-destination AVAX/avax labels preserved when delivering wrapped assets onto upstream Avalanche C/X — only context where AVAX is correct in Lux user surfaces |
| 32 | codec | lux_original | 100 | 2667 | 0 | no | Codec adapters and ZAP integration shims |
| 33 | explorer | lux_original | 100 | 2827 | 0 | no | Block explorer service |
| 34 | cli | lux_original | 100 | 110023 | 0 | no | lux binary CLI (replaces avalanche-cli); wallet/genesis/netrunner integration |
| 35 | netrunner | fork_diverged | ~50 | 36654 | 0 | no | Network test harness (avalanche-network-runner replacement) |
| 36 | geth | fork_pinned | ~5 | 371717 | ~525000 | no | Lux fork of go-ethereum pinned at v1.16.x; minimal Lux delta |
| 37 | coreth | fork_pinned | ~5 | 144122 | ~200000 | no | Vestigial coreth fork; compatibility shim only |
| 38 | luxcpp/cevm | lux_original | 100 | 669382 | 0 | yes | C++ EVM execution (evmone++ fork extensively rewritten with Lux state) |
| 39 | luxcpp/cuda | lux_original | 100 | 85773 | 0 | yes | CUDA kernels: ECDSA recovery / BLS / hashes |
| 40 | luxcpp/metal | lux_original | 100 | 118494 | 0 | yes | Apple Metal kernels: BLS / hashes / EVM opcodes |
| 41 | luxcpp/gpu | lux_original | 100 | 245154 | 0 | yes | GPU primitives abstraction layer (Metal/CUDA/WebGPU backends) |
| 42 | luxcpp/webgpu | lux_original | 100 | 138138 | 0 | yes | WebGPU backend; browser-side GPU EVM and crypto |
| 43 | luxcpp/fhe | lux_original | 100 | 663693 | 0 | partial | Native FHE engine; CKKS/BFV/BGV with NTT SIMD; AVX-512 / NEON / GPU |
| 44 | luxcpp/lattice | lux_original | 100 | 6519 | 0 | no | Native lattice crypto primitives |
| 45 | luxcpp/crypto | lux_original | 100 | 133926 | 0 | partial | Native crypto primitives: BLS12-381 / ML-DSA / SLH-DSA / KECCAK / SHAKE |
| 46 | luxcpp/pqclean | vendored_pqclean | 0 | 348846 | 348846 | no | PQClean reference implementations vendored for FIPS conformance testing |
| 47 | luxcpp/intx | vendored_intx | 0 | 6185 | 6185 | no | 256-bit integer arithmetic library (header-only) |
| 48 | luxcpp/evmc | vendored_evmc | 0 | 9456 | 9456 | no | EVM-C ABI vendored from ethereum/evmc |
| 49 | luxcpp/evmmax | lux_original | 100 | 37066 | 0 | partial | EVM-MAX modular arithmetic precompiles |
| 50 | luxcpp/xvm | lux_original | 100 | 22307 | 0 | partial | X-chain native VM (Lux DAG) |
| 51 | luxcpp/zap-cpp-core | lux_original | 100 | 88589 | 0 | no | C++ port of ZAP wire encoder |
| 52 | luxcpp/zapdb | lux_original | 100 | 3877 | 0 | no | C++ ZapDB wrapper |
| 53 | luxcpp/aivm | lux_original | 100 | 17436 | 0 | yes | AI Virtual Machine; model inference precompiles |
| 54 | luxcpp/bridgevm | lux_original | 100 | 21455 | 0 | no | Cross-chain bridge VM |
| 55 | luxcpp/mpcvm | lux_original | 100 | 16540 | 0 | no | MPC threshold VM |
| 56 | luxcpp/platformvm | fork_diverged | ~70 | 19494 | 0 | no | P-chain port to C++ |
| 57 | luxcpp/session | lux_original | 100 | 20214 | 0 | no | QUIC-based session layer |
| 58 | luxcpp/accel | lux_original | 100 | 2856 | 0 | no | Backend selection / dispatch |
| 59 | luxcpp/dex | lux_original | 100 | 33068 | 0 | no | DEX matching engine |
| 60 | luxcpp/consensus | lux_original | 100 | 5642 | 0 | no | C++ consensus client bindings |