Raydium

Raydium is a Solana Exchange for AMM Swaps, Liquidity and Token Launches

Raydium is a Solana exchange where automated market makers - user-funded token pools - quote swaps and launch curves price new assets before open-market trading. Its programs support constant-product pools, concentrated liquidity and token launches without taking custody of a wallet's private keys. A trader signs each state change on Solana, while liquidity providers deposit assets into contracts that earn fees. It fits users seeking direct access to Solana markets, but pool depth, token rules and contract governance remain part of every decision.

Last updated

One SOL-to-USDC Swap Shows the Core Workflow

One SOL-to-USDC swap captures Raydium's core use: a wallet signs a Solana transaction that exchanges one asset for another through one or more on-chain liquidity pools.

The quote engine compares eligible CPMM, CLMM and AMM v4 liquidity, then presents an expected output and a minimum acceptable output. A direct route touches one SOL/USDC pool. A multi-hop route passes through an intermediate mint when that combination returns more USDC after pool fees and price impact. The wallet authorizes named program instructions, not a transfer of private-key control, and Solana records the completed exchange under a transaction signature.

The quote is temporary. Reserve movement before execution changes the available output, so the signed minimum protects the trade from settling below its limit (more in Raydium in practice ).

Four Solana Venues Serve Different Trading Decisions

Four Solana venues illustrate the decision clearly: Raydium supplies pools, Jupiter aggregates routes, Orca Whirlpools concentrates liquidity and Meteora distributes liquidity across price bins for traders and LPs.

Jupiter suits a swapper who wants competing routes across several exchanges, and its winning route may still use Raydium liquidity. Orca Whirlpools presents another concentrated-liquidity system with range positions. Meteora DLMM divides liquidity into discrete bins and applies its own fee logic. Phoenix uses a central limit order book rather than an AMM curve, which matters when explicit bids and asks are the priority. Raydium stands apart by combining routed swaps, full-range pools, concentrated positions and LaunchLab within one Solana product set.


Three Pool Designs Divide Passive and Active Liquidity

Three Raydium pool designs divide liquidity by management burden: CPMM spans the full curve, CLMM confines capital to ranges and AMM v4 preserves the legacy constant-product route.

CPMM Keeps Liquidity Across the Curve

CPMM uses the x × y = k invariant and issues fungible LP tokens that represent a proportional claim on both vaults. Liquidity stays available across the entire positive price curve, so providers do not choose boundaries. This program supports the original Solana Token Program and supported Token-2022 mints, including transfer-fee tokens whose extra deductions enter the quote.

CLMM Concentrates Capital Within Bounds

CLMM assigns each position a lower price, an upper price and a position NFT. Capital works only inside those boundaries, allowing the same deposit to quote more depth near the chosen market price. The trade-off is active range management and a token mix that changes as swaps cross the position.

An In-Range Position Earns Pool Fees

An in-range CLMM position contributes to active liquidity and accrues its share of fees. Narrower ranges concentrate more capital near the current price, increasing sensitivity to movement.

An Out-of-Range Position Holds One-Sided Inventory

An out-of-range position stops contributing to active swaps and therefore stops earning trading fees. Its inventory becomes predominantly one token until price returns or the owner repositions it.

AMM v4 Preserves Legacy Pool Liquidity

AMM v4 remains operational with constant-product pricing and a fixed fee model. Its former OpenBook liquidity-sharing path is deactivated, so present execution follows the AMM curve. The program lacks Token-2022 support and is no longer the default for new pools, yet established pairs can still route through its reserves.

Four Fee Tiers Separate Pool Cost From Network Cost

Four CLMM fee tiers, three CPMM tiers and one fixed AMM v4 tier make the pool program the first cost variable in any Raydium quote.

Raydium CLMM offers four fee tiers - 0.01%, 0.05%, 0.25% and 1.00% - with respective tick spacings of 1, 10, 60 and 120. CPMM offers 0.01%, 0.25% and 1.00% configurations, while AMM v4 uses 0.25%. In the standard CPMM and CLMM split, 84% of the trading fee stays with liquidity providers, 12% funds RAY buybacks and 4% goes to the treasury. Creating a CPMM pool also carries a one-time 0.15 SOL protocol fee.

