# Raydium Contract Instructions Rust API bindings for Raydium's on-chain smart contracts. This repository provides Anchor-compatible SDKs for interacting with Raydium's core protocols on Solana. ## Overview This repository contains Anchor bindings and client implementations for Raydium's core protocols: - AMM (Automated Market Maker) - Stable AMM - Farming - Staking ## Packages The repository is organized into several key packages: ### Core Packages - **lib**: Core instruction definitions and stats - **amm-anchor**: Anchor bindings for AMM operations - **stable-amm-anchor**: Anchor bindings for Stable AMM operations - **farm-anchor**: Anchor bindings for farming operations - **staking-anchor**: Anchor bindings for staking operations - **client**: Rust client implementation for interacting with the protocols ### Program IDs - AMM: `675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8` - Stable AMM: `5quBtoiQqxF9Jv6KYKctB59NT3gtJD2Y65kdnB1Uev3h` - Farm: `CBuCnLe26faBpcBP2fktp4rp8abpcAnTWft6ZrP5Q4T` - Staking: `EhhTKczWMGQt46ynNeRX1WfeagwwJd7ufHvCDjRxjo5Q` ## Features - Full Anchor compatibility - Comprehensive instruction builders - Account validation and type safety - Support for all core Raydium operations: - Liquidity provision - Token swaps - Yield farming - Token staking - Emergency withdrawals - Pool management ## Installation Add the desired packages to your `Cargo.toml`: