Skip to content

Repository files navigation

zenon-post-quantum

Post-Quantum Cryptography Architecture, Industry Survey (Bitcoin, Solana, Algorand, Sui/Aptos), and Protocol Specification for the Zenon Network of Momentum (NoM).

Built with Docusaurus 3.10 using the Syrius (syrius.zenon.foo) design language, and structured natively for both human engineers and AI coding agents (llms.txt / llms-full.txt).

LLM & Coding Agent Ingestion

Highlights

  • Algorithm-Agile 3-Tier Signature Stack (AccountBlock v2):
    • 0x01 ML-DSA-44 (NIST FIPS 204): Primary default for user accounts and Pillar Momentum producers—natively supported in Go 1.26's standard library (crypto/mldsa) with deterministic 32-byte BIP-39/SLIP-0010 seeds and zero CGo dependencies.
    • 0x02 FN-DSA-512 / Falcon-512 (NIST FIPS 206): Compact (666 B signature) high-throughput option with pure-integer NTT verification (mod 12289), ideal for high-frequency accounts and 21-of-30 Narwhal & Tusk BFT quorum certificates (~14 KB).
    • 0x03 SLH-DSA-SHAKE-128s (NIST FIPS 205): Stateless hash-only fallback built purely on Keccak/SHAKE256 (zero lattice assumptions) for SporkAddress, BridgeAdministrator, and cold vaults.
  • Dual-Ledger Structural Optimizations:
    • Zero-Hash-Break Witness Separation: AccountBlock.ComputeHash() (306 B) and Momentum.ComputeHash() (160/176 B) already exclude PublicKey and Signature.
    • Sequential Account-Chain Public-Key Caching: Persisting PQ public keys once at Height = 1 (or AuthRegistry) cuts steady-state witness bytes by 35% (ML-DSA-44) to 57% (FN-DSA-512).
    • In-Place Key Rotation (AuthRegistry) & 0x02 Address Class: Preserves the 20-byte types.Address ABI across all 12 embedded contracts while allowing locked Stake, Pillar, and Sentinel addresses to rotate off Ed25519 in place.
    • Dynamic Plasma Witness Pricing: Closes the unpriced-witness DoS vector in GetBasePlasmaForAccountBlock.
    • STARK-Based Ed25519-PoKoS Seed Rescue: Enables dormant BIP-39 wallet holders to migrate safely even after CRQCs break Ed25519 without exposing their public key or scalar.

Local Development

npm ci
npm run start

Static Production Build & Typecheck

npm run typecheck
npm run build

License

MIT

Releases

Packages

Contributors

Languages