55 releases (5 breaking)
0.6.2 | Mar 17, 2023 |
---|---|
0.5.10 | Mar 9, 2023 |
0.2.20 | Dec 31, 2022 |
#5 in #mev
92 downloads per month
Used in coex
190KB
4.5K
SLoC
------------------------------------
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.
------------------------------------
cfmms-rs
Sync pairs simulate swaps, and interact with constant function market makers on Ethereum.
Supported Dexes
Dex | Status |
---|---|
UniswapV2 variants | ✅ |
UniswapV3 | ✅ |
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>
.
Dependencies
~38–56MB
~1M SLoC