Skip to content

Compound Watcher is a bot that watches potential liquidations on Compound Finance and sends notifications through pushbullet

License

Notifications You must be signed in to change notification settings

0xaaiden/Compound-Watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compound Watcher

A python bot that watches potential liquidations on Compound Finance and sends notifications through pushbullet

Image of Bot

How it works

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 :

  • Health
  • On Chain Liquidity (Free https://infura.io api keys are required to interact with the smart contracts)
  • Supplied assets
  • Borrowed assets
  • Estimated profit if liquidated

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

Install the bot

To install the bot, you need to have:

  • Python 3+
  • pip3

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

About

Compound Watcher is a bot that watches potential liquidations on Compound Finance and sends notifications through pushbullet

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages