Sync pairs simulate swaps, and interact with constant function market makers on Ethereum.
Dex | Status |
---|---|
UniswapV2 variants | ✅ |
UniswapV3 | ✅ |
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.
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>
.