Solana network cost sits outside those percentages. The base fee is 5,000 lamports per signature, and 1 SOL contains 1,000,000,000 lamports. An optional priority fee equals the selected compute-unit price multiplied by the compute-unit limit, divided by 1,000,000 because prices use micro-lamports. Account creation can add rent-exempt funding, so a wallet needs more SOL than the visible swap amount alone.

Three Prerequisites Open a First Raydium Session

Three prerequisites cover a first Raydium session: a Solana wallet that signs version 0 transactions, a token balance and enough SOL for network fees and account creation. Phantom and Solflare provide common software-wallet paths, while Ledger works through compatible interfaces. RAY is not required for swaps or liquidity. Connecting exposes a public address; only a signed transaction authorizes token movement. Retaining SOL for fees prevents the trade amount from consuming the reserve.

Two Deposited Assets Become Tradable Pool Inventory

Two deposited assets turn a Raydium liquidity provider into a proportional owner of pool inventory, with fee income offset by price movement and changing token composition.

A CPMM deposit must match the pool's existing reserve ratio. The program returns fungible LP tokens, and withdrawing burns those tokens for the owner's share of both reserves plus embedded fees. This format suits capital that should remain available across the full curve. It still creates divergence loss when relative token prices move, because arbitrage changes the quantities held by the pool.

A CLMM deposit replaces the fungible share with a unique position carrying two price boundaries. Fees accrue separately to that position while its range remains active. Narrow ranges use capital efficiently, but they demand closer monitoring and repositioning transactions. A provider should evaluate expected volume, range width, token volatility and the cost of returning the position to market before choosing that structure.

Farm v6 adds reward streams to eligible LP positions, while the underlying pool fees and market exposure continue under the original pool program.

Three LaunchLab Curves Lead to a CPMM Pool

Three LaunchLab curve shapes - constant-product, fixed-price and linear-price - let Raydium launch a token before its liquidity moves into a post-graduation CPMM pool for standard secondary-market trading on Solana.

The launch records its supply, quote mint, curve formula, fees and graduation threshold at initialization. A common configuration sells 80% of the maximum base supply through the curve and reserves 20% for the resulting pool, while the default curve-trade fee is 1%. Those values are launch parameters rather than universal promises. Once the quote vault reaches its fixed threshold, graduation is permissionless and one-way: reserves seed a CPMM pool, curve trading ends and the base mint authority is revoked. Token-2022 launches graduate to CPMM rather than AMM v4.


Two Contract Layers Define the Material Risk

Two contract layers determine Raydium risk: the exchange program governs pool behavior, while each token mint defines supply authority, freezing rights and optional Token-2022 extensions.

The core programs remain upgradeable under a 3-of-4 Squads multisig with a 24-hour timelock. A separate 3-of-5 treasury multisig administers fee configurations and protocol revenue without that upgrade delay. This structure supports maintenance but introduces governance reliance that an immutable program would not carry. Audit coverage evaluates specified code and releases; it does not remove price exposure, configuration changes or integration errors from a signed transaction.

Token rules matter independently of Raydium's code. The original Token Program provides standard mint and token accounts, while Token-2022 adds extensions such as transfer fees and transfer hooks. A transfer fee reduces the amount that reaches a pool or wallet, and the quote must account for each charged leg. RAY provides a useful fixed reference: it has 6 decimals, a maximum supply of 555,000,000 RAY and a disabled mint authority.

Pool depth is a separate financial constraint. A large order against shallow reserves causes high price impact even when the displayed market value looks substantial. Matching the mint address and reviewing the quoted minimum directly address the transaction being signed.


One Invariant and a Tick Grid Set Execution

One constant-product invariant, x × y = k, explains CPMM execution: every swap changes both reserves while preserving their product after fee adjustments inside the Raydium pool.

When input enters one vault, output leaves the other, and the curve makes each additional output unit progressively more expensive. Trade size relative to reserves therefore drives price impact. Slippage tolerance serves a different purpose: the transaction sets minimum output as the quote multiplied by one minus the chosen tolerance. If execution would return less, the transaction fails rather than settling at a weaker amount. Multiple hops repeat this fee and curve process at each pool.

