Developer Overview
Developer Overview
XDEX is a Solana and X1-native decentralized exchange powered by a custom Automated Market Maker (AMM) and aggregator integration.
🔧 AMM Architecture
XDEX’s AMM smart contract is a modified and modernized fork of Raydium's swap program, adapted to include:
A flat fee logic (0.28%) unified across AMM and aggregator swaps
Simplified vault-based reward routing
Native compatibility with both Solana and X1 blockchains
Support for Swap-to-Earn and on-chain real yield tracking
We’ve retained Raydium’s proven architecture where appropriate and introduced targeted upgrades for:
Cleaner program logic
Flexible fee allocation
Improved reward transparency
DAO-controlled emission redirection after rewards end
🔀 Aggregator Routing
XDEX’s routing layer integrates directly with the Jupiter aggregator:
Solana: via Jupiter’s open routing system
X1: custom routing module forked and extended from Jupiter’s Metis engine
The aggregator system supports:
Dynamic route discovery
Best-price execution
Revenue fee tracking (0.05%) redirected to the USDC rewards vault
💡 Why Fork Raydium?
Raydium’s battle-tested AMM structure offers deep composability and reliability. By selectively forking and extending it, XDEX ensures:
Compatibility with existing Solana tooling
Proven performance under load
Easier developer onboarding
Our enhancements simplify long-term token alignment and reduce technical debt.
Last updated