Skip to content

BuggerSee/WaltonMiningNotification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

WaltonMiningNotification

This is a simple python script that sends you a Telegram Message when you find another Block.

How does it work?

It is checking your current mined Blocks via Waltonchain API at the start. After 10 seconds it checks if the amount of your mined blocks increased. If this is the case you will receive a message in your telegram bot channel.

Installation

This is a python script, so make sure you installed python. I use this script on my raspberry pi with installed Raspbian.

Prerequisites

What things you need to install the software and how to install them

sudo pip install requests
sudo pip install telepot

Telegram Setup

Please look at this link how to setup a telegram bot and how to get your chatID + telegram api key
https://www.forsomedefinition.com/automation/creating-telegram-bot-notifications/

Set Script autostart on Raspberry

sudo nano /etc/rc.local

Add line

sudo python /home/pi/wtc.py &

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages