Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 755 Bytes

File metadata and controls

14 lines (10 loc) · 755 Bytes

MEV TRIANGULAR ARBITRAGE BOT - [Smart contract part]

This is a typescript version of this project https://github.com/NorVirae/mev-triangular-arbitrage-bot-contract.git,

  1. waffle is being replaced by chai-matchers
  2. Code implementation from hardhat-toolbox

To run this project

  1. git clone https://github.com/NorVirae/mev-triangular-arbitrage-bot-contract-typescript.git
  2. run npm install
  3. run npx hardhat test, to see project execute on a fork of mainnet
  4. run npx hardhat run scripts/deploy.js --network [network_name], Network Name from "hardhat.config"
  5. 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.