Skip to main content

Deployed Programs

All programs are built with Anchor 0.30.1 on Solana 1.18.22 and use the Token-2022 token standard.

Shared Library: x0-common

The x0-common crate provides shared infrastructure used by all programs:
ModuleContents
constants.rs~100 protocol constants: fees, time windows, limits, PDA seeds, account sizes, CU estimates
error.rs7 error enums with ~122 structured error codes (0x1100–0x1721)
events.rs27 event structs emitted by all programs
state.rsShared types: EscrowState, Capability, AdminActionType
utils.rsFee calculation, hashing, timestamp validation
whitelist.rsWhitelistMode enum, Merkle/Bloom/Domain verification functions

Technology Stack

LayerTechnology
RuntimeSolana 1.18.22
FrameworkAnchor 0.30.1
Token StandardToken-2022 (SPL Token Extensions)
Extensions UsedTransferHook, TransferFee, ConfidentialTransfer
CryptographyTwisted ElGamal, Groth16, Ristretto255
ZK SDKsolana-zk-token-sdk
Client SDKTypeScript (@x0-protocol/sdk)
WASMwasm-bindgen + wasm-pack
Last modified on February 8, 2026