#swap #solana #anchor #amm #sencha

cpamm

Sencha constant-product automated market maker

10 unstable releases (3 breaking)

0.10.1 Mar 20, 2022
0.10.0 Feb 28, 2022
0.9.6 Jan 17, 2022
0.9.4 Dec 22, 2021
0.7.0 Oct 26, 2021

#8 in #amm

33 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

~26–36MB
~579K SLoC