Projects
View on GitHub
raydium-io/raydium-cp-swap
About
Revamped constant product AMM - no Openbook ID requirement, Token22 support
Other ProjectsMeasured star growth
- in 24h
- -1
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalraydium-cp-swap
A revamped constant product AMM program optimized for straightforward pool deployment along with additional features and integrations:
- No Openbook market ID is required for pool creation
- Token22 is supported
- Built-in price oracle
- Optimized in Anchor
The program has been audited by MadShield. The report can be found here.
The program assets are in-scope for Raydium’s Immunefi bug bounty program.
Environment Setup
Install
Rustcurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh rustup default 1.91.0Install
Solanash -c "$(curl -sSfL https://release.anza.xyz/v3.1.10/install)"then run
solana-keygen newto create a keypair at the default location.install
Anchor# Installing using Anchor version manager (avm) cargo install --git https://github.com/solana-foundation/anchor avm --locked --force # Install anchor avm install 1.0.2 avm use 1.0.2
Quickstart
Clone the repository and test the program.
git clone https://github.com/raydium-io/raydium-cp-swap
cd raydium-cp-swap && yarn && anchor test
License
Raydium constant product swap is licensed under the Apache License, Version 2.0.
Explore related projects
Loading…