pistomat / aave-liquidator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:TypeScript 51.4%Language:Solidity 48.6%