Raydium

Raydium is a Solana exchange for swaps and liquidity

Updated:

Raydium is a Solana exchange where people trade tokens from their own wallets and deposit token pairs to support those trades. Its permissionless programs combine constant-product pools, concentrated-liquidity pools, routing, and token launches. The platform suits self-custody users who want direct access to Solana markets, while liquidity provision adds range, price, and smart-contract risk.

On this page

The key choices are the pool route for a swap, the liquidity model for a deposit, and the cost created by each. This guide moves from the basic wallet path into pool mechanics, limitations, use cases, and alternatives.

Swapping Solana assets from a self-custody wallet

One signed Solana transaction through Raydium exchanges SOL, USDC, RAY, or another supported token without transferring custody to a centralized exchange.

Overview: Swapping Solana assets from a self-custody wallet
Stage User action Supported scope
1. Connect Authorize a Phantom, Solflare, or Ledger-backed session Solana wallet accounts
2. Fund Hold the input token and SOL for execution SOL and supported Solana tokens
3. Select Choose the input, output, and amount Pool-supported SPL Token pairs
4. Review Check route, minimum output, and price impact SPL Token and permitted Token-2022 assets
5. Sign Approve the prepared transaction in the wallet Assets covered by the selected Solana route

The route matters because one pair can have several markets. Raydium compares eligible CPMM, CLMM, and AMM v4 pools, then displays expected output, minimum output, pool fees, and price impact. A route uses one pool, multiple hops through an intermediate asset, or a split across pools. Each added hop introduces another pool fee and more accounts. Solana then executes the instructions atomically: all succeed together, or state changes roll back while the transaction fee remains spent. The wallet sees one approval even when the prepared message contains several program instructions and accounts.

What should a first Raydium swap include?

One compatible Solana wallet, enough SOL for fees, and the intended input token form a first Raydium swap.

Phantom and Solflare connect directly, while a Ledger device works through a compatible wallet interface. Raydium prepares instructions, and the connected wallet remains the signer.

One SOL equals 1,000,000,000 lamports, and Solana charges a base fee of 5000 lamports for each transaction signature. An optional priority fee and rent for a new associated token account increase the total. Keep SOL separate from the token being sold, since those charges draw from the SOL balance.

Before approving the signature, review four fields:

  • the input and output mint addresses;
  • the expected and minimum output;
  • the pool route and fee tier; and
  • the SOL remaining after execution costs.

A ticker does not uniquely identify a Solana mint, so matching the address matters. After confirmation, the output sits in the wallet’s associated token account.

Constant-product and concentrated-liquidity engines

Two modern pool designs drive Raydium liquidity: CPMM covers the full curve, while CLMM confines capital to chosen ranges.

CPMM across the full curve

CPMM deposits both assets across every price and issues fungible LP tokens representing each provider’s share. The CPMM program uses the invariant x × y = k, where x and y are vault reserves and k grows as LP fees remain in the pool. A swap removes one asset and adds the other, moving the quoted price with reserve imbalance. This design needs no range maintenance and supports classic SPL Token assets plus permitted Token-2022 configurations.

CLMM inside selected ranges

CLMM divides price space into ticks and records each position as a non-fungible token. Capital earns fees only while the market trades inside its lower and upper bounds. Raydium stores square-root price in Q64.64 format, using 64 integer and 64 fractional bits. Published fee configurations use tick spacing values of 1, 10, 60, and 120; each tick array holds 60 entries. Narrow ranges concentrate depth, but they leave the active range sooner and require repositioning.

AMM v4 remains operational for established pools, although its former OpenBook orderbook integration is deactivated. CPMM is the simpler default for new constant-product liquidity.

Where do swap costs come from?

Three cost layers shape a Raydium swap: the pool fee, Solana execution charges, and curve-driven price impact.

Published Raydium configurations define CPMM tiers of 0.01%, 0.25%, and 1%, while CLMM also includes a 0.05% tier. AMM v4 pools normally use 0.25%, although each pool stores its own parameters. CPMM and CLMM encode rates against a 1,000,000 denominator, while AMM v4 uses 10,000. A route through two pools pays two pool fees before delivering the final asset.

Price impact rises as trade size grows relative to active liquidity. Slippage tolerance sets the lowest acceptable output; it does not create another fee. A displayed 1% tolerance permits execution down to the stated minimum, while an expired or inferior quote stops the transaction. Token-2022 transfer fees, when enabled by a mint, apply separately from Raydium’s pool fee.

Liquidity positions, fee accrual, and range limits

Two assets enter a Raydium CPMM position at matching value, while one CLMM NFT records a selected price range.

CPMM ownership through LP tokens

A CPMM deposit follows the pool’s reserve ratio, so the wallet supplies both tokens in the required proportions. Fungible LP tokens represent a pro-rata claim on reserves and accrued LP fees. Removing liquidity burns those tokens and returns both assets. Relative price changes alter the withdrawal mix, creating impermanent loss against simply holding the assets. The position stays active across the whole curve, trading efficiency for minimal maintenance.

CLMM ownership through a position NFT

A CLMM deposit selects lower and upper price boundaries. Inside the range, the position supplies both assets and accrues its share of fees. Outside it, liquidity becomes inactive and shifts toward one asset, so fee accrual pauses until price returns or the range changes. One NFT identifies the position and its unclaimed amounts. A CLMM pool supports as many as three reward streams, but rewards still follow the pool’s range and program rules. Narrower boundaries deploy more capital near the market, yet they increase monitoring and repositioning demands.

