XYZ Bridge
The XYZ Bridge enables cross-chain transfers between Solana and XYZ Chain. It uses a Pool Bridge architecture with a custom Anchor program on Solana, ensuring proper custody and supply conservation across both chains.How It Works
The bridge operates through a liquidity pool on Solana and thex/bridge module on XYZ Chain:
- Deposit (Solana to XYZ Chain) — Lock tokens in the pool vault, mint equivalent tokens on XYZ Chain
- Withdraw (XYZ Chain to Solana) — Burn tokens on XYZ Chain, release from pool vault on Solana
Supply Conservation
The bridge maintains a strict invariant — no tokens are created or destroyed in transit:| Direction | Solana Circulating | Pool Vault | XYZ Chain Supply |
|---|---|---|---|
| Before deposit | X | 0 | 0 |
| After deposit | X - amount | +amount | +amount |
| After withdraw | X + amount | -amount | -amount |
Key Features
Self-Custody
Your tokens are held in an auditable on-chain pool vault, not a centralized treasury.
User-Initiated Burns
You sign your own burn transactions on XYZ Chain — the relayer cannot move your funds.
Rate Limiting
Governance-controlled limits prevent abuse: max 1M XYZ per transaction, 10 burns per block.
Finality Confirmation
The relayer waits for 32-slot finality on Solana before processing deposits.
Supported Wallets
| Chain | Supported Wallets |
|---|---|
| Solana | Phantom, Solflare, and other Solana Wallet Adapter-compatible wallets |
| XYZ Chain | Keplr, Leap, XYZ Wallet |