Privacy Pools – Smart Contract Protocol for Compliance-Friendly Privacy

Fits with patterns (names only)

  • Pattern: Private ISO 20022 Messaging & Settlement
  • Pattern: ZK Shielded Balances for Derivatives
  • Pattern: Shielded-Pool Atomic Swap (ZK-HTLC)
  • Pattern: Regulatory Disclosure Keys & Proofs

Not a substitute for

  • Not a full rollup or scalability solution (operates as an L1 smart contract).
  • Not an identity system (needs external KYC/credential providers for association sets).
  • Not a universal compliance layer (policies depend on set construction).

Architecture

  • Execution model: Similar to Tornado Cash (commitments + nullifiers in a Merkle tree).
  • Association sets: Subsets of deposits defined by a root R_A; users prove membership of their deposit in both the global tree and the association set.
  • Proof system: zkSNARKs (Groth16).
  • Association Set Providers (ASPs): Off-chain or on-chain entities that define and publish sets (e.g. “exclude OFAC-sanctioned deposits”, “only KYC’d deposits”).
  • Data availability: commitments and proofs recorded on-chain; full sets can be stored off-chain or on IPFS.

Privacy domains

  • Membership proofs: “My withdrawal came from one of these known-good deposits.”
  • Exclusion proofs: “My withdrawal did not come from these known-bad deposits.”
  • Bilateral direct proofs: User can still reveal the exact link to a counterparty if required.
  • Sequential proofs: Coins can pass through multiple hands, with re-proofing at each step.

Enterprise demand and use cases

  • Regulated exchanges / custodians: accept deposits if proven not linked to sanctioned addresses.
  • Institutions: segregate “clean” funds from illicit ones without sacrificing user privacy.
  • Policy pilots: cited in academic and policy contexts (Vitalik Buterin, Fabian Schär, Ameen Soleimani et al., 2023 SSRN paper) as a way to align privacy with AML compliance.

Technical details

  • Proof circuit: double Merkle-branch check (global root + association set root).
  • Association set construction can follow rules:
    • Inclusion-based: only low-risk deposits included.
    • Exclusion-based: all except high-risk deposits.
    • Hybrid: KYC tokens, proof-of-personhood, AI-based scoring, etc.
  • Users retain the option to re-prove against updated sets or to disclose directly to a counterparty.

Strengths

  • Provides a separating equilibrium: honest users can prove compliance, dishonest cannot.
  • Flexible: different jurisdictions can define different association sets.
  • Voluntary proofs: no mandatory global allowlisting or centralized backdoors.

Risks and open questions

  • Privacy depends on set size and accuracy: small or poorly curated sets reduce anonymity.
  • Requires trust in Association Set Providers (risk of manipulation or censorship).
  • No native cross-chain support.
  • Not yet deployed at large scale; governance of set definitions is unresolved.

Links