Liquidates under-collateralized users of Proton's lending protocol.
- Install npm and nodejs:
curl -Ls install-node.now.sh | sh
- Install PM2
npm i -g pm2
- Install (in server folder)
npm i && npm run build
- Rename .example.env to .env and set private key
- Edit testnet.config.js and mainnet.config.js with your accounts and endpoints
- Run liquidation bot
# Testnet
pm2 start testnet.config.js
# Mainnet
pm2 start mainnet.config.js