Technical & Institutional FAQ
Frequently Asked Questions
Direct engineering answers on storage, cryptography, Solana MTU execution, router isolation, and compliance boundaries.
Which Solana DEX aggregators and AMMs work with SwapViaRouter?
Any Solana DEX aggregator or AMM router that accepts a PDA signer — including Jupiter v6, Orca Whirlpools, Raydium, Meteora, Phoenix, Titan, DFlow, or custom AMM routers. SwapViaRouter (Tag 5) isolates exact amount_in inside one of 16 sharded swap_escrow PDAs, binds router_program inside the Fiat-Shamir transcript, never marks vault_auth or payer as signer, enforces post-CPI ownership/delegate/lamport/slippage invariants, and commits actual_out straight into an unlinkable stealth note.
How does Audren differ from Helius / ZK Compression or Token-2022 Confidential Transfers?
Helius / Light ZK Compression focuses on compressing account state via Groth16 validity proofs and requires a Photon compression indexer RPC. Token-2022 Confidential Transfers hides transfer amounts natively, while leaving sender/recipient accounts, transfer graphs, and token mints public and requiring unshielding before swapping on a DEX. Audren runs with no trusted setup while hiding sender, receiver, asset mint, and amount inside one shared multi-asset pool — and executing single-transaction swaps across any Solana DEX router.
Can an institutional auditor freeze or move funds in InstitutionalAudited pools?
No. The auditor holds only a read-only decryption scalar k_aud matching PoolState::auditor_pk. Every spend in an audited pool must prove valid ElGamal encryption of the spent stealth pubkey P_l and hidden asset generator G_mint under K_aud inside the on-chain Triptych + DLEQ equations — giving verifiable provenance with zero custody or spend authority.
How do large Triptych + Bulletproof proofs fit inside Solana’s 1,232-byte transaction limit?
Tag 8 (WriteProofBuffer) uploads payloads in parallel out-of-order <= 768 B chunks (each serialized wire tx <= 1,071 B, safely under Solana’s 1,232 B UDP/QUIC MTU) tracked by a u16 bitmask inside an ephemeral ProofBuffer PDA. Tag 9 (ExecBuffered, 2 bytes of instruction data) verifies and executes the proof zero-copy and atomically closes the buffer in the same transaction, refunding 100% of rent lamports back to the payer. Tag 10 (CloseProofBuffer) reclaims 100% rent from abandoned uploads.
How do wallets discover incoming notes and check spend status?
Shielded notes live inside fixed 6,240-byte EpochPage PDAs (32 notes/page) laid out in Structure-of-Arrays order. Wallets call standard Solana getMultipleAccounts or Agave programSubscribe WebSocket with dataSlice: { offset: 64, length: 1056 } to fetch view_tags[32] and ephemeral_pks[32] across 100 pages (3,200 notes) in ~106 KB. View tags reject 255/256 non-owned notes in one byte, and spent status is checked directly via 0-byte NullifierPDA account existence.
Can third parties or payment gateways deposit directly to a user’s shielded address?
Yes. Tag 2 (Deposit) requires zero user spend keys and zero ZK proofs from the depositor. Any wallet, treasury desk, or regulated payment gateway derives a fresh one-time stealth pubkey from the recipient’s public Audren address and calls Deposit; the on-chain program computes G_mint and V = net_received * G_mint directly.
Which tokens and Token-2022 extensions does Audren support?
Audren supports Native SOL, all Classic SPL tokens (including USDC, USDT, EURC, JitoSOL, cbBTC, and JUP), and all transferable Token-2022 mints — including regulated stablecoins with PermanentDelegate (PYUSD, USDG, CASH), fee-on-transfer TransferFeeConfig mints (accounting on exact post-transfer vault delta net_received so 1:1 solvency holds), and TransferHook mints (forwarding sanitized, non-signer trailing hook accounts while isolating Audren state and other vaults). Withdrawals are never blocked on mint extensions, while soulbound NonTransferable mints are rejected natively by Token-2022 itself.