A python bot that watches potential liquidations on Compound Finance and sends notifications through pushbullet
Compound Watcher uses Compound's official api from https://compound.finance to import the lists of addresses at risk of liquidation. The bot shows further information about every address :
In the case an address can be liquidited, the bot sends a notification through pushbullet.
A pushbullet free api is needed to run the bot
To install the bot, you need to have:
Start by installing the required python modules
pip3 install web3
pip3 install termcolor
pip3 install git+https://github.com/Azelphur/pyPushBullet.git
Fill in your pushbullet and infura keys and you're ready to start the bot!
python3 app.py
To make the bot reboot automatically when it crashes due to api errors, use the forever.py script provided:
chmod +x forever.py
./forever.py app.py