This is an an Aave liquidation bot using Flash Loans :)
- Clone this repo.
- Run :
npm install
- Create a .env file on the base directory, following the recommendations on (SAMPLE.env)
- Open a first terminal window, run the following to start the local database and keep updating itself:
npm run start-db
- FOR TESTING: on a second terminal window, to have a script selecting the best liquidation trade and running it on a mainnet/kovan fork, run:
npm run test-contract
- FOR LIVE EXECUTION on Kovan/Mainnet: on a second terminal window, t run:
npm run execute-trades