Crates.io | cfmms |
lib.rs | cfmms |
version | 0.6.2 |
source | src |
created_at | 2022-12-09 20:49:26.392037 |
updated_at | 2023-03-17 19:23:25.780676 |
description | CFMM lib built in Rust enabling pair syncing and swap simulation with pools on Ethereum. |
homepage | https://github.com/0xKitsune/cfmms-rs |
repository | https://github.com/0xKitsune/cfmms-rs |
max_upload_size | |
id | 733484 |
size | 2,027,355 |
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.
Sync pairs simulate swaps, and interact with constant function market makers on Ethereum.
Dex | Status |
---|---|
UniswapV2 variants | ✅ |
UniswapV3 | ✅ |
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>
.