Docs · Concepts

Mesa on Privacy Rings

What Solana Privacy Rings provides, what the mesa program adds on top of it, and how a Mesa transaction is put together.

Solana Privacy Rings is a shielded pool on Solana, released by Helius on mainnet on 2026-11-10. It holds encrypted balances and lets a Solana program run its own zero-knowledge circuit over notes in the pool. Mesa is such a program.

What Privacy Rings provides

  • Notes. A private balance is a set of UTXOs. Each has an owner, an asset, an amount and optional program data, stored on chain as a commitment with an encrypted body. SOL, SPL and Token-2022 assets are supported.
  • The Solana Privacy Program. One program, ring1GaLCuJnkUMVkX2JeZLTTX17wKsV4fZmPVzXANW, verifies a Groth16 proof for every private state change, records the nullifiers of spent notes and appends new notes to a state Merkle tree.
  • The default Ring. It is permissionless and confidential: asset and amount are encrypted, and the sender's and recipient's addresses are public.
  • ZK programs. A third-party program verifies a proof of its own logic and then calls the Privacy Program by CPI to move notes.
  • Indexer and prover. Encrypted notes are read through dedicated RPC methods such as getShieldedTransactionsByTags, and proofs for the pool's own circuit are generated by a prover service or locally.
Address
Solana Privacy Programring1GaLCuJnkUMVkX2JeZLTTX17wKsV4fZmPVzXANW
User Registry Programregy3WAeRXMYuMYxr5iK3Bf9Arr3PcxGxyzAddbiqDQ
State Merkle tree777pvSGe5LaBd9nCczvE2FXEauiwtfGJ5XRpjKyniGor

The addresses are the same on mainnet and devnet. Helius publishes the pool's audit reports and the record of its trusted setup, completed on 2026-11-02 with 15 accepted contributions per circuit.

What Mesa adds

The pool hides the asset and amount of a transfer between two public addresses. Mesa also hides who trades, what an order will do before its batch closes, and what each account holds, with four additions.

One owner for every note. Mesa holds every balance, order, share and position as a note owned by a single program address. Because the default Ring shows owners, every Mesa note shows the same one. See The account and its notes.

Typed notes. Each Mesa note commits to program data that says whether it is a balance, a share, an action or a position, and to whom it belongs. The pool refuses to create a note carrying program data without its owner's signature, and the Mesa authority signs only after a Mesa proof has constrained every Mesa-owned output.

The batch. Timelock encryption to the drand quicknet beacon, commitments checked on chain, and one clearing price per market. See Batches.

Positions that prove health. A borrow or perp stays sealed by renewing a proof against a Pyth oracle price each heartbeat. See Sealed positions and renewal.

How a Mesa transaction is put together

Every instruction that moves notes carries two proofs.

  1. The Mesa proof

    Your client proves the action's own rule with one of Mesa's circuits: for a place, that you own the notes spent and that the action note commits to the stated terms. The circuits run in your browser or in the SDK's process, where your keys are.

  2. The pool's proof

    The Privacy Rings prover produces the proof for the pool's circuit: that the spent notes exist in the tree, that their nullifiers are correct, and that value is conserved per asset.

  3. The instruction

    The mesa program verifies the Mesa proof, then calls the Privacy Program's transact by CPI with the Mesa authority as signer. The Privacy Program verifies its own proof and updates the tree.

Both proofs bind to the same transaction hash, so neither can be reused with different notes.

The pool's Groth16 proof is 192 bytes, and a Mesa proof adds 128. Each instruction that updates the state tree pays the pool's tree fee, 5,000 lamports, on top of Solana's fees. The relayer pays both.

Where value becomes public

Sealed value and public totals meet in Mesa's public vault accounts: one token account per asset, owned by the Mesa authority. When a supply settles, the supplied amount leaves a note and enters the pool's token account through the Privacy Program's public withdraw leg. When a redeem settles, it returns through the deposit leg into a new note. The program computes these amounts from the batch, so a client cannot choose them.

Getting in and out

Funds reach Mesa in two steps, each a Privacy Rings transaction.

  1. Public balance to Rings private balance. A Privacy Rings deposit. It needs a Rings private wallet, registered once in the User Registry with your viewing and nullifier public keys. The deposit shows your address, the asset and the amount.
  2. Rings private balance to Mesa. Mesa's deposit. Your wallet signs, because it owns the Rings notes being spent. It shows your address, and the asset and amount are encrypted.

Withdrawal runs the same two steps in reverse. Mesa's withdraw is relayed and names the Rings address that receives the funds. Deposit and withdraw walks through both directions.

Reading Mesa without Mesa

Mesa's notes are in the pool's ledger. A client can fetch them from any Privacy Rings indexer by the Mesa authority's tag, without Mesa's API, and Mesa's public accounts are ordinary Solana accounts. An account can be read, and a batch checked, with a Solana RPC endpoint that serves the Privacy Rings methods.