Simple but effective interface between f2pool and telegram bot
- Clone or download the folder.
- Add file
secret.pyin the root directory and insert the following variables:tokenthe telegram bot token.f2pool_api_keythe f2pool API key.
Example:
token = '123456789:ABCDEFG1234567'
f2pool_api_key = 'yr4nmtqfs4wemeiz'
-
Run
main.py. -
The script checks if the
whitelistanderror_logfiles exist, otherwise, it will create them. -
Insert the
CHAT_IDof the users you want to allow to use the bot inwhitelist.txt, one per line.
Contact me for any questions