The following document describes how to undertake liquidations. It also includes links to our template liquidation bot as a starting point to help liquidators build their more sophisticated, custom liquidation engines.
The liquidation query (described in the embedded document - in relation to the liquidation query NPM package https://www.npmjs.com/package/@fringefinance/primary-scripts) requires you to define the setup in .env files - which declare the relevant Fringe V2 contract addresses and subgraph query endpoints. The setups required for the .env file for each chain are listed below
(you'll also find related instructions in the github repo README.md file for the Fringe V2 liquidation bot ==> : https://github.com/fringe-finance/liquidation-bot/tree/master)
Configuration for mainnet ⚙️
(you may alter the following network RPCs if they are not working suitably for you.)