Skip to content

A Python-based Telegram bot that delivers always up-to-date infographics for the DEFI platform yield.credit on demand. Statistics are read from smart contracts on the Ethereum blockchain, token prices are scraped from the web.

License

Notifications You must be signed in to change notification settings

al-matty/yield-stats-bot

Repository files navigation

yield.credit Stats Bot (Telegram Front End)

A Telegram bot that produces merchandise for the cryptocurrency 'YLD' on demand. You can add this bot on Telegram by searching for its handle @ (to be published). Send it a command and it sends back infographics with always up-to-date metrics, i.e. current usage statistics for the platform yield.credit, or a personal impermanent loss graph vs. time, based on the user's pool entry date.

Here is an example of one of the infograpics the bot delivers. So far this is obviously still a work in progress:

Preview

Requirements & Installation

The script runs on python 3 and uses the packages listed in requirements.txt.

The best practice would be to install a virtual environment and install the requirements afterwards using pip:

pip3 install -r requirements.txt

If you're using conda, you can create a virtual environment and install the requirements using this code:

conda create -n statsbot python=3.6
conda activate statsbot
pip3 install -r requirements.txt

License

This project is licensed under the MIT license - see the LICENSE file for details.

About

A Python-based Telegram bot that delivers always up-to-date infographics for the DEFI platform yield.credit on demand. Statistics are read from smart contracts on the Ethereum blockchain, token prices are scraped from the web.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages