/flash-loan-arbitrage-triangular

Triangular flash loan arbitrage

Primary LanguageSolidity

INSTRUCTIONS

Step 1

Clone repository as flashswap

git clone https://github.com/CryptoWizardsNet/flash-loan-arbitrage-triangular.git flashswap

Step 2

Change directory flashswap

cd flashswap

Step 2

Install packages as a clean install. Important, this will ensure that your versions are exactly the same as what is shown in the course.

npm ci

Step 3

Install 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 test

You 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.