Private settlement for Solana assets.
Shield SOL, USDC, USDT, PYUSD, SPL, and Token-2022 into one shared pool. Send privately, execute single-transaction swaps across any Solana DEX router, or disclose selectively — natively on Solana with no trusted setup.
- 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.
One shielded multi-asset pool for transfers, DEX liquidity access, and institutional auditability — verified natively on Solana with no trusted setup.
Unified multi-asset pool
Native SOL, Classic SPL (USDC, USDT, EURC, JitoSOL, cbBTC), and transferable Token-2022 mints (PYUSD, USDG, CASH, fee-on-transfer, and transfer hooks) share one global EpochPage pool via per-mint Ristretto255 generators G_mint. Every spend hides sender, recipient, token mint, and amount simultaneously inside 32, 64, or 128-note rings.
Private swaps on any DEX
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, Titan, DFlow, or custom routers. Vault authorities never sign external CPIs, and output settles 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.
No trusted setup & direct RPC
Spend authorization, nullifier uniqueness, and conservation use pure Ristretto255 Multi-Base Binary Triptych verified via Agave’s native sol_curve_multiscalar_mul syscall and native Bulletproofs. Notes sit in fixed 6,240-byte EpochPage PDAs readable via standard Solana RPC dataSlice[64..1120].
Under the hood
Built for Agave 4.4+ from byte zero.
Inspect router custody isolation, measured sBPFv3 Compute Units, ProofBuffer MTU chunking, and Structure-of-Arrays page offsets verified in LiteSVM and on Solana Mainnet.
Router-agnostic private swaps with strict custody walls.
SwapViaRouter (Tag 5) never couples Audren to one aggregator or forces users to unshield to a public wallet before trading. Exact amount_in moves into one of 16 isolated swap_escrow shards, which signs the CPI into any router. Post-CPI checks reject slippage violations, delegate injections, owner hijacks, and lamport drains.
- Nullifier firstNullifierPDA written before CPI — blocks re-entrancy & replay
- Router bindingrouter_program pubkey hashed inside Fiat-Shamir ctx_hash
- Signer wallvault_auth & payer NEVER marked signer on router CPI
- Account wallAudren program/state/vault accounts blocked from router_accounts
vault_auth PDA (Never signs CPI)
Holds pooled SOL, SPL, and Token-2022 balances. Transfers exact amount_in out to the escrow shard before CPI, and sweeps net_out ≥ min_amount_out back immediately after.
swap_escrow PDA (Sole CPI signer)
Zero-balance ephemeral execution shell. Post-CPI checks enforce immutable owner, zero delegate, unchanged close_authority, and lamports_after ≥ lamports_before.
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 |
|---|---|---|---|---|
| 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, Classic SPL & 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 |
| 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 |
| Trusted setup ceremony | None — pure Ristretto255 + Agave native Bulletproofs | Groth16 validity proofs (BN254 ceremony) | None — ElGamal + Sigma + Bulletproofs | Required (BN254 circuit ceremony) |
| State discovery / RPC | Standard Solana RPC getMultipleAccounts & WS dataSlice[64..1120] | Requires Photon / ZK Compression RPC indexer for compressed state & validity proofs | Standard Solana RPC reads native Token-2022 accounts directly | Requires custom Merkle-tree indexer & sync service |
| 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 |
Token-2022 note: Audren supports all transferable Token-2022 mints, including regulated issuers with PermanentDelegate (PYUSD, USDG, CASH), active TransferFeeConfig mints (exact post-transfer vault delta accounting), and TransferHook mints (sanitized non-signer trailing hook accounts). Soulbound NonTransferable mints are rejected natively by Token-2022.
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