al-matty / yield-stats-bot

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:Python 100.0%