Arbitrage bot that tracks price difference between Uniswap and Sushiswap and make a flashswap to balance prices.
npm install --save-dev hardhat
Run mainnet fork node on localhost: npx hardhat node --fork https://eth-mainnet.alchemyapi.io/v2/[API_KEY]
Deploy contracts: npx hardhat --network localhost run scripts/deploy.js
Open console: npx hardhat --network localhost console
Run bot: npx hardhat --network localhost run scripts/trade.js