Skip to main content
Version: develop

Specification

Source-of-truth design documents for the Encrypted Balances system. These describe the protocol as it exists today — the on-chain contracts, the ZK circuits, the cryptographic constructions, and the supporting infrastructure.

Foundation

DocumentDescription
ArchitectureSystem overview, privacy layers, component summary
Cryptography ReferenceCurves, hashes, proof system, encryption
Key ManagementEPK identity, spending/signing/viewing keys, linked mode
Discrete-Log SolverRecovering plaintexts from ElGamal ciphertexts

Protocol

DocumentDescription
Encrypted BalancesPublic to encrypted, transfer, encrypted to public, autoEncrypt
Minting and BurningIssuance entry points (public / encrypted mint and burn), roles, circuits
Freeze and SeizeAML enforcement: freeze registry, seizePublic / seizeEncrypted, role model
Sanctions ScreeningChainalysis-compatible oracle integration, public-layer and controller screening
PauseIssuer-wide circuit breaker: global and per-ZKEMT flags, pauser role
Proof of ReservesEncrypted total supply counter for MiCA reporting

Infrastructure

DocumentDescription
RelayerGas sponsorship via ERC-4337, partner authentication, SharedAccount
FaucetTestnet ZKEMT faucet app and gas-sponsored mint route
Card IssuerPayment-operator system: Card Issuer Service operation

Compliance

DocumentDescription
Threshold ComplianceOn-chain components, threshold decryption protocol, revoking workflow