Skip to content

An AAVE flashloan arbitrage bot implementation that leverages DEX swap to arbitrage between AMMs

Notifications You must be signed in to change notification settings

lraunakl/AAVE-FLASHLOAN

Repository files navigation

Aave Flash Loa

Project repo:

Aave v3 Flash Loan documentation:

https://docs.aave.com/developers/guides/flash-loans https://docs.aave.com/developers/deployed-contracts/v3-testnet-addresses

DAI-TestnetMintableERC20-Aave token (Goerli): 0xDF1742fE5b0bFc12331D8EAec6b478DfDbD31464

USDC-TestnetMintableERC20-Aave token(Goerli): 0xA2025B15a1757311bfD68cb14eaeFCc237AF5b43

AAVE PoolAddressProvider (Goerli):

0x5E52dEc931FFb32f609681B8438A51c675cc232d

  1. Deployment of FlashLoanArbitrage.sol 0xDebb92252425604130F633008B8B8c6457F1C8e1

FlashloanArbitrage

  1. Flash loan contract deployed:
    0x2F364aA33A22412D23ed7aA4389Df8a309008DF6

Flashloan_sol'

  1. Dex contract deployed:
    0xac018496d56EB6107f790FD225B9d2AF6bCfAa1b

Dex

Try running some of the following tasks:

COMMANDS

npx hardhat help

npx hardhat test

REPORT_GAS=true npx hardhat test

npx hardhat node

npx hardhat run scripts/deploy.js