Parfournir.
Skills/raunit-dev/Raydium protocol

Raydium protocol

Complete Raydium Protocol SDK - the single source of truth for integrating Raydium on Solana.

sdk
by @raunit-dev
SKILL.md

Raydium Protocol - Complete Integration Guide

The definitive guide for integrating Raydium - Solana's leading AMM and liquidity infrastructure powering DeFi since 2021.

What is Raydium?

Raydium is a decentralized exchange on Solana providing:

  • Token Swapping - Fast, cheap swaps via smart routing across all pool types
  • Liquidity Provision - Earn trading fees and rewards by providing liquidity
  • Token Launches - LaunchLab for permissionless token launches with bonding curves
  • Perpetual Trading - Leverage trading on crypto assets
  • Key Statistics

  • Most widely integrated liquidity infrastructure on Solana
  • 35,000+ tokens launched via LaunchLab (2025)
  • Multiple pool types for different use cases
  • Core Products

    Pool Types


    | Type | Description | Best For |
    |------|-------------|----------|
    | CLMM | Concentrated Liquidity Market Maker | Professional LPs, stablecoin pairs, active management |
    | CPMM | Constant Product (x*y=k) with Token22 | New token launches, simple integrations |
    | AMM V4 | Classic AMM + OpenBook CLOB | Existing markets, hybrid liquidity |

    Additional Features

  • LaunchLab - Permissionless token launches with bonding curves
  • Farms - Yield farming and staking rewards
  • Burn & Earn - Permanent liquidity locking
  • Trade API - HTTP API for swap routing
  • API Overview

    1. SDK (TypeScript)

    Package: @raydium-io/raydium-sdk-v2

    For programmatic integration with full control over pools, positions, and transactions.

    2. Trade API (HTTP)

    Base URL: https://transaction-v1.raydium.io

    For swap routing - get quotes and serialized transactions via HTTP.

    3. Data API

    Base URL: https://api-v3.raydium.io

    For pool data, token lists, farm info, and configurations.

    Quick Start

    Installation

    npm install @raydium-io/raydium-sdk-v2
    

    or


    yarn add @raydium-io/raydium-sdk-v2

    Basic Setup

    ```typescript
    import { Raydium } from '@raydium-io/raydium-sdk-v2';

    Details

    Categoryblockchain
    Typesdk
    Sourcegithub

    Use this skill

    Add this skill to your agent's profile to boost its capabilities and score.

    Add to My Agent