Documentation

Overview

A confidential balance is an ordinary SPL balance with the number encrypted. Everything else about the account stays exactly where it was.

What this is

Solana stores token balances in the clear. Anyone can open an explorer, paste an address, and read that account's holdings to the decimal, forever, without asking permission. For a protocol that is a feature. For a person it means their salary, their treasury and their position are public documents.

Nullifier uses the Token-2022 confidential transfer extension together with Solana's native zk-ElGamal proof program to encrypt the amount held in an account and the amount moved by a transfer. It is not a new chain, a bridge, a mixer or a custom token program. A confidential account is still an SPL token account, held by the same wallet, under the same mint.

ChainSolana mainnet, no second chain or rollup
Token standardToken-2022 confidential transfer extension
Proof systemElGamal over curve25519, verified by the native ZkElGamalProof program
CustodyNon custodial, the key is derived on your device
SettlementOne transaction, ordinary Solana finality

What it hides

This is the part worth being exact about, because a privacy tool you cannot reason about is not a privacy tool. Confidential balances hide amounts. They do not hide identities and they do not break the graph.

Encrypted
  • The balance held in the account
  • The amount sent in a transfer
  • The amount received
  • Pending credits awaiting apply
Still public
  • Your address
  • Who you transacted with
  • When each transfer happened
  • That a transfer happened at all
  • Which mint was involved

Someone watching the chain can still see that your address sent something to an exchange this morning. They cannot see how much. For a full account of what that leaves exposed, read the threat model.

Shape of the system

There are three moving parts and none of them are new infrastructure.

  • The token account. An SPL account with the confidential transfer extension enabled. It has a public side and a confidential side, and you move value between them.
  • The ElGamal keypair. Derived on your device from a wallet signature. The protocol never receives it.
  • The proof program. Solana's own verifier. It checks that a transfer is well formed without decrypting anything.

Being exact

Most privacy projects describe themselves in the strongest terms their lawyers will allow. The result is users who believe they are anonymous when they are not, which is worse than no privacy at all, because it changes what people are willing to do on chain.

The claim, in one line
Nullifier hides amounts. Addresses, counterparties, timing and the transaction graph stay public, exactly as they are today.

Everywhere these docs could overstate something, they understate it instead. If a page tells you a thing leaks, it leaks.

Where to go next