Python3 telegram bot made in order to listen bitcoin transactions and events on the network.
Python3 telegram bot made in order to listen bitcoin transactions and events on the Bitcoin network.
The bot has two main functionalities:
In order to subscribe to new block events, the message to send to the bot is /sub
. And to unsubscribe /unsub
.
For the address events, the messages are as follows:/listen \
/unlisten \
All private configuration is under the following directory:res/private/
To setup the bot, place your token at:
telegram.py:
TOKEN = ""
To setup the rpc calls, fullfill the following data at:
rpc.py:
URL = ""
AUTH = ('user', 'password')
And finally, to setup the push notifications, use an external websocket, place its data at:
ws.py:
URL = ""
<> with ♥ by @ccebrecos