open-source version of a liquidation bot running against Solend
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.
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.
-
Install docker engine and docker-compose
-
Update file system wallet path in docker-compose.yaml.
secrets:
keypair:
file: <PATH TO KEYPAIR WALLET THAT WILL BE LIQUIDATING UNDERWATER OBLIGATIONS>
- 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
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.