7 releases

0.9.4 Dec 22, 2021
0.9.3 Dec 1, 2021
0.9.0 Nov 22, 2021
0.8.1 Nov 1, 2021
0.7.0 Oct 26, 2021

#562 in Magic Beans

30 downloads per month

AGPL-3.0

68KB
1.5K SLoC

cpamm

Crates.io License

Constant product automated market maker.

Description

Sencha's CP-AMM is a port of Uniswap V2 to the Solana blockchain; that is, it is a constant product market maker.

It supports all of the same functions as Uniswap V2:

  • Deposit
  • Withdraw
  • Swap

lib.rs:

Constant product automated market maker.

Dependencies

~8–11MB
~235K SLoC