Skip to content

The predecessor to `amms-rs`. CFMM lib built in Rust enabling pair syncing and swap simulation with pools on Ethereum.

Notifications You must be signed in to change notification settings

AmazingGame/cfmms-rs

 
 

Repository files navigation

cfmms-rs

Note: cfmms-rs has been updated and migrated into amms-rs. In the near future this repo will be archived and redirect to amms-rs.

Sync pairs simulate swaps, and interact with constant function market makers on Ethereum.

Supported Dexes

Dex Status
UniswapV2 variants
UniswapV3

Tests and Docs are still being written 🏗️.

Tests are still being written, assume bugs until tested. If you would like to help contribute on the tests or docs, feel free to open up an issue or make a PR.

Running Examples

To run any of the examples, first set a local environment variable called ETHEREUM_MAINNET_ENDPOINT. Then you can simply run cargo run --example <example_name>.

About

The predecessor to `amms-rs`. CFMM lib built in Rust enabling pair syncing and swap simulation with pools on Ethereum.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 77.5%
  • Solidity 22.5%