Skip to Content
Whitepaper v18.3 · Chapter 16 / 17

Privacy

← All chapters·Normative EN specification

Expanded specification (planned, not in this repository). An expanded companion (03-expanded-sections-v18_3.md, §15) was planned to cover the complete roadmap with 5 PQ primitives (LBCT, ML-KEM Stealth, PQ-CoinJoin, Shielded Pool, Dandelion++), threat model per adversary class (P-1 to P-5), governance gates with supermajority, and compliance positioning. That companion is not part of this repository and carries no normative authority; this chapter is the authoritative in-repo specification.

The Bond/Aevum ecosystem launches as a transparent ledger. Every pUTXO value, every AEV balance, every transaction sender and recipient are visible to any node. This is a deliberate genesis decision, not an oversight — transparency simplifies the initial security model, facilitates auditing of the monetary policy and FCRC mechanics, and aligns with the regulatory compliance posture of §13.4. The comparative positioning table (§1.4) is explicit: Bond/Aevum offers pUTXO structural unlinkability only at genesis, not the strong anonymity of Monero's RingCT or Zcash's shielded pool.

This section specifies the full Post-Quantum Privacy Roadmap: four independent, governance-activatable privacy primitives that together deliver meaningful, cryptographically sound anonymity without introducing any elliptic curve exposure (Axiom 2). None of these features is live in the genesis protocol (the Shielded Pool contract code may be deployed inactive at genesis, §15.10; Proposed ADR-0021 would defer the whole privacy suite, pending ratification). Each requires a governance vote, a completed security audit, and a designated activation phase. Privacy is opt-in by design — transparent transactions remain the default forever.

Axiom Coverage. The three axioms govern this section with specific tension:

Axiom 1 (Individual Sovereignty): Privacy is an expression of sovereignty. A user's transaction graph reveals financial relationships that coercing states, abusive surveillance partners, and commercial intelligence operations exploit. The protocol provides tools for users to protect this graph.

Axiom 2 (Quantum Threat): Every proposed privacy primitive is post-quantum from construction. No Pedersen commitment (DL-based), no Bulletproof (EC-based), no Groth16 (pairing-based). All commitments use Module-LWE or a post-quantum hash (SHA3-256, or Poseidon2 in-circuit). All proofs use STARK or lattice-based sigma protocols.

Axiom 3 (Anti-Rent-Seeking): Privacy features must not create rent-seeking surfaces — no "privacy fee" flowing to passive holders, no cartelized mixer operators extracting rents from anonymity seekers.


§15.1. Privacy Threat Model

Privacy is a spectrum parameterized by adversary capability. The following classification is used throughout this section:

Class Adversary Capability Example
P-1 — Passive Chain Observer Full access to all public on-chain data. Constructs transaction graph, infers address clusters, tracks amounts Block explorer, passive intelligence collection, OSINT analysis
P-2 — Active Graph Analyst Applies clustering heuristics (common-input-ownership, change address patterns, exchange deposit/withdrawal matching), dust attacks Chain analysis firms (Chainalysis, Elliptic), counterparty intelligence
P-3 — Network Adversary Traffic analysis: correlates transaction broadcasts with source IP/identity, timing correlation, mempool surveillance ISP-level passive collection, active network adversary with monitoring infrastructure
P-4 — Legal/Compliance Access Court-ordered disclosure from custodians, exchanges, or the user themselves. Protocol transparency applies Subpoena to exchange, KYC data compelled from intermediaries
P-5 — Quantum Adversary Retroactive decryption of past transaction metadata using Shor's algorithm against ECDH/ElGamal stealth key exchange schemes Future cryptographically relevant quantum computer attacking Monero's or Ethereum's stealth addresses

Privacy properties at genesis (transparent baseline):

Property Genesis Status Mechanism
Amount confidentiality ❌ Transparent pUTXO value field is plaintext
Sender identity ⚠️ Pseudonymous pUTXO public key is not a legal identity, but graph analysis links addresses
Recipient identity ⚠️ Pseudonymous Same as sender — single-use addresses possible but not enforced
Transaction graph ⚠️ Pseudonymous pUTXO model better than account model (§6.4.1, §15.2), but graph is public
P-5 resistance ✅ Full ML-DSA-65/44 signatures; SHA3-256 hashes — quantum-native

Privacy properties post-roadmap (all features activated):

