Clone repository as flashswap
git clone https://github.com/CryptoWizardsNet/flash-loan-arbitrage-triangular.git flashswapChange directory flashswap
cd flashswapInstall packages as a clean install. Important, this will ensure that your versions are exactly the same as what is shown in the course.
npm ciInstall packages as a clean install. Important, this will ensure that your versions are exactly the same as what is shown in the course.
npx hardhat testYou will likely see a "Arbitrage not profitable" error come up, if the arbitrage is not profitable. This is the most common result and in fact means the code is working.