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.
- Install Rust.
- Install Solana and then run solana-keygen new to create a keypair at the default location.
- Install Anchor.
Clone the repository and test the program.
git clone https://github.com/raydium-io/raydium-cp-swap
cd raydium-cp-swap && anchor test
Raydium constant product swap is licensed under the Apache License, Version 2.0.