uniswap

Creator: coderz1093

Last updated:

0 purchases

uniswap Image
uniswap Images
Add to Cart

Description:

uniswap

Uniswap 🦄 #
This package contains all the features of the Uniswap smart contract and supports its use on other exchanges and other networks.







Features #
You can do swaps on the most popular dexs of Ethereum and their subnets using this package, the 30 or 80 lines of code you needed before are now reduced to just a few.
This package has support so far with Ethereum, Binance Smart Chain and Polygon, if you want support with any other exchange or network open an issue and we will add it.
Supported exchanges #


Uniswap


Pancakeswap


Quickswap


Supported functions #


swapExactETHForTokens


swapExactTokensForETH


swapExactTokensForTokens


swapETHForExactTokens


swapTokensForExactETH


swapTokensForExactTokens


Getting started #
Add the package to your pubspec.yaml file as shown below.

dependencies:

uniswap: any

copied to clipboard
Usage #
Below you will see some examples of how to implement each function.
final swapExactETHForTokens = await Uniswap().swapExactETHForTokens();
copied to clipboard
Additional information #
Initially this package was created for personal use in order to avoid writing so much code rather perform swaps with just 5 to 10 lines.
You can check the code if you have doubts regarding security, any contribution or idea to improve is welcome!
Greetings and I hope you find it useful. ⚡

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.