To run this project
- git clone
https://github.com/NorVirae/mev-triangular-arbitrage-bot-contract.git - run
npm install - run
npx hardhat test, to see project execute on a fork of mainnet - run
npx hardhat run scripts/deploy.js --network [network_name], Network Name from "hardhat.config" - you can hook up the smart contract interface with a nodejs, python django/flask server(bot), to call the interfaces to perform arbitrage on block change.