Smart contract for performing arbitrage between Uniswap and Sushiswap
About this project
uniswap-sushiswap-arbitrage Smart contract for performing arbitrage between Uniswap and Sushiswap Features: The smart contract SimpleArbitrage alows a user to deposit WETH and make an arbitrage between the 2 exchanges and ensures that the operation is always profitable by checking that the price difference is always higher than the payed fees Usage: Installation & Setup: Installing Brownie: Brownie is a python framework for smart contracts development,testing and deployments. It's quit like HardHat but it uses python for writing test and deployements scripts instead of javascript. Here is a simple way to install brownie. Or if you can't get pipx to work, via pip (it's recommended to use pipx) Install ganache-cli: Clone the repo: Set your environment variables: To be able to deploy to real testnets you need to add your PRIVATEKEY (You can find your PRIVATEKEY from your ethereum wallet like metamask) and the infura project Id (just create an infura account it's free) to the .env file: How to run: To start an arbitrage on the mainnet fork (for testing purposes only, you can also use the kovan testnet) you just need to run the command : Testing:
From the project README on
GitHub
- Stars
- 62
- Forks
- 14
- License
- MIT
- Last push
- 8 Sept 2022
Add this badge to your README
Show that your project is listed on Made in Algeria.
[](https://www.madeinalgeria.dev/projects/uniswap-sushiswap-arbitrage)