Property Post-Roadmap Status Mechanism
Amount confidentiality ✅ Against P-1, P-2 LBCT (§15.3) on Bond; Shielded Pool (§15.6) on Aevum
Sender identity ✅ Against P-1, P-2 (PQ-CoinJoin) PQ-CoinJoin (§15.5); Shielded Pool nullifier model
Recipient identity ✅ Against P-1, P-2 ML-KEM Stealth Addresses (§15.4)
Transaction graph ✅ Against P-1, P-2 Combination of LBCT + CoinJoin + Stealth
P-3 resistance ⚠️ Partial Network layer; see §15.7
P-4 resistance ❌ Not addressed Protocol-level privacy does not protect against legal compulsion of user-held keys
P-5 resistance ✅ Full ML-KEM-768 for stealth (replaces Monero's EC-DHKE, which is Shor-vulnerable)

Explicit Privacy Limitations (Non-Goals):

The protocol does not:

  1. Protect against P-4 (legal compulsion). Users who hold their own keys retain sovereignty; they are not protected from jurisdictions that criminalize non-disclosure.
  2. Protect the metadata of fees. Block fees are always visible — miners and validators must receive compensation. Amount confidentiality applies to transfer outputs, not to the fee field.
  3. Prevent timing correlation at the network layer. A determined P-3 adversary who monitors the entire P2P network can correlate transaction broadcast times with source behavior. Tor/I2P integration (§15.7) partially mitigates this.
  4. Protect cross-chain interactions. Entering or exiting the ecosystem via xHTLC or xWrap (§EI) reveals the external chain address, which may be a persistent identity. The quantum seam disclosure applies.

§15.2. Genesis Privacy Baseline: Structural Properties of pUTXOs

The pUTXO model (§6.4) provides a structural privacy baseline superior to the account model without any additional cryptography. This baseline is active at genesis.

Property 1 — No Persistent Balance. In an account model (Ethereum), a single address accumulates balance across many transactions. A chain observer immediately sees the complete financial history of an address. In the pUTXO model, a "balance" is conceptually a collection of independent UTXOs — there is no single object representing "Alice's balance." Each spend consumes specific UTXOs and creates new ones, potentially with different addresses.

Property 2 — Change Address Diversity. A wallet implementing BIP-32-equivalent HD key derivation (with ML-DSA-65) generates a fresh address for every change output. A transaction with 1 input and 2 outputs (payment + change) produces a new, never-before-seen change address. Linking the payment recipient to the change address requires heuristics (P-2 level analysis), not direct graph traversal.

Property 3 — Input Set Non-Determinism. When spending, a wallet may consolidate multiple inputs or select a subset. The choice of which UTXOs to combine as inputs in a transaction is a wallet-level decision with privacy implications:

  • Privacy-maximizing: Use single inputs (avoids common-input-ownership heuristic)
  • Fee-minimizing: Consolidate small inputs (reveals common ownership) The Nexus Mobile Wallet (§10) implements a privacy-aware UTXO selection algorithm that defaults to single-input spends where economically feasible, falling back to multi-input only when the single input is insufficient.

Property 4 — Programmable Custody Obscures Graph. Covenant scripts (OP_COVENANT_DEST, OP_DELAY_BARRIER, OP_DEADMAN) produce transaction patterns that don't map to simple "A paid B" semantics. A chain observer cannot distinguish a Deadman's Switch activation from a routine spend without additional context.

Genesis Privacy Conclusion. The pUTXO baseline provides P-2 partial resistance (heuristics are required) and full P-5 resistance. It does not provide P-1 resistance (amounts are visible), full P-2 resistance (clustering heuristics work with high accuracy against naive wallets), or P-3 resistance (network-layer correlation is independent of chain model). The roadmap features in §§15.3-15.6 address these gaps.


§15.3. Bond RSC: Lattice-Based Confidential Transactions (LBCT)

Confidential Transactions (CT) hide the transferred amount while maintaining the fundamental conservation invariant: the sum of output values cannot exceed the sum of input values. Classical CT implementations (Monero's RingCT, MimbleWimble, Grin) use Pedersen commitments based on elliptic curve discrete logarithm — which Shor's algorithm breaks. LBCT replaces EC commitments with a Module-LWE commitment scheme algebraically consistent with the ML-DSA ring already used by the Bond RSC.

§15.3.1. Module-LWE Commitment Scheme (MLWE-C)

Public Parameters (Protocol-Level, Published at Activation Block).

q=8380417,n=256,Rq=Zq[X]/(Xn+1) (see Appendix 02 for the canonical typeset form of the formulas in this section)

a∈Rqk(random public vector, generated via SHA3-256 seed)

These are the same ring parameters as ML-DSA-65 — no new algebraic infrastructure is required. The vector a is generated as a public constant at activation via a verifiable random function seeded by the activation block header hash. (The single-row MLWE-C(m,r)=aᵀr+m·g scheme uses only a; a second public row b is deliberately not declared, because it is never referenced by the commitment, homomorphism, hiding, or binding arguments below. A two-row BDLOP-style commitment c₁=A₁r, c₂=A₂r+m·g is a possible future upgrade but is out of scope for the genesis LBCT specification.)

Commitment Function.

Because the ML-DSA ring modulus q=8380417≈2^23 is far smaller than the 2^64 amount range, a single MLWE-C instance cannot hold a full 64-bit amount without reducing it modulo q — which would confine value conservation to Zq and enable modular-wraparound inflation (§15.3.2). MLWE-C therefore commits one limb at a time, and an amount is represented as a vector of k=8 base-2^8 limb commitments. For a limb value m∈[0,2^8) and a randomness vector r∈Rqk with small coefficients ∥r∥∞≤βr:

MLWE-C(m,r)=aTr+m⋅gmodq

where g∈Rq is a gadget element — the fixed public unit polynomial g=1+0⋅X+0⋅X^2+…, so m⋅g places the limb value m in the constant coefficient. Each limb commitment is a single ring element (≈256×⌈log2q⌉/8≈736 bytes). This element is not compressible below the ring-element size: by the hiding property, aᵀr is computationally indistinguishable from uniform in Rq, so the commitment coefficients are pseudorandom and carry no exploitable structure to compress (unlike an ML-DSA signature's bounded-norm response, which ML-DSA can pack). A full amount is therefore the k=8-tuple (C0,…,C7) ≈ 8×736 ≈ 5.9 KB. A consensus-enforced transaction I/O cap Nmax=2^10 bounds the number of value-bearing commitments (inputs+outputs+fee) summed in any conservation equation, guaranteeing that any per-limb sum satisfies Nmax⋅2^8=2^18≪q, so no single limb instance ever wraps modulo q.

Security Properties:

  • Computationally Hiding: The distribution of aTrmodq is computationally indistinguishable from uniform in Rq under the Module-LWE assumption with parameter βr. Since v⋅g is a fixed, small perturbation, the commitment reveals nothing about v to a computationally bounded adversary.
  • Computationally Binding: Finding two distinct openings (v,r)=(v′,r′) with the same commitment reduces to solving Module-SIS (Short Integer Solution) — the dual hardness problem of Module-LWE. Binding holds under the Module-SIS assumption with the same ring parameters as ML-DSA.
  • Additive Homomorphism: For two limb commitments C1=MLWE-C(m1,r1) and C2=MLWE-C(m2,r2): C1+C2=aT(r1+r2)+(m1+m2)⋅g=MLWE-C(m1+m2,r1+r2)

This homomorphic property enables the conservation proof, which is enforced independently on each of the k=8 limbs with an explicit carry chain (§15.3.2). Because every per-limb sum stays ≤2^18≪q under the Nmax cap, each limb equation that holds mod q also holds over Z; telescoping the k limb equations through the carry chain proves conservation over the integers, not merely modulo q. The per-limb balance is checked by algebraic identity, while the limbs and carries are range-bound (§15.3.2) to close the wraparound gap.

§15.3.2. Range Proof: Base-2^8 Decomposition with Lattice Bit-Decomposition Argument

The conservation identity alone is insufficient — a cheating prover could commit to a negative value or an astronomically large value that wraps around modulo q. Range proofs constrain each limb to [0,2^8) and each inter-limb carry to [−Nmax,Nmax], and conservation is checked per limb (below), so the full amount is bound to [0,2^64) over the integers.

Decomposition. Decompose v into 8 base-2^8 limbs: v=∑_{j=0..7} vj⋅256^j where each vj∈[0,255]. Each limb is committed in its own MLWE-C instance:

Cj=MLWE-C(vj,rj),j=0,…,7

The limb commitments are never recombined into a single aggregate C=∑_{j=0..7} 256^j⋅Cj: multiplying limb j by 256^j re-expands the value to its full 64-bit magnitude and forces it back into the mod-q message space, re-introducing wraparound inflation. Instead, conservation is verified limb-by-limb with a carry chain. For each limb j the verifier forms the homomorphic net Sj=∑inCin,j−∑outCout,j−Cfee,j; the prover supplies carry commitments Kj (boundary carries fixed to zero, K−1=K7=0) and proves the linear identity Sj+Kj−1=256⋅Kj for every j=0,…,7. Because each limb is range-bound to [0,255], each carry to [−Nmax,Nmax] with Nmax=2^10, and every term therefore stays ≤Nmax⋅2^8=2^18≪q, each per-limb identity holds over Z exactly when it holds mod q. Telescoping the chain gives ∑_{j=0..7} Sj⋅256^j=0, certifying ∑inv=∑outv+fee over the integers rather than modulo q.

Digit Range Proof (bit-decomposition, MatRiCT+ style). The earlier draft's single-round Σ-protocol was withdrawn: its verifier equation aᵀzj=wj+ej·Cj−ej·vj·g takes the secret limb value vj as an input, which would both disclose the amount (defeating hiding) and fail to constrain vj to [0,255]; and its published set {wj,i=MLWE-C(i,yj)}=wj+i·g was deterministically recomputable from wj and therefore hid nothing. It is replaced by a genuine zero-knowledge range argument whose verification reads only public commitments, never vj.

For each limb Cj we prove vj∈[0,255] by binary decomposition. Write vj=∑_{ℓ=0..7} 2^ℓ·bj,ℓ with each bit bj,ℓ∈{0,1}. The prover commits to each bit, Bj,ℓ=MLWE-C(bj,ℓ,sj,ℓ), and proves in zero-knowledge:

  1. Bit validity: each committed bit satisfies the quadratic relation bj,ℓ·(bj,ℓ−1)=0 — enforced by a lattice product argument (the MatRiCT+ Σ-protocol for multiplicative relations over Rq), which forces bj,ℓ∈{0,1} without revealing it.
  2. Linear reconstruction: the bit commitments homomorphically reassemble the limb, Cj=∑_{ℓ=0..7} 2^ℓ·Bj,ℓ (with the randomness rj=∑ℓ 2^ℓ·sj,ℓ), checked as a public linear identity over the commitments.

The eight limbs (64 bits total) are proven in a single aggregated argument across the transaction, exactly as MatRiCT+ aggregates its range proofs. Every verifier check is a norm bound ∥z∥∞≤βz on the masked openings plus the public product/linear relations — no branch ever takes a secret value as input, so the proof leaks nothing about vj (hiding preserved) while soundness of bj,ℓ·(bj,ℓ−1)=0 forces bj,ℓ∈{0,1} and hence vj=∑2ℓbj,ℓ∈[0,255]. The Fiat-Shamir challenge ej=SHA3-256(Cj∥{Bj,ℓ}∥j) makes it non-interactive; abort-and-restart (rejection sampling) gives zero-knowledge. The inter-limb carries κj are range-proven to [−Nmax,Nmax] by the same bit-decomposition machinery (with a sign bit).

Proof size. The size is that of the aggregated MatRiCT+ bit/product argument over 64 bits (+ carry bits), dominated by the masked bit-openings and the product-relation responses — not the earlier per-digit sigma estimate, which was an artifact of the withdrawn construction. (A naïve 1-of-256 OR proof per digit would instead cost ~256 ring elements per limb, i.e. hundreds of KB per output; the bit-decomposition avoids this.) Following the MatRiCT+ benchmarks (Esgin–Zhao–Steinfeld–Liu–Sakzad, IEEE S&P 2021) the aggregated argument is on the order of a few KB per output; the exact size for these ring parameters is re-derived in Appendix 09 (Pending Formal Derivations) and supersedes the withdrawn "~1.5–2 KB per digit" figure.

LBCT Range Proof Soundness. The range proof is computationally sound in the random-oracle model: a dishonest prover who commits to a bit bj,ℓ∉{0,1} (hence a limb vj∉[0,255], or a carry κj∉[−Nmax,Nmax]) cannot satisfy the product relation with a small-norm response without solving Module-SIS, and cannot forge the Fiat-Shamir challenge without a SHA3-256 collision. The soundness error is negligible (exponentially small in the security parameter). Soundness of the range proofs on every bit and carry, together with the mod-q per-limb balance identities, is precisely what upgrades conservation from Zq to Z: with all limbs and carries provably ≤2^18≪q, the carry-chain equations cannot be satisfied by any wraparound (mod-q) assignment, so homomorphic value conservation holds over the integers for up to Nmax=2^10 value-bearing commitments per transaction. This limb-plus-carry balance and the bit/product range argument follow the MatRiCT / MatRiCT+ lattice RingCT construction (Esgin–Steinfeld–Zhao–Liu, CCS 2019; Esgin–Zhao–Steinfeld–Liu–Sakzad, IEEE S&P 2021).

Formal-review pending (ADR-0005 counter-sign). Construction to be proved in Appendix 09 (Pending Formal Derivations).

§15.3.3. LBCT pUTXO Structure

A Confidential pUTXO (cpUTXO) replaces the plaintext value field with a commitment:

Field Standard pUTXO cpUTXO
value 8 bytes (uint64, plaintext) Removed
commitment — ~5.9 KB (k=8 limb commitments × ~736 B each; MLWE-C output is pseudorandom and not compressible, §15.3.1)
range_proof — MatRiCT+ aggregated bit/product argument (§15.3.2); order of a few KB per output, exact size pending Appendix 09 re-derivation
sig_version 2 bytes 2 bytes (extended to include LBCT confidentiality flag: 0x0100 mask — see §15.3.6)
locking_script Variable Variable (unchanged — script operates on commitment, not plaintext value)
blinding_nonce — 32 bytes (encrypted for recipient — see §15.4 integration)
Total overhead 0 ~5.9 KB commitment + aggregated range proof per cpUTXO (precise total pending the Appendix 09 range-proof size)

Fee Field (Always Transparent). The transaction fee is always a plaintext value, never a commitment. This is a deliberate design constraint: miners must be able to compute their reward, and the consensus layer must verify, independently on each of the k=8 limbs (with the inter-limb carry commitments), that the input commitments balance the output commitments, the disclosed fee, and the carries — see §15.3.2. Specifically, the transaction contains:

fee_check (per limb l=0,…,7):i∑Cin,i,l−j∑Cout,j,l−MLWE-C(fee_l,rfee,l)=256⋅Kl−Kl−1

with disclosed per-limb randomness rfee,l and a disclosed fee value (decomposed into limbs fee=∑l fee_l⋅256l), so that each per-limb equation verifies publicly. This is the selective disclosure property: fees are transparent, values are confidential.

Block Space Impact. A 2-in-2-out cpUTXO transaction occupies approximately:

  • 2 × ML-DSA-65 signatures + witnessed public keys: 2 × (3,309 + 1,952) = 10,522 bytes (the 1,952-B ML-DSA-65 pubkey is revealed per input at spend, per CONSTANTS.md §bond.tx_wire_size)
  • 2 × input outpoint references: ~72 bytes (outpoints to existing cpUTXOs; the input commitments they name are already on-chain)
  • 2 × output cpUTXOs: 2 × (~5.9 KB commitment + aggregated range proof) ≈ 2 × ~11–12 KB
  • Conservation proof (per-limb fee check + carries): ~2,000 bytes
  • Total: dominated by the two output cpUTXOs plus witness (~35–40 KB, precise figure pending the Appendix 09 range-proof size) vs. ~5.5 KB for a standard single-sig transaction (CONSTANTS.md §bond.tx_wire_size) At 2 MB blocks every 20 minutes: against the ~363 standard transactions per 2 MB block (CONSTANTS.md §bond.tx_wire_size), a block entirely composed of LBCT transactions accommodates on the order of ~50 LBCT transactions (exact count pending the range-proof size). The Bond RSC is designed for sovereign settlement (large-value, low-frequency), not micropayments — a few dozen LBCT transactions per 20-minute block is architecturally adequate. LBCT transactions pay a mandatory privacy surcharge fee (§15.3.4) to compensate miners for the additional block space consumption and verification cost.

§15.3.4. Fee Structure for LBCT

LBCT transactions pay:

  • Standard base fee: Same as transparent transactions (competitive Free Lane auction, §2.2.3)
  • Privacy surcharge: privacy_surcharge = range_proof_bytes × range_proof_gas_rate where range_proof_gas_rate is a Tier 1 governance parameter calibrated such that the surcharge covers the marginal verification cost of the range proof relative to a standard signature verification. At genesis activation, range_proof_gas_rate = 2 Nob/byte (calibrated to ~28 KNob = 28 BND ≈ $280 at LRP for a standard 2-in-2-out LBCT, ~28× the fee of a standard transparent transaction). Axiom 3 Reconciliation. The privacy surcharge does not create rent-seeking: it flows to miners via the standard block reward mechanism, compensating them for the additional computational work of range proof verification. It is not a protocol-imposed toll flowing to passive holders.

§15.3.5. New Bond RSC Opcodes for LBCT

OpCode Hex Description Tier
OP_COMMITMENT_VERIFY 0xC0 Verifies that a commitment opens correctly: checks MLWE-C(v,r)=C given disclosed (v,r). Used for fee check transparency 0 (immutable)
OP_COMMITMENT_ADD 0xC1 Computes the homomorphic sum of two commitments: C1+C2modq 0
OP_RANGE_PROOF_VERIFY 0xC2 Verifies the aggregated 8-limb MatRiCT+ bit-decomposition range argument (each limb ∈[0,255]; bit validity by product argument, verifier reads public commitments only) together with the carry-chain range bounds (each carry ∈[−Nmax,Nmax]) that enforce per-limb integer conservation (§15.3.2). Consensus nodes run full verification 0
OP_COMMITSCRIPT 0xC3 Script guard that operates on the commitment value rather than the plaintext value. Enables covenant scripts for cpUTXOs 0

All four opcodes are Tier 0 (genesis-immutable once activated) and activated simultaneously via the LBCT governance vote (§15.9).

§15.3.6. LBCT and sig_version Integration

LBCT is not a new signature scheme — it is an extension of the pUTXO structure. The sig_version field is extended to encode both the signature scheme AND the confidentiality mode:

sig_version Signature Scheme Confidentiality
0x0001 ML-DSA-65 Transparent (genesis, amounts visible)
0x0101 ML-DSA-65 LBCT (amounts hidden via MLWE-C)
0x0002 ML-DSA-44 (§6.6.1, verification-only on Bond RSC) Transparent
0x0103 future scheme 0x03 (example) LBCT (future, with upgraded sig)

The sig_version field carries three orthogonal sub-fields (this allocation must be reconciled with the single canonical sig_version registry in §6.6):

  • Low byte (0x00FF mask) — the signature-scheme version (0x01 = ML-DSA-65 genesis; 0x02 = ML-DSA-44, verification-only, per §6.6.1; 0x03+ = future migration schemes).
  • Confidentiality bit (0x0100 mask) — set ⇒ LBCT (amount hidden via MLWE-C); clear ⇒ transparent amount.
  • Stealth bit (0x0200 mask) — set ⇒ the pUTXO is a stealth output (ML-KEM one-time address, §15.4) and the relaxed metadata cap applies; clear ⇒ non-stealth.

Because the stealth flag is a dedicated bit orthogonal to the scheme byte and the confidentiality bit, it no longer collides with the ML-DSA-44 codepoint 0x0002: e.g. 0x0201 = ML-DSA-65 + stealth (transparent amount), 0x0301 = ML-DSA-65 + LBCT + stealth, while 0x0002 remains purely the ML-DSA-44 scheme version. Open item: §6.6.1 reserves 0x0003–0xFFFF as plain scheme ids, so the bitfield values (0x0101, 0x0201, 0x0301, …) fall inside that range; the two allocations are pending reconciliation by maintainer decision. Transparent pUTXOs and cpUTXOs coexist in the same chain. A transaction can mix transparent inputs with confidential outputs and vice versa — provided that transparent inputs/outputs are accounted for directly (their plaintext values satisfy the fee equation) and confidential inputs/outputs satisfy the commitment conservation equation.


§15.4. ML-KEM Stealth Addresses

Stealth addresses allow a sender to pay a recipient without revealing to any on-chain observer which pUTXO (or which UserOperation (UserOp) on Aevum) belongs to the recipient. The recipient is identified only by a stealth meta-address — a pair of public keys from which one-time, unlinkable receiving addresses are derived. Critically, no two payments to the same recipient share any visible on-chain data that would allow linking them together.

Monero implements stealth addresses using ECDH (Curve25519 Diffie-Hellman) — which Shor's algorithm breaks retroactively. ML-KEM stealth replaces ECDH with ML-KEM-768 (NIST FIPS 203, Module-Lattice KEM, Level 3), ensuring that future quantum computers cannot decrypt historical transaction metadata to identify who paid whom.

§15.4.1. Stealth Meta-Address Format

A recipient generates a stealth meta-address (SMA) consisting of two independent key pairs:

Component Key Type Size Purpose
ek_scan ML-KEM-768 encapsulation key 1,184 bytes Used by senders to generate a shared secret
dk_scan ML-KEM-768 decapsulation key 2,400 bytes Never published — held privately for scanning
pk_spend ML-DSA-65 public key 1,952 bytes Spending key commitment — embedded into derived addresses
sk_spend ML-DSA-65 private key 4,032 bytes Never published — used to spend received funds

The SMA is published as: SMA = (ek_scan || pk_spend) (3,136 bytes total). Recipients post this to the P2P Relay or include it in their user profile. The SMA is not an address — it is a persistent, reusable identifier from which one-time addresses are derived.

Separation of scan and spend keys. The scan key (dk_scan) and spend key (sk_spend) are generated and stored independently. This separation enables view-only wallets: a recipient can delegate dk_scan to a trusted monitoring service (or run it on a less-secure device) to scan for incoming payments without granting that service the ability to spend. The sk_spend (required for spending) remains on the Arca hardware wallet.

§15.4.2. One-Time Address Derivation (Sender Side)

For each payment to a recipient with SMA (ek_scan, pk_spend):

Step 1 — ML-KEM Encapsulation:

(ctkem,ss)←ML-KEM-768.Encaps(ek_scan)

where ctkem∈{0,1}1088 is the ciphertext and ss∈{0,1}256 is the shared secret. This operation is performed entirely locally by the sender's wallet — no network interaction, no leakage of the recipient's identity.

Step 2 — One-Time Key Derivation:

keph=SHA3-256(ss∥out_index∥chain_id)

where out_index is the output's index within the transaction (its position in tx.outputs) — a value both sender and scanner can read directly from the transaction, so they always agree on it without any shared side-counter. This lets a single KEM encapsulation fund multiple outputs in one transaction (each output derives a distinct k_eph from its own out_index) with no key reuse. chain_id here is a 3-byte ASCII domain-separation tag (0x424E44 = "BND" for Bond RSC, 0x414556 = "AEV" for Aevum ESC), hashed as exactly 3 bytes, ensuring domain separation between the two chains; it is distinct from the 4-byte external-chain registry of §EI.3.1.

Step 3 — One-Time Address Computation:

Bond RSC (pUTXO model): ML-DSA-65 is not key-homomorphic — there is no tweak, hash, or additive operation that maps the recipient's public key pk_spend to a fresh one-time public key whose matching secret key the recipient can later recover. The one-time keypair is therefore generated on the recipient side from the KEM shared secret combined with the recipient's spend secret; the sender never learns it and never signs on the recipient's behalf. Following the dual-key stealth-address pattern (DKSAP / CryptoNote one-time addresses) instantiated over a KEM, the sender computes only a public stealth tag that commits the payment to the recipient's spend key:

tag_stealth=SHA3-256(pk_spend∥keph)

The one-time signing keypair is deterministically re-derivable only by the holder of sk_spend:

(sk_stealth,pk_stealth)=ML-DSA-65.KeyGen(SHA3-256(sk_spend∥keph))

The pUTXO is locked with <tag_stealth> OP_CHECKSIG_STEALTH. At spend time the recipient reveals pk_stealth, the tweak keph, and an ML-DSA-65 signature under pk_stealth; OP_CHECKSIG_STEALTH verifies the signature and that pk_stealth is the one-time key bound to tag_stealth under the recipient's spend key. Because keph is recoverable only via dk_scan (§15.4.3) and sk_stealth only via sk_spend, no other party — including the sender — can produce a valid spending signature.

Formal-review pending (ADR-0005 counter-sign). Construction to be proved in Appendix 09 (Pending Formal Derivations).

Aevum ESC (Account Abstraction model): The one-time address is a fresh Smart Contract Wallet (SCW) whose counterfactual (CREATE2-style) address is the shared-secret tag:

addr_stealth=SHA3-256(pk_spend∥keph)[0:20]

Both parties compute addr_stealth from public data (pk_spend, keph), but the SCW's authorized signing key is the recipient-derived one-time key pk_stealth=ML-DSA-65.KeyGen(SHA3-256(sk_spend∥keph)).pk, which only the holder of sk_spend can reconstruct. The SCW init code authorizes a withdrawal only when the caller presents pk_stealth with a valid ML-DSA-65 signature whose derivation binds to the SMA's pk_spend; the sender, lacking sk_spend, can fund the SCW but can never authorize a spend from it.

Step 4 — On-Chain KEM Ciphertext Publication:

The sender includes ctkem (1,088 bytes) in the transaction:

  • Bond RSC: Embedded in the transaction's metadata field (extended for LBCT/stealth transactions to accommodate 1,088 bytes; the standard 256-byte cap is relaxed for pUTXOs whose stealth flag (0x0200 mask, §15.3.6) is set).
  • Aevum ESC: Included as a calldata field in the UserOperation's signature extra bytes, or as a dedicated field in the new StealthPaymentUserOperation type.

§15.4.3. Scanning Protocol (Recipient Side)

The recipient's scanning process is O(n) in the number of transactions (no pruning without additional indexing):

FOR EACH transaction tx in blocks [last_scanned_height..current_height]:
    IF tx contains a KEM ciphertext ct_kem:
        // ML-KEM Decaps (FIPS 203) ALWAYS returns a 32-byte key; on a
        // ciphertext not addressed to us it returns a pseudorandom key
        // (implicit rejection). There is NO "decaps succeeded" signal --
        // recognition comes only from re-deriving the address and matching.
        ss ← ML-KEM-768.Decaps(dk_scan, ct_kem)
        FOR out_index IN 0 .. len(tx.outputs) - 1:
            k_eph ← SHA3-256(ss || out_index || chain_id)
            addr_stealth ← derive_address(pk_spend, k_eph)
            IF addr_stealth == tx.outputs[out_index].address:   // the match IS the test
                (sk_stealth, pk_stealth) ← ML-DSA-65.KeyGen(SHA3-256(sk_spend || k_eph))
                ADD (addr_stealth, pk_stealth, sk_stealth, amount) to wallet's incoming set

The recognition test is the address match itself, not any Decaps status flag: Decaps on a ciphertext addressed to someone else silently yields an unrelated pseudorandom ss, whose derived addr_stealth will not equal any output. Because out_index is read directly from the transaction, the scanner reproduces exactly the sender's per-output k_eph (§15.4.2, Step 2) for every output, including multi-output payments.

Scanning efficiency. ML-KEM decapsulation takes ~0.1 ms per transaction (per ARM Cortex-A55 benchmark). At ~363 Bond transactions per 2 MB block (CONSTANTS.md §bond.tx_wire_size) and 72 blocks per day: ~26,000 decapsulation operations per day for a full scan, requiring ~2.6 seconds of CPU time. This is acceptable for background scanning on the Desktop Node. For the NMW (mobile), scanning is delegated to the user's trusted scanning service (which holds dk_scan, not sk_spend) or performed in background when plugged in.

Scanning Delegation. The scan/spend key separation enables a clean delegation model:

  • User's Arca holds: sk_spend (never leaves the device)
  • Scanning service holds: dk_scan (can identify incoming payments but cannot spend them)
  • On-chain observer sees: ct_kem and addr_stealth (cannot link to any identity)

§15.4.4. Stealth Address Bandwidth Cost

Component Bond RSC Aevum ESC
KEM ciphertext (ct_kem) 1,088 bytes per payment 1,088 bytes per UserOperation
One-time stealth key 32-byte tag_stealth in locking script; 1,952-byte pk_stealth revealed in spend witness Not on-chain (SCW address only)
Total per stealth payment ~3,072 bytes overhead (~1,120 bytes in the output, ~1,952 bytes in the spend witness) ~1,100 bytes overhead

On Aevum (with 5-second blocks at ~200 TPS full-block capacity ⇒ ~1,000 UserOps/block): at 10% stealth adoption, ~100 stealth UserOps × ~1.1 KB overhead ≈ ~110 KB/block ≈ 2.7% of a 4 MB typical Aevum block (CONSTANTS.md §aevum.block_size_max; 4 MB is the 50%-target TYPICAL size, gas-bounded MAX 12 MB). Negligible.

On Bond RSC (20-minute blocks, ~363 txs/block per CONSTANTS.md §bond.tx_wire_size): at 10% stealth adoption, ~36 stealth txs × ~3.07 KB (output-side and spend-side bytes together, each landing in the block that carries it) ≈ ~110 KB per block. Against a 2 MB (2,048 KB) block budget: ~5.4% of block space consumed by stealth metadata at 10% adoption. Acceptable.


§15.5. PQ-CoinJoin: Transaction Graph Unlinkability

Confidential Transactions hide amounts; stealth addresses hide recipients. PQ-CoinJoin addresses the remaining privacy surface: sender-receiver linkability through the transaction graph. Even with hidden amounts and stealth recipients, a graph analyst can observe that a specific set of inputs was consumed in a transaction that created a specific set of outputs. CoinJoin breaks this link by combining multiple users' transactions into a single, indistinguishable joint transaction.

Classical CoinJoin implementations (Wasabi, Whirlpool) use standard ECDSA signatures and rely on Chaum blind signatures for coordination anonymity — Chaum blind signatures are RSA-based (quantum-vulnerable). PQ-CoinJoin preserves the blind-signature unlinkability property but instantiates it post-quantum: it replaces the RSA Chaum construction with a lattice-based blind signature (a blind-issued, single-use redemption token). A plain hash commit-reveal is explicitly not sufficient — a hash commitment carries no blinding, so a coordinator holding the registration commitments can recompute and match a Phase-2 reveal back to the Phase-1 identity that registered it (transport anonymity hides only the network origin, not this cryptographic linkage). The blind signature closes exactly that gap.

§15.5.1. Standard Denomination Tiers

CoinJoin provides strong unlinkability only when all participants use identical output amounts (equal-value outputs cannot be distinguished by amount). PQ-CoinJoin defines standard denomination tiers for Bond RSC:

Tier Denomination Min Pool Size Target Anonymity Set
T1 0.01 BND 10 participants 10
T2 0.1 BND 10 participants 15
T3 1.0 BND 8 participants 12
T4 10 BND 5 participants 8
T5 100 BND 3 participants 5

Change handling. When a user's input exceeds the denomination, the remainder is returned as a transparent change output (identifiably linked to the input — this is the standard CoinJoin change problem). Users seeking full unlinkability should pre-split their holdings into exact denominations via a preparatory transaction before joining.

§15.5.2. Coordination Protocol

PQ-CoinJoin uses the existing P2P Relay (§7.3.3) as the coordination backbone, extended with a two-phase commitment protocol for anonymity-preserving output registration.

Phase 1 — Input Registration + Blind Token Issuance (Via Identified Connection).

Each participant connects to a CoinJoin coordinator node via their standard P2P identity (libp2p peer ID) and registers:

  • Input pUTXO(s) they wish to mix (total value ≥ denomination + fee)
  • Proof of input ownership: ML-DSA-65 signature over the round parameters by the input pUTXO's spending key
  • A blinded token request: the participant locally samples a fresh random token ti, computes its blinding t̄i=Blind(ti,ρi) with private blinding factor ρi, and sends only t̄i

The coordinator verifies input ownership and, for each valid registrant, issues a lattice-based blind signature σ̄i=BlindSign(sk_coord,t̄i) over the blinded token. The participant unblinds it locally to obtain a valid coordinator signature σi=Unblind(σ̄i,ρi) on the cleartext token ti. At this stage the coordinator knows which participants are in the pool (via their P2P identities) and their input UTXOs, and it has signed one token per participant — but by the blindness property it has never seen ti and cannot associate any future token with the request t̄i it signed.

Phase 2 — Output Registration (Via Anonymous Channel, Unlinkable Token Redemption).

After the minimum pool size is reached, the coordinator opens an output registration window. Each participant connects via a fresh anonymous channel (distinct Tor circuit, I2P tunnel, or an independent Mixnet connection) and submits:

  • Their desired output address addr_out,i
  • The redemption token (ti,σi)

The coordinator verifies that σi is its own valid signature on ti (Verify(pk_coord, t_i, σ_i)) and that ti has not been redeemed before (single-use), then admits the output. Critically, the coordinator cannot link the redeemed token — hence this output — to any Phase-1 registration: blindness guarantees the signed cleartext ti is statistically independent of the blinded request t̄i, so the linkage is broken cryptographically, not merely by the anonymity of the transport. (The fresh anonymous channel additionally hides the network origin; the two protections are independent.)

Phase 3 — Transaction Assembly and Signing.

The coordinator assembles the joint transaction:

  • Inputs: all registered input pUTXOs from Phase 1
  • Outputs: all registered output addresses from Phase 2 (equal denominations)
  • Change outputs: if any (transparent — see §15.5.1)
  • Fee: sum of participant fees Each participant receives the assembled transaction (via their identified Phase 1 connection), verifies that their output address is included, and signs the transaction with their ML-DSA-65 key.

The joint transaction is valid only when all participants have signed. Any participant who refuses to sign after verifying their output's inclusion is a griefer — they are banned from the pool (their Phase 1 registration is invalidated) and the pool restarts with the remaining participants.

The security of the coordination anonymity rests on the one-more-unforgeability and blindness of the underlying lattice blind-signature scheme; the concrete PQ blind-signature instantiation (and its parameters) is specified and proved in Appendix 09 (Pending Formal Derivations).

Formal-review pending (ADR-0005 counter-sign). Construction to be proved in Appendix 09 (Pending Formal Derivations).

§15.5.3. Anonymity Properties

Information-Theoretic Bound. In a pool of n participants each contributing one input and one standard-denomination output, the probability that a specific input maps to a specific output is at most n1 for a passive observer. For n=10 (T2 pool minimum), the anonymity set is 10: the observer cannot distinguish the true mapping from any of the 10!=3,628,800 possible permutations.

Against P-2 (Graph Analyst). The analyst's heuristics fail: all outputs are equal denomination (no amount clustering), outputs arrive at fresh addresses never used before (no address reuse clustering), and inputs and outputs are combined with those of other parties (breaking the common-input-ownership heuristic across the pool).

Against Malicious Coordinator. The coordinator sees Phase 1 identities (input UTXOs and blinded token requests t̄i) and Phase 2 redeemed tokens (ti,σi) with output addresses. It cannot link the two: by the blindness of the lattice blind signature, the cleartext token ti redeemed in Phase 2 is statistically independent of the blinded request t̄i it signed in Phase 1, so even a coordinator that logs every Phase-1 identity and every Phase-2 token learns nothing about which registrant owns which output. This holds regardless of the transport: unlike the withdrawn hash commit-reveal — where the coordinator could recompute SHA3-256(addr_out ‖ r_i) and match it to a registered commitment, defeating the property outright — the blind signature leaves no matchable value. A compromised Tor/I2P circuit (P-3 adversary) additionally reveals the network origin of the Phase-2 message, which can re-link it to a Phase-1 IP; that residual network-layer risk (see §15.7) is orthogonal to and does not reintroduce the cryptographic linkage the blind signature removes.

Sybil Attack. In a pool of n slots, an attacker who controls k of them knows those k input→output mappings and so can exclude them, leaving the honest participants indistinguishable only among the remaining n−k slots. The honest anonymity set is therefore n−k (not n−k+1). The attacker's cost is k×(denomination+fee) worth of BND locked for the coordination window. For a T2 pool at n=15: an attacker controlling 10 slots leaves an honest anonymity set of 15−10=5.

Under a 50% Sybil rate (k=n/2) the honest set is n−k=n/2, which is only meaningful for the larger tiers: T1/T2 (n=10–15) retain a set of ~5–7, but T4 (min 5) collapses to ~2 and T5 (min 3) to ~1. The resilience claim is therefore scoped: for T1–T3, minimum pool sizes keep the honest anonymity set ≥ a per-tier floor even at a 50% Sybil rate; T4–T5 do not meet this floor at their current minima. Recommended (pending governance ratification): raise the T4/T5 minimum pool sizes (or attach a per-tier residual-anonymity-set floor) so the 50%-Sybil guarantee holds uniformly; until then, high-value T4/T5 mixers should not be relied on for anonymity against a resourced Sybil adversary.

§15.5.4. Coordinator Decentralization

The PQ-CoinJoin coordinator is a protocol role in the P2P Relay network, not a centralized entity. Any node can operate as a coordinator for a denomination tier. Participants choose coordinators by:

  • Reputation score (tracked on the P2P Relay, §7.3.3): coordinators who have successfully completed rounds without aborting
  • Stake (optional): coordinators may post a BND stake as collateral that is slashed if they abort a round or misbehave The multi-coordinator architecture prevents coordinator censorship: if one coordinator refuses to include a participant (e.g., due to regulatory pressure), the participant joins a different coordinator's pool.

Axiom 3 Compliance. Coordinator fees are negotiated between coordinators and participants — there is no protocol-mandated fee flowing to a privileged entity. Coordinator compensation is voluntary, market-determined, and constitutes payment for active coordination work (not passive rent on anonymity provision).


§15.6. Aevum Shielded Pool (STARK-based)

The Bond RSC privacy primitives (LBCT, ML-KEM stealth, PQ-CoinJoin) operate on the pUTXO model and are not directly applicable to the Aevum ESC's account/UserOperation model. Aevum requires a different approach: a shielded pool based on a note commitment scheme and STARK zero-knowledge proofs, analogous to Zcash's Sapling/Orchard pools but using hash-based commitments and STARK proofs (Axiom 2 compliant) rather than Pedersen commitments and Groth16 (EC-based, quantum-vulnerable).

In-circuit hash choice (Poseidon2, not Keccak). All application hashing that is proven inside the STARK circuit — note commitments, Merkle nodes, nullifiers, and key images — uses Poseidon2, an arithmetization-friendly, hash-based, post-quantum hash (it relies on no number-theoretic/EC assumption, so it satisfies Axiom 2 exactly as SHA3 does). SHA3-256 (Keccak) is arithmetization-hostile: its bitwise XOR/AND/rotations over 64-bit lanes force heavy bit-decomposition, costing well over 100k constraints per permutation, so building the circuit on SHA3 would inflate the constraint count by 1–2 orders of magnitude (see §15.6.2). SHA3-256 is therefore retained only where it must interoperate outside the circuit — the ML-KEM stealth key derivation (§15.4, wallet-side) and the FRI/Fiat-Shamir proof transcript — never for the arithmetized Merkle/commitment/nullifier gadgets.

§15.6.1. Note Model

A shielded note n represents a private allocation of AEV:

n=(v,apk,ρ,rcm)

Field Type Description
v uint64 AEV amount in Vea (smallest unit)
apk bytes20 One-time spend-authorizing key image apk=trunc160(Poseidon2(ask)); distinct from the §15.4 ML-DSA-65 pk_stealth
ρ bytes32 Nullifier seed: fresh 32-byte random value per note
rcm bytes32 Randomness commitment: fresh 32-byte random value

Note Commitment: (stored publicly in the commitment Merkle tree)

cm=Poseidon2(v∥apk∥ρ∥rcm)

Spend authority. The note's one-time secret spending key ask is known only to the recipient (a Poseidon2-domain secret, distinct from the §15.4 ML-DSA-65 sk_spend; its derivation from the §15.4 stealth exchange is not pinned — pending maintainer decision); the public field committed in the note is its image apk=trunc160(Poseidon2(ask)). From the same secret the holder deterministically derives a nullifier key nk=Poseidon2("Aevum-ShieldedPool-nk"∥ask). Knowledge of ask is what authorizes a spend (proven in-circuit, §15.6.2), and both apk and nk are bound to it — so no party who merely observes a note's public data can spend it or forge its nullifier.

Nullifier: (revealed when spending the note; prevents double-spending without revealing which note was spent)

nf=PRFnk(pos∥cm)=Poseidon2(nk∥pos∥cm)

where pos is the note's leaf position in the commitment tree and cm is its commitment. Binding nf to the holder-specific nk ensures only the holder of ask can derive a note's nullifier (no cross-owner nullifier forgery); binding it additionally to (pos,cm) makes the nullifier unique per note and deterministic, so any second spend of the same note yields the identical nf and is rejected by the nullifier set. This is the Sapling/Orchard nullifier construction nf=PRF^nfSapling_nk(ρ) with position-mixed ρ (Zcash Protocol Specification §4.16, §5.4.2), re-instantiated with a Poseidon2 PRF (arithmetization-friendly, post-quantum, EC-free) for Axiom-2 compliance.

Formal-review pending (ADR-0005 counter-sign). Construction to be proved in Appendix 09 (Pending Formal Derivations).

Commitment Tree. The Aevum Shielded Pool Contract maintains an incremental Merkle commitment tree of depth 32 (capacity 2^32≈4 billion notes), with Poseidon2 as the internal hash function (arithmetization-friendly for the in-circuit membership proof):

root=MerkleRoot(cm1,cm2,…,cmN)

The tree root is published in each Aevum block header that includes shielded transactions. Any light client can verify note inclusion against the published root.

Nullifier Set. A set of spent nullifiers {nf1,…,nfk} is maintained in the Shielded Pool Contract's storage. Spending a note reveals its nullifier and adds it to the set. The Shielded Pool Contract rejects any transaction whose nullifier is already in the set, preventing double-spending.

§15.6.2. STARK Proof Circuit

A shielded transfer proves in zero-knowledge that:

  1. Membership. The prover knows notes n1,…,nm (inputs) with commitments cm1,…,cmm, each proven to be a leaf (at position posi) of the commitment tree whose root equals the public old_merkle_root anchor.
  2. Spend authorization. For every input note the prover knows the one-time secret aski with apki=trunc160(Poseidon2(aski)) matching the committed key — i.e. the prover is authorized to spend each note, not merely aware of its opening.
  3. Nullifier integrity. Each nullifier nfi=Poseidon2(nki∥posi∥cmi) with nki=Poseidon2("Aevum-ShieldedPool-nk"∥aski), binding it to the same authority that owns the note.
  4. Output well-formedness. The output commitments cmout,1,…,cmout,k are correctly formed from the output notes.
  5. State-transition correctness. new_merkle_root is the unique root obtained by appending cmout,1,…,cmout,k at the next free tree positions to the tree rooted at old_merkle_root, using the published incremental-insertion witness — the prover has no free choice of the new root.
  6. Conservation. ∑i=1mvin,i=∑j=1kvout,j+fee (with fee disclosed), evaluated over the integers (via carry-aware accumulation, not modulo the field) so no field wraparound can create value.
  7. Range. 0≤vin,i<2^64 for every input note and 0≤vout,j<2^64 for every output note; with m,k bounded so the balance sums cannot exceed the field modulus. Circuit Implementation. The STARK circuit is specified over the Goldilocks field Fp with p=2^64−2^32+1 (efficient for 64-bit arithmetic), using the FRI (Fast Reed-Solomon IOP) polynomial commitment scheme. All in-circuit application hashing (commitments, Merkle nodes, nullifiers, key images) uses Poseidon2 over Fp (arithmetization-friendly); the FRI/Fiat-Shamir proof transcript hash is SHA3-256 (outside the arithmetized statement, so it adds no circuit constraints):
STARK_SHIELD_CIRCUIT {
  public_inputs:
    old_merkle_root: Field[4]        // 256-bit root, 4 × 64-bit limbs
    new_merkle_root: Field[4]        // Updated root after adding output notes
    nullifiers: Field[4][m]          // m nullifiers to reveal
    output_commitments: Field[4][k]  // k output note commitments
    fee: u64                         // Disclosed fee

  private_inputs:
    input_notes: Note[m]             // (v, apk, ρ, rcm) for each input
    input_positions: u64[m]          // leaf index of each input note (nullifier + path)
    input_merkle_paths: Field[][m]   // Merkle inclusion paths (depth 32 each)
    input_spend_keys: Field[4][m]    // one-time secret ask authorizing each input
    output_notes: Note[k]            // (v, apk, ρ, rcm) for each output
    insertion_witness: Field[]       // incremental-append frontier: old_root -> new_root

  constraints:
    // 1. Membership: each input commitment is a leaf of the ANCHORED old tree
    FOR i IN 0..m:
      cm_i = POSEIDON2(input_notes[i].v, input_notes[i].apk,
                      input_notes[i].ρ, input_notes[i].rcm)
      ASSERT merkle_verify(old_merkle_root, cm_i,
                           input_positions[i], input_merkle_paths[i]) == TRUE

    // 2. Spend authorization: prover knows the secret behind each note's key
    FOR i IN 0..m:
      ASSERT trunc160(POSEIDON2(input_spend_keys[i])) == input_notes[i].apk

    // 3. Nullifier integrity: bound to the holder's nk AND to (position, note)
    FOR i IN 0..m:
      nk_i = POSEIDON2("Aevum-ShieldedPool-nk", input_spend_keys[i])
      cm_i = POSEIDON2(input_notes[i].v, input_notes[i].apk,
                      input_notes[i].ρ, input_notes[i].rcm)
      ASSERT POSEIDON2(nk_i, input_positions[i], cm_i) == nullifiers[i]

    // 4. Output commitment correctness
    FOR j IN 0..k:
      ASSERT POSEIDON2(output_notes[j].v, output_notes[j].apk,
                      output_notes[j].ρ, output_notes[j].rcm)
             == output_commitments[j]

    // 5. State-transition correctness: new_merkle_root is the DETERMINISTIC
    //    incremental append of the outputs — prover cannot choose it freely
    ASSERT incremental_append(old_merkle_root, output_commitments[0..k],
                              insertion_witness) == new_merkle_root

    // 6. Range checks (64-bit) on EVERY amount, inputs AND outputs
    FOR i IN 0..m: ASSERT 0 <= input_notes[i].v < 2^64
    FOR j IN 0..k: ASSERT 0 <= output_notes[j].v < 2^64

    // 7. Conservation over the INTEGERS (operands range-checked in #6; sums
    //    accumulated with explicit carry into >64-bit limbs so the equality is
    //    exact and cannot be satisfied by field-modular wraparound mod p ~ 2^64)
    ASSERT integer_sum(input_notes[i].v FOR i IN 0..m)
           == integer_sum(output_notes[j].v FOR j IN 0..k) + fee
}

Proof Size and Verification Cost. FRI-based STARK proof for a standard 2-in-2-out shielded transfer with Poseidon2 in-circuit hashing (~64 Poseidon2 invocations: 32-level Merkle proofs × 2 inputs, plus commitment/nullifier/key-image gadgets):

Parameter Estimate
Circuit constraints ~300,000 (Poseidon2-based; a few hundred constraints per hash). On SHA3-256 this would be ~1–5M — Keccak's bit-decomposition costs >100k constraints per permutation — which is the ~1–2-order-of-magnitude penalty Poseidon2 avoids
STARK proof size ~60–100 KB (FRI proof size is polylogarithmic in trace length)
Proof generation time ~2–8 seconds (modern CPU, Rust implementation), dominated by the trace size ∝ constraint count
Proof verification time ~50–100 ms (on Aevum full node)
Aevum on-chain gas cost ~2.5–3.5M gas (new VERIFY_STARK_SHIELD precompile)

These figures assume the Poseidon2 constraint budget above; on a SHA3-256 circuit the constraint count and proof-generation time would be ~1–2 orders of magnitude higher (proof size and verification, being polylogarithmic in trace length, degrade far less). The exact Poseidon2 constraint count and the resulting size/time are re-benchmarked in Appendix 09 (Pending Formal Derivations).

The VERIFY_STARK_SHIELD precompile is the same infrastructure as the future VERIFY_STARK_GEOFENCE precompile declared in §2.4.4.4 (Group G) and used in §10.2.3 — a single STARK verifier implementation is reused for both applications, with domain-separated verification keys. This reuse reduces the implementation and audit surface.

Formal-review pending (ADR-0005 counter-sign). Construction to be proved in Appendix 09 (Pending Formal Derivations).

§15.6.3. Shielded Pool Opcodes and Contract Interface

New Aevum WASM Precompile:

Precompile Address Function Gas Cost
VERIFY_STARK_SHIELD 0x20 Verify a shielded pool STARK proof ~2.5M gas (fixed, independent of proof size within circuit)

Shielded Pool Contract Interface (Aevum ESC):

interface IShieldedPool {
    // Shield: convert transparent AEV into a shielded note
    // Caller provides AEV amount and an output note commitment
    // Returns note index in commitment tree
    function shield(uint256 amount, bytes32 output_commitment)
        external returns (uint256 note_index);

    // Shielded Transfer: spend shielded notes, create new shielded notes
    // stark_proof: the STARK proof (60-100 KB)
    // public_inputs: old_root, new_root, nullifiers, output_commitments, fee
    function shieldedTransfer(
        bytes calldata stark_proof,
        ShieldedPublicInputs calldata public_inputs
    ) external;

    // Unshield: convert a shielded note back to transparent AEV
    // Proves ownership of a note and reveals its value
    function unshield(
        bytes calldata stark_proof,
        uint256 value,
        address recipient,
        ShieldedPublicInputs calldata public_inputs
    ) external;

    function merkleRoot() external view returns (bytes32);
    function isNullified(bytes32 nullifier) external view returns (bool);
}

Gas Cost for a Standard Shielded Transfer:

Operation Gas
VERIFY_STARK_SHIELD precompile 2,500,000
Nullifier set writes (2 inputs) 40,000
Merkle tree updates (2 new notes) 80,000
Event emission 10,000
Total ~2,630,000 gas

At 1 Vea/gas base fee, 1 AEV = 1,000 Vea (CONSTANTS.md aev.subunit) and 1 AEV = $0.10 at LRP: 2,630,000 Vea = 2,630 AEV ≈ $263 per shielded transfer, against 215,000 gas × 1 Vea/gas = 215,000 Vea = 215 AEV ≈ $21.50 for a transparent AEV transfer. Both exceed the 1–100 Vea per-transaction range of §4.6.1, so the 1 Vea/gas assumption is not reconciled with §4.6.1 and these figures are pending recalibration. The shielded transfer remains ~12× a transparent one, which is acceptable for privacy-sensitive high-value transfers. The Paymaster can absorb this cost in commercial contexts (§8.6).


§15.7. Privacy Threat Model: Residual Risks and Mitigations

Threat Applicable Primitives Residual Risk Mitigation
Amount correlation LBCT, Shielded Pool Fee is always transparent — fee size reveals a lower bound on input magnitude Batch transactions; standard denominations
UTXO graph timing PQ-CoinJoin Pool timing reveals participation window Random delays before joining; asynchronous coordinator
Coordinator sybil PQ-CoinJoin Coordinator filling k of n slots degrades anonymity set Minimum pool sizes; multi-coordinator redundancy
Network traffic analysis (P-3) All IP-level correlation of transaction broadcasts with wallet activity Tor/I2P integration (see below); Dandelion++ broadcast
STARK proof timing Shielded Pool Proof generation takes 2–8 seconds — unusual Aevum UserOperation latency profile Background proof generation; dummy operations
Commitment tree root as timing oracle Shielded Pool Merkle root updates reveal when shielded txs occurred (every Aevum block) Root is updated per-block regardless of shielded activity (dummy root update if no shielded txs)
ML-KEM ciphertext size as fingerprint Stealth Addresses Transactions with 1,088-byte KEM ciphertext are identifiable as stealth payments All transactions above a threshold include a dummy 1,088-byte field (at a cost of 1,088 padding bytes per non-stealth transaction: real for stealth, padded for non-stealth) — this is an optional protocol extension for the highest-privacy users
View key disclosure under legal compulsion (P-4) All dk_scan disclosure reveals all incoming payments; sk_spend disclosure reveals all funds User-held sovereignty — no protocol mitigation. Legal arrangements (jurisdictional planning) are out of scope
Quantum retroactive decryption of ML-KEM Stealth Addresses ML-KEM-768 is NIST Level 3 — no known quantum attack. Grover's algorithm reduces symmetric security by 50% (128-bit post-quantum security remains) Post-quantum by construction; no retroactive vulnerability
STARK soundness error Shielded Pool Once compiled to a non-interactive argument via FRI + Fiat-Shamir, soundness is computational in the random-oracle model, resting on collision-resistance of the transcript hash — not information-theoretic. A prover could forge a valid proof only with negligible probability Target soundness error ≥ 2⁻¹⁰⁰ (recommended, raised from the 2⁻⁸⁰ draft target; pending ADR-0005 ratification), set by the FRI query count and field size. Correct framing: FRI/Fiat-Shamir soundness is computational in the ROM plus SHA3-256 collision-resistance; the underlying IOP is information-theoretic only before the hash-based compilation

Tor/I2P Integration (P-3 Mitigation).

The Bond Desktop Node and Nexus Mobile Wallet support Dandelion++ transaction broadcasting (a structured gossip protocol where each transaction is first forwarded along a geometric stem path — continue probability p = 0.9, expected 10 hops — before entering the diffusion phase — making IP-origin correlation statistically infeasible). For users with stronger P-3 threat models, the Desktop Node supports a Tor hidden service mode where the P2P port is exposed as a .onion address.

Dandelion++ is a network-layer rule rather than a consensus rule — the Bond RSC and Aevum ESC are agnostic to it — but per §14.13 it is active from genesis, enabled by default for all transactions on bond/txs/1 and aevum/bundles/1, and stem relay is mandatory for conforming nodes, not a local opt-out.


§15.8. Compliance and Regulatory Posture for Privacy Features

Privacy features are optional and governance-activatable. The regulatory posture for privacy features extends the baseline posture of §13.4.3 (Regulatory Prophylaxis):

Position 1 — Privacy is not anonymity from the law.

The protocol provides privacy against passive chain observers (P-1, P-2), not legal immunity from jurisdiction. A user who is compelled by law to disclose their dk_scan and sk_spend keys will disclose their complete transaction history and fund locations. The protocol does not impede legal processes against individual users.

Position 2 — No protocol-level blacklisting in the privacy layer.

The Shielded Pool Contract, the LBCT script opcodes, and the stealth address derivation contain no address blocklist. The protocol does not implement OFAC filtering in the privacy layer — privacy and compliance filtering are orthogonal layers. Compliance filtering (§13.4.2) operates at the UI/on-ramp level, not at the protocol level. This is consistent with the zero-blacklist principle implied by Axiom 1 (Individual Sovereignty).

Position 3 — Governance activation includes regulatory review.

The Bicameral governance vote required to activate each privacy feature (§15.9) must include an attached Privacy Impact Assessment (PIA) covering: known regulatory classifications of the feature in key jurisdictions (US FinCEN, EU MiCA, Singapore MAS), potential for FATF Travel Rule compliance implications, and a legal opinion from the DAO LLC's counsel. The PIA is published on-chain (OP_RETURN on Bond RSC) as part of the governance proposal record. Governance voters are legally informed before casting votes.

Position 4 — Opt-in preserves regulated entity participation.

Because privacy features are opt-in (not default), regulated entities (exchanges, payment processors, institutional custodians) can participate in the ecosystem without using privacy features, maintaining full transaction transparency for their own audit and compliance requirements. Regulated entities are not forced to interact with private outputs — they can require transparent outputs from their customers as a business policy.


§15.9. Activation Governance and Roadmap

Each privacy primitive is independently governance-activatable. They are not bundled — activating LBCT does not activate the Shielded Pool or ML-KEM stealth. Independent activation reduces governance complexity, allows individual features to be deployed and tested in isolation, and enables jurisdictions or regulated entities to engage selectively.

Feature Phase Block Target Prerequisites Governance Required
ML-KEM Stealth Addresses (Bond) Phase 3 ~Block 52,596 (~24 months) sig_version extension spec audited; Desktop Node scanning implemented; Arca firmware update for stealth key generation Bicameral vote + Privacy Impact Assessment
ML-KEM Stealth Addresses (Aevum) Phase 3 ~Block 52,596 (~24 months, same as Bond) AA engine update for StealthPaymentUserOperation type; NMW integration Same vote as Bond stealth (single proposal)
PQ-CoinJoin Phase 3 ~Block 52,596 (~24 months) Coordinator software implemented and published (open-source); Tor/I2P integration in Desktop Node Bicameral vote + Privacy Impact Assessment (separate from stealth — independent feature)
LBCT (Bond RSC Confidential Transactions) Phase 4 ~Block 78,894 (~36 months) MLWE-C scheme formally analyzed by ≥2 academic cryptographers; range proof audited by ≥2 independent firms; new opcodes (§15.3.5) reviewed; block space impact assessment completed Bicameral vote + Privacy Impact Assessment + hard fork activation signal
Aevum Shielded Pool Phase 4 ~Block 78,894 (~36 months) VERIFY_STARK_SHIELD precompile implemented; STARK circuit formally verified; Shielded Pool Contract audited × 2; proof generation client-side performance validated on target mobile hardware Bicameral vote + Privacy Impact Assessment + hard fork activation signal

Phase 4 Hard Fork Requirement. LBCT (new pUTXO opcodes) and the Shielded Pool (VERIFY_STARK_SHIELD precompile) both require consensus-layer changes — they cannot be deployed as governance parameter adjustments. Their activation requires a hard fork with a scheduled activation block height announced at least 6 months in advance (minimum 13,149 Bond blocks ≈ 6 months, at 26,298 Bond blocks/year, §16.6.1). The sig_version agility mechanism (§6.6) provides the upgrade path for LBCT without disrupting existing pUTXOs.

Privacy Governance Threshold. Given the sensitivity of privacy features (regulatory, reputational, and technical), the governance threshold for privacy activation proposals is elevated from the standard bicameral approval to a supermajority requirement:

  • Chamber 1: Conviction-weighted votes in favor must exceed 66% of max possible (vs. 50% standard)
  • Chamber 2: Quadratic-weighted votes in favor must exceed 60% of participating votes (vs. 50% standard) This elevated threshold reflects the irreversibility of consensus-layer privacy features and the need for strong community consensus before deploying technology that may attract regulatory attention.

§15.10. Implementation Reference Table

Component Specification Key Parameter Implementer Notes
MLWE-C commitment §15.3.1 Ring: Rq=Zq[X]/(X^256+1), q=8380417 (identical to ML-DSA ring); per-limb message space 2^8, amount = k=8 limbs Same algebraic infrastructure as ML-DSA — no new ring arithmetic required
LBCT range proof §15.3.2 Per-limb carry-chain balance (per-limb integer conservation, MatRiCT/MatRiCT+) + binary bit-decomposition range argument (b(b−1)=0 product relation, verifier reads public commitments only); Fiat-Shamir via SHA3-256 Order of a few KB per output (MatRiCT+; exact size pending Appendix 09); abort-and-restart for zero-knowledge
LBCT sig_version §15.3.6 Confidentiality bit 0x0100 (LBCT); stealth bit 0x0200 (orthogonal, §15.4); 0x0101 = ML-DSA-65 + LBCT Must coexist with transparent 0x0001 pUTXOs in same block; reconcile with canonical §6.6 registry
OP_COMMITMENT_VERIFY §15.3.5, Appendix 03 0xC0; Tier 0 immutable Verifies MLWE-C opening; used for fee transparency check
OP_RANGE_PROOF_VERIFY §15.3.5 0xC2; ~50 ms verification per output Largest new verification cost in Bond RSC; benchmarked before activation
ML-KEM-768 stealth §15.4 ek = 1,184 bytes; ct = 1,088 bytes; NIST FIPS 203 Level 3 ct embedded in tx metadata; stealth flag bit 0x0200 (dedicated, orthogonal to the LBCT bit and scheme byte) marks stealth-enabled pUTXOs
Scan key separation §15.4.1 (dk_scan, sk_spend) on Arca; dk_scan delegatable to scanning service Arca firmware v2 must support ML-KEM-768 key generation and decapsulation alongside ML-DSA-65
PQ-CoinJoin §15.5 Lattice blind signature (blind-issued single-use redemption token) for coordinator unlinkability; Tor/I2P for Phase 2 network-origin hiding Coordinator software: open-source Rust binary; not part of the core node
Standard denominations §15.5.1 T1: 0.01 BND; T2: 0.1; T3: 1.0; T4: 10; T5: 100 Governance-adjustable post-activation (Tier 1)
Shielded Pool contract §15.6.3 Incremental Poseidon2 Merkle tree, depth 32; nullifier set in contract storage Deployed at Aevum genesis as an inactive contract; activated via governance vote
VERIFY_STARK_SHIELD §15.6.2 Precompile at address 0x20; FRI-STARK over Goldilocks field; ~2.5M gas Same verifier infrastructure as VERIFY_STARK_GEOFENCE (§2.4.4.4, §10.2.3)
STARK proof generation §15.6.2 ~60–100 KB proof; ~2–8s generation on modern CPU Reference implementation: Rust, using Winterfell or Plonky3 STARK library; Poseidon2 in-circuit hash, SHA3-256 only for the FRI/Fiat-Shamir transcript
Activation phases §15.9 Phase 3: Stealth + CoinJoin (~24 months); Phase 4: LBCT + Shielded Pool (~36 months) Phase 4 requires hard fork; 6-month advance notice
Governance threshold §15.9 Chamber 1: 66%; Chamber 2: 60% (elevated from standard 50%) Privacy-specific threshold; encoded in governance contract at genesis (adjustable within [60%, 75%] by standard governance)
Dandelion++ §14.13 Geometric stem, p = 0.9 (expected 10 hops); enabled by default for all transactions Network-layer; not consensus-critical; active from genesis

Cross-cutting invariants for privacy:

  1. Axiom 2 compliance is unconditional. No privacy feature introduces any elliptic curve primitive at any layer. MLWE-C commitments use the ML-DSA ring. LBCT range proofs use lattice bit/product arguments with SHA3-256 Fiat-Shamir. PQ-CoinJoin uses a lattice blind signature. STARK proofs use FRI with Poseidon2 in-circuit hashing and SHA3-256 for the proof transcript — both hash-based and post-quantum. ML-KEM replaces ECDH. No pairing, no secp256k1, no Curve25519.
  2. Fee transparency is invariant. Block fees are always disclosed in all privacy modes. Mining incentives are never obfuscated.
  3. Privacy is opt-in at the user level and opt-in at the protocol level (governance gate). Neither transparent users nor unactivated chains are affected by privacy features being available.
  4. Privacy does not break existing pUTXO mechanics. LBCT sig_version coexists with standard sig_version 0x0001. LBCT pUTXOs and standard pUTXOs can appear in the same block, the same transaction (as different inputs/outputs), and the same wallet.
  5. The Quantum Seam (§EI.1) applies to privacy too. ML-KEM stealth addresses are PQC-safe. If a user's BTC external address (obtained via xHTLC, §EI.3) is linked to their Bond RSC stealth meta-address through careless operational security, the external chain linkage is not protectable by Bond's privacy features. Privacy roadmap specified — the post-quantum financial ecosystem is complete. §15 completes the protocol specification before operations (§16 Disaster Recovery): from the ground up (PQC primitives, §6), through consensus (§3), monetary policy (§4), inter-ledger (§7), hardware custody (§9), governance (§11), systemic reserve (§12), external interoperability (§EI), and now privacy (§15). The ecosystem launches transparent, matures toward privacy through governance, and remains quantum-safe at every layer throughout.