Skip to content

One tree per asset ​

Alice’s note does not sit in a pool with every asset at once. Deposits, partial withdrawals, private payments, Private Send, private swaps, and private bridges use the same program and, for a given asset, the same tree. Two jobs touch two trees. A private swap spends a note in one asset’s tree and adds the new note to the other’s. A mining collect renews a note in its own tree and adds the reward to the VEILIX tree.

SOL notes do not mix with USDC notes. Inside one asset, notes share one set. The size and activity of that set are part of the privacy a user actually gets. Veilix does not calculate a privacy score, and it does not promise one.

Alice's device signs a deposit into the Veilix program. The relayer submits the withdrawal, and the program pays address B. The indexer serves leaves and quotes.

Click the diagram to open it full size.

Four roles stay separate. The client holds the secret and builds the proof. The program holds the funds and verifies the proof. The relayer submits the withdrawal. The indexer serves tree data and quotes. The indexer is not the source of truth. The program is.

Variable amounts ​

The protocol is designed for variable amounts, not a menu of fixed denominations. A note can hold any positive amount up to that tree’s deposit cap. Alice may withdraw all of it or part of it. The remainder, if any, is a change note.

Older fixed-denomination notes are not spendable on the current program. Current notes use the vx2- format.

Amount randomization is designed to reduce deterministic amount-based correlation. The protocol does not choose Alice’s amount for her. A distinctive public amount can still be a clue.

Assets listed in this book ​

AssetDecimalsDevnet treeLargest single deposit on devnet
SOL9Yes1,000 SOL
USDC6Yes, devnet USDC 4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU1,000,000 USDC
VEILIX9Yes, Gmo636w21RBZX9ySVtPYcuYP6f1E5bdW5eBYhvK1bc8J1,000,000 VEILIX
wBTC8No. Not usable on devnet—
wETH8No. Not usable on devnet—

USDC uses 6 decimals. wBTC and wETH use 8. Those are the Solana token decimals. wETH is not 18. VEILIX is a Token-2022 mint with no transfer fee. On the devnet indexer, https://api3.veilixprotocol.com, the SOL, USDC, and VEILIX trees exist. wBTC and wETH have no tree, and the app does not list them on devnet. This book does not publish a mainnet host. Private Send, as offered to partners, should be described as a devnet trial until production readiness is confirmed independently.

What the chain has to store ​

The chain keeps enough to verify deposits and withdrawals: commitments, Merkle roots, spent-note nullifiers, the instructions, and public inputs such as the recipient and the withdrawal amount. Optional note backups are ciphertext. The secret note is not published as a readable value. A zero-knowledge proof is not the same as hiding every transaction detail. The public inputs, and the activity around them, still matter.

For each asset the program keeps one tree, one treasury, and a nullifier account for each spent note. Network configuration holds the fee wallets, the configuration authority, the relayer limits, the deposit pause, and the address screening settings. SOL’s tree uses the seed tree. A token tree uses tree plus the mint. Tree height is 26. The latest 100 roots are accepted. A tree also stores maxDepositAmount, and a deposit above that cap is rejected. A token tree also stores the price cap that limits what a relayer may charge in that token.

Four more accounts serve the newer jobs. The swap configuration lists the exchange programs a private swap may call; on devnet that is Raydium’s CPMM program. The bridge configuration lists the chains a private bridge may reach. The relayer registry holds the stake token, the minimum stake, and one record per registered relayer. The mining configuration holds the reward schedule and the reserve.

The next page is the explicit boundary: what the design tries to withhold, and what an observer may still learn.