raydium_skill

This skill guides you to integrate Raydium across Solana using SDKs, Trade API, and CLMM/CPMM pools for efficient DeFi development.
  • TypeScript

53

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill sendaifun/skills --skill raydium

  • SKILL.md9.3 KB

Overview

This skill is a complete Raydium Protocol SDK integration guide for Solana, providing a single source of truth for AMM, CLMM, CPMM, LaunchLab, farming, Trade API, CPI examples, and developer tools. It delivers practical TypeScript examples, API endpoints, program IDs, and transaction patterns to build swaps, liquidity management, pool creation, and token launches on mainnet and devnet. The content targets engineers integrating Raydium into wallets, dapps, or backend services.

How this skill works

The skill exposes the Raydium TypeScript SDK and HTTP APIs as canonical examples and code snippets. It shows how to initialize the SDK, fetch token and pool data, compute swaps, execute CPMM/CLMM/AMM transactions, create pools, and run LaunchLab token launches. It also documents program IDs, API endpoints, compute/fee parameters, and common transaction options for reliable execution on Solana.

When to use it

  • Building a frontend or backend swap interface that needs reliable routing and serialized transactions.
  • Integrating liquidity provision, LP position management, or concentrated liquidity (CLMM) in a wallet or dashboard.
  • Automating token launches and bonding-curve flows with LaunchLab.
  • Creating or migrating CPMM/AMM pools and querying pool/farm state via the Data API.
  • Implementing CPI calls or on-chain integrations with Raydium programs in Rust or TypeScript.

Best practices

  • Initialize the SDK with a dedicated Connection and owner Keypair; avoid exposing secret keys in client code.
  • Use the Trade API for quick swap quotes and serialized transactions, and fall back to the SDK for fine-grained control.
  • Set conservative slippage and computeBudgetConfig values, and include preflight checks when sending transactions.
  • Prefer CLMM for high capital efficiency and AMM/CPMM for simpler pair setups; choose pool type based on liquidity and management needs.
  • Cache token lists and pool metadata from the Data API but refresh frequently to avoid stale on-chain assumptions.

Example use cases

  • A wallet integrating a seamless swap flow: quote via Trade API, display fees, and execute SDK transaction.
  • A yield optimizer that creates and manages CLMM ranges, auto-rebalances, and stakes LP positions into farms.
  • A launch platform automating LaunchLab token creation with bonding curve parameters and migration thresholds.
  • A backend service that monitors pool state and issues liquidity or swap ops via CPI examples for programmatic trading.
  • A marketplace using CPMM to bootstrap new token pairs and later graduating them to AMM pools once thresholds are met.

FAQ

Use the Trade API HTTP endpoints for fast quotes and serialized transactions; use the SDK when you need low-level control or to build complex multi-step flows.

When should I choose CLMM over CPMM or AMM?

Choose CLMM for capital efficiency and active LP management (custom price ranges). Use CPMM for simple, permissionless pools and AMM when you need OpenBook order-book hybrid liquidity.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
raydium skill by sendaifun/skills | VeilStrat