raydium-io / raydium-cp-swap

Revamped constant product AMM - no Openbook ID requirement, Token22 support
Apache License 2.0
66 stars 45 forks source link

raydium-cp-swap

A revamped constant product AMM program optimized for straightforward pool deployment along with additional features and integrations:

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

  1. Install Rust.
  2. Install Solana and then run solana-keygen new to create a keypair at the default location.
  3. Install Anchor.

Quickstart

Clone the repository and test the program.


git clone https://github.com/raydium-io/raydium-cp-swap
cd raydium-cp-swap && anchor test

License

Raydium constant product swap is licensed under the Apache License, Version 2.0.