docs.rs failed to build uniswap-v2-core-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Uniswap V2 library
Install
Run the following Cargo command in your project directory:
Or add the following line to your Cargo.toml:
= "0.1.1"
Usage
Add the following lines to your Cargo.toml:
= "2.0"
# Ethers' async features rely upon the Tokio async runtime.
= { = "1", = ["full"] }
# Flexible concrete Error Reporting type built on std::error::Error with customizable Reports
= "0.6"
Examples:
use Address;
use ;
const RPC_URL: &str = "https://eth.llamarpc.com";
async