Privacy model

The proof hides which deposit paid for a withdrawal. Amounts, timing, addresses and the size of the crowd stay visible, and each of them can narrow it.

2 min readReviewed [DOCS_REVIEW_DATE]

Hidden and public

ItemVisibilityNotes
Which deposit funded a withdrawalhiddenThe one link the proof exists to hide
Your note's secrethiddenStays on your side
Deposit amount, sender, timepublicOrdinary transfer data
Withdrawal amount, recipient, timepublicOrdinary transfer data
Relayer and feepublicIf a relayer is used
Association set usedpublicThe screened set the withdrawal proved into
Nullifier hashpublicStops a note being spent twice; does not point to its deposit

The crowd you hide in

Your anonymity set is the group of deposits that could plausibly have paid for your withdrawal. At most, that is every deposit in the same pool, made before the withdrawal, that is also in the association set you proved into. Anything an observer can use to rule deposits out (amount, timing, behaviour) shrinks it.

How pools are arranged across assets: [POOL_LAYOUT]. If each asset has its own pool, the crowd for a withdrawal is only that pool's depositors.

Amounts

Deposit and withdrawal amounts are public. If 12,481.37 goes in and 12,481.37 comes out a day later, no cryptography is needed to pair them. Round, common amounts blend in; distinctive ones stand out. Splitting a withdrawal into common amounts can help, where partial withdrawals are available.

Timing

A withdrawal minutes after a matching deposit, while few others are using the pool, is easy to link. Waiting while more deposits arrive widens the crowd. Regular patterns, such as withdrawing at the same time every week, can link withdrawals to each other.

Small and young pools

Early on, a pool holds few deposits, and even careful behaviour cannot hide you among more people than are there. Privacy improves as the pool and its association sets grow. Until then, assume less cover than the cryptography alone suggests.

  • Funding gas. Sending gas from your main wallet to a fresh recipient links them. A relayer avoids this.
  • Where the funds go next. Withdrawing to an address or account tied to your identity, or merging withdrawn funds with a known address, reconnects them.
  • Network metadata. Any server you connect to, such as an RPC endpoint or a relayer, can see your IP address and when you connect.
  • Reuse. Reusing a recipient address across withdrawals links those withdrawals together.

What the pool does not do

It does not hide that an address used the pool, does not hide amounts, and does not make you anonymous off-chain. It breaks one on-chain link, and how much that is worth depends on everything above.