Everything in this documentation assumes a working Solana development toolchain. This page lists the tools, the minimum versions known to work with Raydium as of April 2026, and the specific setup gotchas. Start here before running any of the code examples in later chapters.
Core tools
Solana CLI
The canonical command-line interface for interacting with Solana clusters — wallet management, RPC calls, program deployment. Install:SPL Token CLI
The official CLI for SPL Token / Token-2022 operations — creating mints, minting tokens, transferring. Install (included with Solana CLI):Anchor CLI
Needed for fetching Raydium IDLs, building clients, and verifying programs. Install:TypeScript setup
The primary integration path for Raydium.Packages
Minimal script
sdk-api/typescript-sdk for the full SDK reference.
Rust setup
For CPI integration and on-chain programs.Toolchain
Program Cargo.toml for a Raydium CPI integration
"cpi" feature imports the cpi module with CPI helpers (so you can raydium_cp_swap::cpi::swap_base_input(...)). See sdk-api/rust-cpi.
Python setup
Secondary integration path — common for bot developers.Packages
Minimal script
sdk-api/python-integration.
RPC endpoints
Public mainnet RPC (api.mainnet-beta.solana.com) is heavily rate-limited and throttles under any load. For non-trivial usage, get a private endpoint:
Configure:
getProgramAccounts— unrestricted scans are expensive; some providers gate or charge per scan.getPriorityFeeEstimate— Helius-specific endpoint; others have equivalents.geyser/ WebSocket streaming — needed for low-latency bots; not all providers expose it.
Devnet and localnet
Devnet
Solana’s public test cluster. Raydium has a partial devnet deployment:- Some CPMM pools exist for testing.
- AMM v4 has historical devnet pools.
- CLMM has a few demo pools.
- Farm v6 is deployed.
cluster: "devnet":
Localnet with a forked mainnet state
For realistic testing, fork mainnet state into a local validator:- Unit-testing your CPI integration against a real Raydium program.
- Replaying a transaction with a modified parameter to debug.
- Stress-testing with large synthetic volumes.
Project templates
TypeScript integration starter
package.json:
Anchor CPI program starter
Useful CLI utilities
solana-keygen
Reading any account
Program logs
Transaction inspection
Environment hygiene
Separate wallets per purpose
- Development wallet: holds testnet SOL, used for building.
- Production wallet: holds real SOL, used only for deploys / multisig submissions.
- Hot wallet for bots: small balance, narrow permissions.
.env pattern
Version pinning
Lock all Solana-ecosystem dependencies. The ecosystem moves fast; a minor version bump of@solana/web3.js has previously introduced breaking changes. Use package-lock.json / Cargo.lock religiously.
Pointers
sdk-api/typescript-sdk— TypeScript SDK reference.sdk-api/rust-cpi— Rust CPI usage.sdk-api/python-integration— Python setup.solana-fundamentals/programs-and-anchor— Anchor background.

