Skip to main content
This page is the integrator’s version of “who can see what”. Read it before you write UI copy that makes a privacy claim, so the claim matches what the protocol provides.

What the chain sees

Every Cloak transaction is the same Transact instruction: a Groth16 proof plus a fixed-size public input blob. An observer of the ledger sees, per transaction: A nullifier cannot be linked to the commitment it spends, and every note carries fresh randomness (blinding), so equal amounts do not produce equal commitments. That is what breaks the link between a deposit and a later withdrawal. The mechanics are in UTXO model.

What each party can do

The assumptions privacy rests on

Privacy in a shielded pool is statistical, not absolute. State these limits in your product rather than promising more:
  • The anonymity set is the pool’s activity. A withdrawal hides among the deposits of the same token. Few similar deposits make timing and amount correlation easier. Withdrawing exactly what was deposited, minutes later, is the easiest case to correlate.
  • Entry and exit are public. The wallet that funds a deposit and the address that receives a withdrawal are on chain. Withdrawing to an address tied to an identity reveals that endpoint.
  • History before shielding stays public. Cloak does not rewrite past transactions.
  • The device is in scope. The spending key and the note secrets live on the client. Malware or a leaked backup defeats the protocol’s guarantees.
  • Screening happens. Deposits carry a signed risk assessment that the program checks, and withdrawals and swaps are screened before they are authorized. See Viewing keys and compliance.

What this means for your app

  • Prefer private sends (cloak.send to a cloak_ address) for payments between users: the amount and both parties stay hidden.
  • Do not pre-fill a withdrawal amount equal to the user’s last deposit.
  • Never log note secrets, seeds or the viewing key. Treat a payment-link URL like cash: its secret is the fragment after #.
  • Describe Cloak as privacy, not anonymity. Privacy is not anonymity explains the difference in user-facing language.

Privacy architecture

How the program, the proofs and the client fit together.

Security considerations

Trust boundaries, key handling and operational controls for integrators.