https://github.com/camerodev/uniswap-rs
Unofficial Rust SDK library for Uniswap smart contracts.
https://github.com/camerodev/uniswap-rs
Last synced: about 1 month ago
JSON representation
Unofficial Rust SDK library for Uniswap smart contracts.
- Host: GitHub
- URL: https://github.com/camerodev/uniswap-rs
- Owner: camerodev
- License: mit
- Created: 2024-03-15T20:50:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-15T20:50:50.000Z (about 1 year ago)
- Last Synced: 2025-04-07T16:43:29.623Z (about 2 months ago)
- Language: Rust
- Homepage:
- Size: 362 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# uniswap-rs
[![Crates.io][crates-badge]][crates-url]
[![MIT License][mit-badge]][mit-url]
[![CI Status][actions-badge]][actions-url][crates-badge]: https://img.shields.io/crates/v/uniswap-rs.svg
[crates-url]: https://crates.io/crates/uniswap-rs
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
[mit-url]: https://github.com/danipopes/uniswap-rs/blob/master/LICENSE
[actions-badge]: https://github.com/danipopes/uniswap-rs/workflows/CI/badge.svg
[actions-url]: https://github.com/danipopes/uniswap-rs/actions?query=workflow%3ACI+branch%3AmasterUnofficial Rust SDK library for Uniswap smart contracts.
## Quickstart
Add this to your Cargo.toml:
```toml
[dependencies]
uniswap-rs = { git = "https://github.com/danipopes/uniswap-rs" }
```And this to your code:
```rust
use uniswap_rs::prelude::*;
```## Examples
Examples can be found [here][examples].
[examples]: https://github.com/danipopes/uniswap-rs/tree/master/examples
## Roadmap
- [ ] [UniswapV2 protocol](https://docs.uniswap.org/contracts/v2/overview)
- [x] Implementation
- [x] Documentation
- [ ] Tests
- [ ] [UniswapV3 protocol](https://docs.uniswap.org/contracts/v3/overview)
- [ ] Implementation
- [ ] Documentation
- [ ] Tests
- [ ] [UniversalRouter](https://docs.uniswap.org/contracts/universal-router/overview)
- [x] Implementation
- [x] Documentation
- [ ] Tests
- [x] [Contract addresses](src/contracts/addresses.json)
- [x] Uniswap
- [x] Sushiswap
- [x] Pancakeswap
- [x] Quickswap
- [x] Spookyswap
- [x] Traderjoe
- [ ] Features
- [x] Serde, Addressbook and `new_with_chain`
- [ ] V2 and V3, separated## License
This project is licensed under the [MIT license](https://github.com/danipopes/uniswap-rs/blob/master/LICENSE).