custom-ray-inst

Crates.iocustom-ray-inst
lib.rscustom-ray-inst
version0.1.6
sourcesrc
created_at2024-11-22 16:48:53.165518
updated_at2024-11-22 19:45:43.322027
descriptionCustom Raydium instructions
homepage
repositoryhttps://github.com/Erichy-dev/rust_raydium_instructions
max_upload_size
id1457537
size89,709
ERIC NYAGA (Erichy-dev)

documentation

README

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:

Commit count: 0

cargo fmt