CLMM applies related logic across a tick grid instead of one full-range reserve curve. It stores square-root price in Q64.64 format, using 64 integer bits and 64 fractional bits. Each tick represents a 1.0001 price ratio, and the supported index range runs from −443636 to 443636. Swaps consume active liquidity and cross initialized ticks as needed, linking range selection directly to execution depth.


Raydium promotional banner with swaps, yield, and liquidity slogan

Five Checks Produce a Defensible Raydium Decision

Five checks are enough for a Raydium decision brief because pool identity, mint identity, output limits, fee funding and product fit drive the transaction's outcome.

  • Match the token mint address and identify whether the Token Program or Token-2022 controls it.
  • Compare the quoted output and route with Jupiter when venue competition matters.
  • Identify CPMM, CLMM or AMM v4 and read the fee tier attached to that pool.
  • Leave SOL for the 5,000-lamport signature fee, priority fees and any rent-exempt account funding.
  • Choose swaps for exchange, CPMM for full-range liquidity, CLMM for managed ranges and LaunchLab for a new-token curve.

The neighboring topic is handled in Raydium alternatives. These checks separate mechanism from preference. The wallet remains the signing authority, the selected program determines pool math and the mint defines token behavior. That division makes the final choice concrete: confirm the assets, understand the route and sign only when the minimum output and product exposure match the intended action.

Raydium FAQ

Do I need an account or RAY balance to trade on Raydium?

No, Raydium requires neither an account nor a RAY balance for a spot swap. A Solana wallet supplies the public address and signs the transaction. The wallet needs the input token plus enough SOL for the 5,000-lamport signature fee, any priority fee and account creation. RAY remains the protocol token used in staking, liquidity markets and fee-funded buybacks, but swaps pay pool fees in the traded asset.

Is Raydium available on chains other than Solana?

Raydium's native pool programs operate on Solana, so direct Raydium swaps and liquidity positions settle there. Assets that originated elsewhere must exist as Solana-compatible tokens before those programs can use them. A bridge or centralized withdrawal handles the move into Solana; that transfer is separate from the exchange. Wrapped BTC or ETH held on Solana does not turn the pool into a multichain market because its vaults, accounts and transaction fees still follow Solana rules. The wrapped asset remains represented by a Solana mint.

Which hardware wallets work with Raydium transactions?

Ledger devices work with Raydium through Solana wallet interfaces that support the required transaction format. Phantom and Solflare both provide established connection paths for compatible Ledger accounts. The software wallet builds and displays the transaction, while the Ledger device signs it. Compatibility depends on the wallet, firmware and enabled Solana application, so the relevant test is whether the connected account can review and sign version 0 Solana transactions.

How long does a Raydium swap take to confirm?

A Raydium swap confirms on Solana's schedule rather than a protocol-specific timer. A standard transaction uses a recent blockhash with a 150-slot validity window, giving the network a bounded period to include it. Actual confirmation time reflects validator scheduling, congestion, priority-fee selection and RPC delivery. If the blockhash expires first, the signed transaction no longer executes and the interface must build a new one with a fresh quote and blockhash before the wallet signs again. No asset moves when that expired transaction is replaced.

What identifies the correct token on Raydium?

The Solana mint address uniquely identifies a token on Raydium. A symbol is display metadata and can appear on more than one mint, while the address selects the actual token program and supply record. The mint account also reveals decimals, mint authority, freeze authority and Token-2022 extensions. Checking that address before signing aligns the swap with the intended asset and exposes transfer-fee behavior that changes the received amount.

Does disconnecting a wallet withdraw liquidity positions?

No, disconnecting a wallet does not withdraw or close a Raydium liquidity position. CPMM ownership remains represented by LP tokens in the wallet, while CLMM ownership remains tied to its position NFT and on-chain position account. Disconnecting only ends the interface session; it sends no program instruction. The owner must reconnect the controlling wallet and sign a withdrawal or position-closing transaction to move assets. Fees continue accruing when the position remains eligible and active. Disconnecting does not pause the pool or its accounting.

Can the same token pair have several Raydium pools?

Yes, the same pair can have several Raydium pools with different programs or fee configurations. A SOL/USDC pair can exist in CPMM, CLMM and AMM v4, and CLMM can separate liquidity by fee tier. Each pool has its own address, reserves and execution state. Routing compares eligible paths, so one pool's deeper liquidity or narrower active range can produce a better quote than another pool holding the same two mints.