Skip to content

Internal Documentation

Not for Public Release

This section contains internal technical documentation that is not intended for the public website. These pages document design decisions, architecture rationale, and implementation details for the development team.

Roadmap

  • Roadmap - Evolution to general-purpose privacy pool with EBEMT L3 integration

Quick Reference

CategoryDecisionRationale
CurveGrumpkinNative to Barretenberg, single-curve design
SignaturesSchnorr20% fewer constraints than EdDSA
HashPoseidon2SNARK-optimized, Huff = 85% gas savings
Tree3-ary, depth 16Same hash cost as binary, 43M capacity
ProvingUltraHonkNo trusted setup, browser WASM, native recursion
Circuit2-in-2-outUniform fingerprint, supports all operations
Token IDuint160(address)Simple, no registry needed
Key hierarchySPK->NPK, VK separateViewing key never in circuit
ComplianceUKRC k-of-nNo single point of failure
Fee modelRelayer-paid (EMT), user-paid (external)Dogfooding, sustainable
Multi-chainHub & Spoke (Base + ETH/Polygon)Unified anonymity set
Cross-chain msgChainlink CCIPSecurity-first, regulatory credibility
EMT Emitter2-of-3 MPC (Fireblocks)Fast automated signing, no SPOF

Contents

Cryptographic Choices

  • Cryptography - Why Grumpkin, Schnorr, Poseidon2, ternary trees
  • Performance - Why proofs are fast, gas optimization, sync speed

Architecture Decisions

Key & Identity

Token Support

Compliance


Additional Design Specs

See /docs/internal/ in the repository for detailed design documents:

DocumentDescription
MULTI_CHAIN_DESIGN.mdMulti-chain Hub & Spoke architecture
SWAP_DESIGN.mdPrivate swap architecture
EXTERNAL_TOKENS_DESIGN.mdERC-20 token support (full spec)
MICA_EMT_DESIGN.mdMiCA compliance design
COMPLIANCE_SPEC.mdUKRC guardian system
MERCHANT_AGGREGATION.mdBatch withdrawal design
OPTIMISTIC_TX_DESIGN.mdOptimistic UX improvements