Token-2022 transfer-fee mints add charges when assets enter or leave vaults. Supported extensions pass program allow-lists; AMM v4 accepts classic SPL Token mints instead. The position’s main limit is therefore its pool program, token behavior, and active price coverage.

RAY, LaunchLab, and protocol utility

Three product surfaces extend Raydium beyond swaps: RAY staking and buybacks, LaunchLab issuance, and liquidity incentives.

RAY staking and fee flow

RAY is an SPL token used in the protocol’s staking surface and fee economy. Standard CPMM and CLMM fee flows assign 84% to liquidity providers, 12% to RAY buybacks, and 4% to treasury. Standard AMM v4 directs 88% to liquidity providers and 12% to buybacks. Staking rewards vary with emissions and total stake, so a displayed annual rate is a live output rather than a fixed token property.

LaunchLab token issuance

LaunchLab creates Solana tokens and bootstraps liquidity through a bonding curve. Its program supports three curve shapes: constant-product, fixed-price, and linear-price. The creator sets a graduation target within allowed parameters; reaching it moves accumulated liquidity into a Raydium pool. Some configurations attach post-graduation creator-fee rights to a Fee Key NFT. The curve terms, supply controls, and migration settings define the launch rather than the token name. Trading before graduation uses the curve itself; after migration, the token follows ordinary pool routing, depth, and liquidity conditions.

Farm incentives

Farm v6 supports up to five simultaneous reward streams and accepts SPL Token or permitted Token-2022 staking assets. CPMM farm participants stake fungible LP tokens, while CLMM incentives accrue to eligible in-range positions without a separate staking step. Farm v3 and v5 remain available for older positions but no longer receive new farm deployments. Emission schedules end when their funded reward budgets or configured periods finish.

When does Raydium fit the user?

One self-custody workflow makes Raydium fit users who understand Solana wallets, token accounts, quotes, and irreversible signatures. Swappers gain direct access to on-chain SOL, USDC, RAY, and long-tail markets. Liquidity providers choose between low-maintenance CPMM exposure and actively managed CLMM ranges. Token creators gain permissionless pool creation and LaunchLab distribution tools. Users needing fiat deposits, account recovery, or native execution on Ethereum and Base need another service for those steps; Raydium’s operating boundary is the Solana network, which is covered in Raydium tutorial.

Jupiter, Orca, and Meteora as alternatives

Three Solana alternatives cover distinct decisions: Jupiter for routing, Orca for concentrated pools, and Meteora for dynamic liquidity.

Jupiter aggregates quotes across venues, including Raydium, so its workflow favors users who prioritize route discovery over direct pool selection. Orca’s Whirlpools use concentrated-liquidity ranges and provide another venue for SPL Token and supported Token-2022 pairs. Meteora’s Dynamic Liquidity Market Maker organizes liquidity into discrete price bins, giving providers a different rebalancing model. Raydium remains more direct for LaunchLab, RAY staking, pool creation, and positions already tied to its programs.

The deciding dimension is dependency: an aggregator adds routing breadth, while a single DEX gives direct control over its pool type, incentives, and position lifecycle.

Raydium wordmark above swaps, yield, and liquidity slogans

Frequently asked questions

Does Raydium support Token-2022 assets?

Raydium supports selected Token-2022 assets through CPMM and CLMM pools. Support follows extension rules, so a Token-2022 mint is not automatically eligible. Transfer-fee extensions also add mint-level charges to deposits, swaps, and withdrawals, separate from the pool fee. AMM v4 accepts classic SPL Token mints instead. Compatibility therefore rests on the mint program and enabled extensions, not its ticker.

Do I need RAY to make a swap?

RAY is not required to swap tokens or pay Solana network fees. The wallet pays execution charges in SOL, while the input asset supplies the trade amount. RAY belongs to Raydium’s staking and protocol-fee economy, so holding it is a separate choice. A user can exchange SOL for USDC, or another supported pair, without first acquiring RAY.

Can a Ledger device sign Raydium transactions?

A Ledger device can sign Raydium transactions through a compatible Solana wallet interface. Phantom and Solflare both provide hardware-wallet connection paths, while the device retains signing authority. The wallet displays the prepared transaction for approval, and SOL still covers network charges. Hardware signing changes key handling; it does not change the pool fee, route, price impact, or token compatibility.

How long is a Raydium transaction valid after a quote?

A standard Solana transaction uses a recent blockhash valid for 150 slots. The pool quote can change during that window because reserves and active CLMM liquidity change with other trades. If the blockhash expires, the wallet or interface must build a fresh transaction. A new quote also updates the minimum output, route accounts, pool fees, and any Token-2022 transfer-fee calculation.

What happens if a Raydium transaction fails?

A failed Raydium transaction leaves the proposed swap or liquidity state changes unapplied. Solana executes transaction instructions atomically, so one failing instruction rolls back the entire set; the paid transaction fee still remains spent. Common neutral causes include an expired blockhash, changed minimum output, insufficient SOL, or a missing token account. Rebuilding the transaction refreshes the quote and required accounts.

Is fiat payment available inside Raydium swaps?

Raydium swaps use assets already held in a Solana wallet, rather than bank cards or bank transfers. A separate service such as Coinbase or Kraken must first deliver SOL or a supported SPL token to the wallet where available. After the on-chain transfer settles, the asset can enter a Raydium route. Cash withdrawal follows the reverse path through a service supporting the user’s currency and jurisdiction.