Private settlement for Solana assets.
Shield SOL, USDC, SPL, and safe Token-2022 into one shared pool. Send privately, swap across any Solana DEX router, or disclose selectively — scanned directly from standard Solana RPC with zero custom indexer.
- Sender / Receiver
- Hidden (ring)
- Asset & Amount
- Hidden (A = G + a·H)
- Replay guard
- NullifierPDA (0 B)
- RPC dataSlice
- 64..1120 (1,056 B)
- Recovered
- 25,000 USDC
- Exec tx size
- 456 B (100% rent back)
Protocol guarantees
What stays private. What stays provable.
Privacy protocols fail in practice when they depend on fragile custom indexers, single-asset silos, or trusted ceremonies. Audren removes all three.
Zero custom indexer
Shielded notes append into fixed 6,240-byte Structure-of-Arrays EpochPage PDAs (32 notes/page, strictly below Solana’s 10 KiB CPI cap). Any client scans 100 pages (3,200 notes) in one standard getMultipleAccounts call using dataSlice[64..1120], or streams live notes via Agave programSubscribe.
No trusted setup
Spend authorization, nullifier uniqueness, asset conservation, and optional auditor encryption are proven via pure Ristretto255 Multi-Base Binary Triptych verified in a single batched Agave sol_curve_multiscalar_mul syscall, paired with Agave’s native ZkE1Gama1Proof Bulletproofs.
Any Solana DEX router
SwapViaRouter (Tag 5) routes shielded swaps through 16 sharded swap_escrow PDAs into any external Solana DEX aggregator or AMM — Jupiter, Orca, Raydium, Meteora, Phoenix, or custom routers. Vault authorities never sign external CPIs, and outputs settle straight into an unlinkable stealth note.
Opt-in institutional audit
Pools initialize as either Permissionless (user-controlled Mode 1 single-tx disclosure proofs + Mode 2 read-only viewing keys) or InstitutionalAudited, where every spend must cryptographically prove valid ElGamal encryption of sender and mint to K_aud on-chain.
Under the hood
Built for Agave 4.4+ from byte zero.
Inspect the exact byte layout, measured sBPFv3 Compute Units, ProofBuffer MTU chunking, and router custody boundaries verified in LiteSVM and live on Solana Mainnet.
Structure-of-Arrays pages replace custom indexers.
Instead of scattering note fields across an array of structs (forcing wallets to download entire accounts), Audren groups 32 notes by column inside a fixed 6,240-byte PDA. Placing view_tags[32] immediately before ephemeral_pks[32] lets standard Solana RPC return only the 1,056 bytes needed for discovery.
- CPI limit6,240 B < 10,240 B (atomic 1-CPI OpenPage rollover)
- SIMD-0460Fixed size, zero realloc, fail-fast is_writable checks
- SIMD-0437Reads live Rent::get(); caps per-note fee & auto-skips at 2-page buffer
- Empty slotsZero-point slots force 0·J = U, mathematically unspendable
Packed right behind view_tags[32]. One standard Solana getMultipleAccounts call with dataSlice: { offset: 64, length: 1056 } scans 100 pages (3,200 notes) in ~106 KB — 83% less bandwidth than full pages.
Architectural comparison
Where Audren sits on Solana.
Different Solana stacks optimize for different constraints: rent compression (Helius / ZK Compression), public-graph confidential balances (Token-2022), or circuit-based Merkle pools. Here is the exact engineering tradeoff.
| Property | Audren (sBPFv3) | Helius / ZK Compression | Token-2022 Confidential | Groth16 Merkle Pools |
|---|---|---|---|---|
| Custom indexer / RPC dependency | None — standard Solana RPC getMultipleAccounts & WS dataSlice[64..1120] | Requires Photon / ZK Compression RPC indexer for compressed state & validity proofs | None — reads native Token-2022 accounts directly | Requires custom Merkle-tree indexer & sync service |
| Hides sender, receiver & graph | Yes — 32 / 64 / 128-note Triptych rings + one-time stealth keys | State compression reduces rent; graph privacy depends on app-level shielded pools | No — sender/recipient accounts and transfer graph stay public | Yes — Merkle commitment anonymity set |
| Hides token mint in unified pool | Yes — SOL, SPL & safe Token-2022 share one pool via A = G_mint + a·H | Per-mint compressed token accounts | No — mint is public per token account | Usually separate pool per mint |
| Trusted setup ceremony | None — pure Ristretto255 + Agave native Bulletproofs | Groth16 validity proofs (BN254 ceremony) | None — ElGamal + Sigma + Bulletproofs | Required (BN254 circuit ceremony) |
| 1-tx swap across any Solana DEX | Yes — SwapViaRouter via isolated swap_escrow (Jupiter, Orca, Raydium, Meteora…) | Decompress to SPL first or app-specific composition | No — must unshield to public balance before swapping | Multi-tx relayer handoff or custom pool adapters |
| Compliance & auditability | Permissionless (Mode 1 disclosure + FVK) or protocol-enforced InstitutionalAudited | Application-defined | Optional mint-level ElGamal auditor key | Off-chain viewing keys / proof-of-innocence lists |
| Verified on-chain compute | 451k CU transfer (m=5) · 405k CU swap · 237k CU withdraw (sBPFv3) | ~100k–400k CU Groth16 verification + CPI | ~50k–150k CU native ZK ElGamal proof program | ~250k–400k CU alt_bn128 pairing verification |
Note: Token-2022 mints with PermanentDelegate, NonTransferable, active/mutable TransferHook, or non-zero/mutable TransferFeeConfig are rejected automatically at deposit time to preserve vault solvency and Pedersen conservation invariants.
System boundary & code
Three layers. Clean ownership.
The on-chain program enforces math and custody. Solana handles curve syscalls and RPC slicing. Wallets and aggregators stay completely permissionless.
Verification & Vault Custody
Fixed 6,240 B EpochPages, 0-byte NullifierPDAs, Multi-Base Triptych verifier, Cross-Base bridges, SwapViaRouter escrow guards, and ProofBuffer auto-close.
Native Syscalls & Standard RPC
Uses Agave’s native Ristretto255 MSM syscall, ZkElGamal Proof program for 64-bit Bulletproofs, live Rent::get() sysvar, and built-in RPC / WebSocket dataSlice.
Wallets, DEX Routers & Auditors
Rust prover crate (audren-client), zero-dependency TypeScript SDK (@audren/sdk), plug-and-play routing for Jupiter / Orca / Raydium / Meteora, and independent auditor decryption tooling.
audren-xyz/audren
Complete sBPFv3 on-chain program, #![no_std] core layouts, Rust prover/scanner SDK, zero-dependency TypeScript SDK, and 5-suite LiteSVM adversarial test suite.
git clone https://github.com/audren-xyz/audren.git
cargo test --test litesvm_e2e -- --nocaptureaudren-xyz/examples
End-to-end Rust shielded transfer CLI, offline institutional auditor decryptor, zero-dependency Mainnet dataSlice scanner, and Jupiter v6 SwapViaRouter integration.
git clone https://github.com/audren-xyz/examples.git
SOLANA_RPC_URL="..." node typescript/dataslice-scanner/index.mjsLive deployments
Deployed and verified on-chain.
Identical sBPFv3 binary, identical deterministic Program ID, and initialized canonical Pool #0 live on both Solana Mainnet-Beta and Devnet. Verify every receipt directly on Solana Explorer.
Mainnet-Beta
Production sBPFv3 · Pool #0 initialized
Solana Devnet
Integration & staging · Identical binary