Coder Social home page Coder Social logo

alessandrospallina / etherminetelegrambots Goto Github PK

View Code? Open in Web Editor NEW
11.0 5.0 9.0 20 KB

A collection of Telegram bots that allow you to check the status of your mining rigs

License: GNU General Public License v3.0

Python 100.00%
ethereum mining ethermine telegram

etherminetelegrambots's Introduction

EthermineTelegramBots

A collection of Telegram bots that allow you to check the status of your mining rigs


Intro

A few days ago i was searching for a telegram bot which notify me about my workers' crash and able to return info about general stats and specifically stats of workers under Ethermine Mining Pool. My research was a failure because a lot of ethermine telegram bots are not up at time of writing and other bots are available only under paid subscription, moreover i was unable to find a simple telegram bot source code that satisfy my requirements. So i wrote a python basic telegram bot which parse ethermine json in order to check for worker and accept command from allowed only telegram users or group.

What's inside the repo

Right now, only bot for ethereum mining side of ethermine pool is available, but in the future i'm planning to port the script of the bot for ethereum classic (etc.ethermine.org) and for zcash side of ethermine. So, inside this repository you will find a very simple python script that is able to accept commands:

  • help - print help
  • status - print general info about all total hashrate and other trivials
  • workers - print specifically workers infos

This bot check periodically for number of workers that should reach the pool and if this drop less than setted number the bot will advice the list of allowed users! Note that this code is Free Software and free to modify and you can made everything you want; this source is for people who want to host their own bot, just set the option and put this code on a vps or in a raspberry or where you want and it's done! (so is not the source code of a bot that allow multiple miners to use the same bot for the service, i prefer to host my own bot and maybe also you too!)

Dependencies & Script Execution

The only thing you should do before runnign this python script is install Python-Telegram-Bot. Should be fine the command (obviously you should have python3 already installed):

pip3 install python-telegram-bot

and then just enter in ethereum directory, so

python3 eth.py &

TODO

Telegram bot of Ethermine:

  • ETH -> done
  • ETC -> done
  • ZEC feel free to open issue and propose and contribute!
Donate

Tip Jar for broken student eth, etc, erc20/23 token -> 0x9eadbcF8Da788944Fc4da034bFa0d550eDC0bdad

etherminetelegrambots's People

Contributors

alessandrospallina avatar gungniir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

etherminetelegrambots's Issues

other pools support

Hello Alessandro, I see you made this bot for your personal use, but i was hoping i could use it for my pool. I just set up an open ethereum pool (pool2mine.net) and just wanted to know if i host this bot then users can track their miners with an "/add" command to add their addresses. Is it possible to make that mod? besides donating I can also add your link on the pool site if you wish. please let me know. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.