Documentation Index
Fetch the complete documentation index at: https://docs.raydium.io/llms.txt
Use this file to discover all available pages before exploring further.
Build, integrate, and trade
on Raydium.
The complete reference for AMM v4, CPMM, CLMM, Farm, LaunchLab, and Perps —
on-chain accounts, math, instructions, fees, SDK, and runnable code.
Choose your track
Three audiences. One source of truth.
Developers
Build and integrate. Quick start, SDK, REST API, Anchor IDL, Rust CPI patterns, Python.
Open SDK & API →Researchers
Audit and analyze. Architecture, algorithms, account state machines, fee economics, risk surface.
Read protocol overview →End users
Use Raydium safely. Wallet setup, your first swap, providing liquidity, claiming rewards.
Get started →Six on-chain programs
Every program. Every instruction. Every account.
Each chapter follows the same template — overview, accounts, math, instructions, fees, runnable code.
Hybrid AMM with OpenBook integration. Deepest liquidity for many pairs.
Standard constant-product. Token-2022 native. Recommended for new pools.
Concentrated liquidity. Capital-efficient market making across price ranges.
Reward distribution. Up to 5 streams. Token-2022 staking on v6.
Bonding-curve token launches. Configurable curves, creator fees, graduation.
Perpetual futures via Orderly Network. REST + WebSocket + Ed25519 signing.
Quick start
Run a real swap in five minutes.
Install the SDK, fund a Devnet wallet, and execute a swap end-to-end. Then drill into the SDK & API chapter for the full builder reference.
Open source
Community-maintained. PRs welcome.
Spotted a stale code sample, a wrong program ID, or a confusing explanation? Open an issue or send a PR. Translators welcome — Chinese skeleton is in place.



