anuml / flash-loan-arbitrage-triangular

Triangular flash loan arbitrage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Triangular flash loan arbitrage


Languages

Language:Solidity 84.8%Language:JavaScript 15.2%