Coder Social home page Coder Social logo

sharadjaiswal1411 / raydium-cp-swap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raydium-io/raydium-cp-swap

0.0 0.0 0.0 220 KB

Revamped constant product AMM - no Openbook ID requirement, Token22 support

License: Apache License 2.0

Rust 78.22% TypeScript 21.78%

raydium-cp-swap's Introduction

raydium-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

  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.

raydium-cp-swap's People

Contributors

0x777a avatar rainraydium avatar rudy5348 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.