Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 881 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 881 Bytes

Aave Liquidation Bot

  • This bot will check for unhealthy loans using TheGraph
  • Calculate profits
  • Output details of unhealthy loan if its profitable to liquidate
  • Execute liquidation of the loans

Solidity Contract

  • All contracts can be found in /contracts
  • Can be deployed to Kovan for testing or MAINNET

To Do

  • Currently this script is not setup to call the contract, it must be done manually.
  • Remaining task is to automate the liquidation. This shouldn't be hard to do since the contract is already in place.

To get started

  1. Install dependencies npm install

  2. Deploy contract All contracts can be found in /contracts

Starting the bot

  1. Specify the chain to use via APP_CHAIN_ID

  2. Execute liquidation script npm run build npm start

Thanks to this repo for providing a base to start with. https://github.com/ialberquilla/aave-liquidation