Skip to content
A trade settled onchain is public by default. With the DvP program, the trade record stores both parties, both mints, and the agreed amount of each leg, so anyone who reads the record can work out the trade size and price. The record is closed at settlement, but the terms can still be read from the transaction that created the trade. Three solutions keep parts of a trade private. Confidential Balances and the Default Ring of Solana Privacy Rings are available on mainnet, and none of the three settles through the DvP program with hidden amounts.
Decide what has to stay privateBefore you choose, decide which parts of a trade must be hidden (the size and price, the counterparties, or both), who must still see them, such as an auditor or regulator, and whether both legs have to settle atomically onchain.

​Compare the three solutions

Custom Rings, which add auditor access and can hide the counterparties, are in security audit. Private Channels is coming, but is not yet ready for production.
SolutionTrade size and priceCounterpartiesAuditor and regulator accessAtomic settlementAvailability
Confidential BalancesTransfer amounts encrypted; deposits and withdrawals in the clearPublicOptional auditor key on each mint decrypts transfer amountsNot through the DvP program: a confidential leg settles in publicAvailable on mainnet
Solana Privacy RingsAsset and amount privatePublic in the Default Ring, private in anonymous RingsCustom Rings can give an auditor visibilityHelius describes private escrow in Solana programsDefault Ring on mainnet; Custom Rings in audit
Private ChannelsHidden from outside observersHidden from outside observersThe institution controls who participates, what rules apply, and how data is accessedNot covered by the Private Channels docsComing soon: audited; on devnet
For payments rather than trades, see Private payments.

​What the DvP program settles today

The DvP program, used in the Settle a trade tutorial, moves ordinary, visible token balances:
  • Each party funds its leg with a standard TransferChecked into the trade’s escrow account, and Settle moves both legs out with TransferChecked. Both legs settle in one transaction, or neither does.
  • A mint with the Confidential Balances extension is accepted as a leg, but the amounts on that leg are public. The escrow cannot receive confidential transfers: configuring it for them would need the trade’s program-derived address to sign ConfigureAccount, and the program has no instruction that does that.
  • The program rejects any mint that carries the transfer fee extension. The PYUSD and USDG mints on mainnet carry it (with a zero fee), so they cannot be a DvP leg; USDC can.
As a result, none of the stablecoins named on Private payments that have Confidential Balances can be a DvP leg today. The same holds for DvP using delegation, which settles with delegated, public TransferChecked transfers. See supported tokens for the full list of extensions the program accepts.

​Confidential Balances

Confidential Balances is a Token-2022 extension that encrypts token balances and transfer amounts while trades still move between public token accounts.
  • Trade size and price: confidential transfer amounts and balances are encrypted. Moving tokens between an account’s public and confidential balances (deposit and withdraw) shows the amount in the clear, so the size of flows entering and leaving confidential balances is visible.
  • Counterparties: public. The mint, token accounts, and owners stay visible, so anyone can see who traded with whom.
  • Auditor and regulator access: each mint can set an optional auditor ElGamal key, set and rotated by the mint’s Confidential Balances authority. The auditor can decrypt every transfer amount for that mint, but not an account’s full balance. An owner can also share its own keys with a specific party, which discloses all of that owner’s confidential balances.
  • Atomic settlement: a confidential leg cannot settle through the DvP program (see above).
  • Tokens: only Token-2022 mints that enabled the extension when they were created. USDC is an SPL Token mint and cannot use it; see which stablecoins support it.

​Set up confidential trading for an asset you issue

  1. Enable it when you create the mint. Add the Confidential Balances extension at creation; it can’t be added later. See create a confidential mint, or the Enable confidentiality (optional) step of the Issue an asset tutorial.
  2. Approve accounts. With a manual approve policy, approve each investor’s account after your own checks, such as KYC, before it can trade confidentially. See approve accounts.
  3. Set an auditor key. Give an auditor or regulator the ability to decrypt transfer amounts. See configure an auditor and the auditor and compliance guidance.
  4. Choose how each trade settles. For atomic delivery versus payment, settle through the DvP program and accept that both legs are public. For confidential amounts, move each leg with a confidential transfer; these docs don’t cover settling two confidential legs atomically.
Learn how Confidential Balances works.

​Solana Privacy Rings

Solana Privacy Rings provide encrypted onchain balances and programmable privacy. Helius launched the permissionless Default Ring on Solana mainnet on November 10, 2026; Custom Rings are in security audit and not yet on mainnet. The asset and amount of a transfer are private; Custom Rings add policy and auditor controls and can also hide the counterparties. Helius describes private escrow in Solana programs for swaps and trading. Read the Solana Privacy Rings documentation.

​Private Channels

Coming soon. Private Channels is private execution infrastructure that an institution runs: participants deposit tokens into an escrow program on mainnet, transfer inside the channel, and withdraw back to mainnet. Transfers inside the channel are not recorded on mainnet, so outside observers can’t see them, and there is no public mempool. The institution controls who participates, what rules apply, and how data is accessed. The Private Channels docs don’t describe settling a trade inside a channel. OtterSec and Cantina have audited it, but those docs target the devnet program, which predates many of the audit fixes. Have the commit you deploy reviewed before you use it with real funds. Explore Private Channels or view the product page.