#ethereum #uniswap #smart-contracts #sdk #eth #dex

uniswap-rs

Unofficial Rust SDK library for Uniswap smart contracts

5 releases (3 breaking)

0.4.0 Jan 6, 2023
0.3.0 Jan 1, 2023
0.2.1 Dec 8, 2022
0.2.0 Dec 8, 2022
0.1.0 Oct 27, 2022

#6 in #uniswap

26 downloads per month

MIT license

595KB
12K SLoC

uniswap-rs

Crates.io MIT License CI Status

Unofficial Rust SDK library for Uniswap smart contracts.

Quickstart

Add this to your Cargo.toml:

[dependencies]
uniswap-rs = { git = "https://github.com/danipopes/uniswap-rs" }

Examples

Examples can be found here.

Roadmap

  • UniswapV2 protocol
    • Implementation
    • Documentation
    • Tests
  • UniswapV3 protocol
    • Implementation
    • Documentation
    • Tests
  • Contract addresses
    • Uniswap v2 and v3
    • Sushiswap
    • Pancakeswap
    • Quickswap
    • Spookyswap
    • Traderjoe
  • Features
    • Serde, Addressbook and new_with_chain
    • V2 and V3, separated

License

This project is licensed under the MIT license.

Dependencies

~16–31MB
~447K SLoC