/triangular_arbitrage_flashswap

FlashSwap for Triangular Arbitrage on Uniswap V2 fork

Primary LanguageSolidity

Basic Sample Hardhat Project

Forks mainnet for testing arbitrage opportunities.

  1. UPDATE YOUR TESTNET or Mainnet PRIVATE KEY hardhat.config.js

  2. npm install

  3. npx hardhat test

You will likely see a "Arbitrage not profitable" error come up, if the arbitrage is not profitable.