Skip to content

About

No description, website, or topics provided.

Resources

Stars

38 stars

Watchers

2 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raydium CPI adapters are suitable for different Anchor versions. For the stability of the AMM contract, it cannot be updated to the latest versions of Anchor and Solana in a timely manner. If you want to use the latest version of Anchor, please rely on this repository. The master branch maintains the latest version, if relying on an older Anchor, please refer to other branches.

Environmental requirements

solana-cli 3.1.10
anchor-cli 1.0.2
rust >=1.9.0

Usage

Call CLMM through CPI.

[dependencies]
anchor-lang = "=1.0.2"
anchor-spl = "=1.0.2"
raydium-clmm-cpi = { git = "https://github.com/raydium-io/raydium-cpi", package = "raydium-clmm-cpi" }

Call CPMM through CPI.

[dependencies]
anchor-lang = "=1.0.2"
anchor-spl = "=1.0.2"
raydium-cpmm-cpi = { git = "https://github.com/raydium-io/raydium-cpi", package = "raydium-cpmm-cpi"}

Call AMM through CPI.

[dependencies]
anchor-lang = "=1.0.2"
anchor-spl = "=1.0.2"
raydium-amm-cpi = { git = "https://github.com/raydium-io/raydium-cpi", package = "raydium-amm-cpi" }

Call Launchpad through CPI.

[dependencies]
anchor-lang = "=1.0.2"
anchor-spl = "=1.0.2"
raydium-amm-cpi = { git = "https://github.com/raydium-io/raydium-cpi", package = "raydium-launch-cpi" }

You can find usage examples in this repository.

About

No description, website, or topics provided.

Resources

Stars

38 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages