项目作者: pantunes

项目描述 :
LTO Network bot alert tool
高级语言: Python
项目地址: git://github.com/pantunes/lto-node-alerts.git
创建时间: 2019-12-19T13:42:50Z
项目社区:https://github.com/pantunes/lto-node-alerts

开源协议:MIT License

下载


LTO Node Alerts

This service sends notifications about Nodes that their balance reached a minimum
threshold.

These notifications are sent in the Telegram channel LTO Node Alerts.

Pre-requisites

Installation

Install from source

Clone project repository:

  1. $ git clone https://github.com/pantunes/lto-node-alerts.git
  2. $ cd lto-node-alerts

Setup Python virtual environment:

  1. $ virtualenv venv -p python3
  2. $ source venv/bin/activate

Install package in develop mode:

  1. pip install -e .

(Dependencies will be installed automatically from requirements.txt)

Start services

Bot

  1. $ BOT_TOKEN_ID=<bot_id_token> bot

Scheduler

  1. $ BOT_TOKEN_ID=<bot_id_token> GROUP_CHAT_ID=<GROUP_CHAT_ID> scheduler