A Rust SDK for building applications on top of Uniswap V4. Rewrite of the TypeScript V4 SDK.
It is feature-complete but missing unit tests.
- Opinionated Rust implementation of the Uniswap V4 SDK with a focus on readability and performance
- Usage of alloy-rs types
- Consistent API and types with the V3 SDK and SDK Core
By default, this library does not depend on the standard library (std
). However, the std
feature can be enabled.
Contributions are welcome. Please open an issue if you have any questions or suggestions.
Tests are run with
cargo test
Linting is done with clippy
and rustfmt
. To run the linter, use:
cargo clippy --all-targets --all-features -- -D warnings
cargo fmt --all -- --check
This project is licensed under the MIT License.
This project is inspired by and adapted from the following projects: