zahin-mohammad / liquidator

open source version of a liquidation bot running against solend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solend-liquidator-bot

open-source version of a liquidation bot running against Solend

Overview

The Solend liquidator bot identifies and liquidates overexposed obligations. Solend awards liquidators a 5% bonus on each liquidation. See Solend params for the most up-to-date parameters on each asset. This repo is intended as a starting point for the Solend community to build their liquidator bots.

Usage

A file system wallet funded with SOL, USDC, ETH, SRM BTC is required to liquidate obligations. Users will need to manually rebalance wallet whenever a token is depleted.

  1. Install docker engine and docker-compose

  2. Update file system wallet path in docker-compose.yaml.

secrets:
  keypair:
    file: <PATH TO KEYPAIR WALLET THAT WILL BE LIQUIDATING UNDERWATER OBLIGATIONS>
  1. Build and run liquidator for all pools
docker-compose up --build

To run liquidator in background:

docker-compose up --build -d

To run a specific pool:

docker-compose up --build liquidator-main
docker-compose up --build liquidator-turbo-sol

Support

PRs to improve this repo are welcomed! If you need help setting up your liquidator bot, feel free to post your questions in the #dev-support channel within Solend's discord server.

About

open source version of a liquidation bot running against solend

License:MIT License


Languages

Language:TypeScript 95.2%Language:JavaScript 3.9%Language:Dockerfile 0.9%