
Zero-knowledge
native to Solana
Groth16 proofs over BN254, generated on your Mac. Poseidon commitments, nullifiers and stealth addresses, verified natively on Solana.
The Problem
Every Solana Payment is public
On Solana anyone can read every transfer: who paid, who received, how much and when. Your wallet becomes a diary that anyone can open, forever.
The Solution
Introducing B2
A shielded note pool on Solana. Value lives as Poseidon commitments in an on-chain Merkle tree. Spending a note requires a Groth16 proof of ownership and membership, generated on your Mac. The chain sees a valid proof and a nullifier, and nothing that links either to you.
Key Capabilities
Built so nobody can follow the money
Sender anonymity
Every spend proves membership in the full commitment tree. The chain sees a nullifier, never which note was spent.
Recipient privacy
Outputs are fresh commitments with the note encrypted to the recipient. Only their key can detect and decrypt it.
Confidential amount and token
Value and asset ID live inside the commitment. The circuit enforces balance conservation without revealing either.
Unlinkable addresses
Each payment derives a one-time key from your B2 address. Payments to the same address share nothing on chain.
Client-side proving
Groth16 proofs over BN254 are generated on your Mac. Spending keys and witnesses never leave the device.
No indexer trust
The wallet rebuilds the commitment tree locally from Solana RPC. No indexer and no trusted server holds your state.
How it works
Your first shielded payment
1
Connect to Solana
Download B2 for macOS and move it to Applications. Open the app and enter your Solana RPC endpoint.
2
Shield your SOL
Move SOL from your public account into B2. This deposit into your shielded balance is visible onchain.
3
Send a private payment
Enter the amount and B2 address. Your Mac generates the proof, and a relay submits it and pays the fee.
2³²
Notes in a depth-32 Poseidon tree
320B
Groth16 proof data per private transfer
<2s
Client-side proving on Apple M5
FAQs
Frequently Asked Questions
How does B2 hide the sender, recipient and amount?
Each transfer spends notes from a depth-32 Poseidon commitment tree and creates new ones. Your Mac generates Groth16 proofs of ownership, tree membership and balance conservation, and Solana verifies them on chain. Only nullifiers and new commitments are published.
What is visible on chain?
Shielding and unshielding are public: the Solana address, the amount and the token. Private transfers reveal only that a B2 transaction occurred. Transactions are submitted through the B2 relay, which sees your IP address but never your keys, balances or counterparties.
Has B2 been audited?
Not yet. B2 is in public beta with deposit limits enforced on chain: 1 SOL per deposit and 25 SOL in total. Withdrawals are never restricted. The current proving keys come from a single-party setup. A public multi-party ceremony and an independent audit are planned before limits are raised.
What does it cost?
Shielding costs a standard Solana network fee, paid from your public account. During the beta, the B2 relay pays the fee for private transfers and unshields. No subscription, no account.
Which tokens and platforms are supported?
SOL on macOS with Apple Silicon during the beta. More tokens and platforms are planned.




