SergiySW / NanoWalletBot

[DISCONTINUED] Open source Telegram bot for Nano currency

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NanoWalletBot

@NanoWalletBot — Open source Telegram bot for Nano cryptocurrency

Python requirements

Required non-default Python3 libraries
python3-urllib3
python3-requests
python3-mysql.connector
python3-pil
python3-qrtools
python3-socks
Installed with pip (pip3 install)
pycryptodomex
pypng
PyQRCode
python-telegram-bot
six
websockets
Optional for Nano IPC connection nano-ipc-py

Other software configurations

nano_node config sample in config-node.toml
RPC config sample in config-rpc.toml
MySQL database structure in mysql.sql
Nginx config sample in nginx_site.conf

RPC config tuning

If you use docker node, set address = "::0.0.0.0"

nano_node config tuning

0.1 Nano incoming limit:

[node]   
receive_minimum = "100000000000000000000000000000"   

https://docs.nano.org/protocol-design/distribution-and-units/#unit-dividers

Start bot

Create wallet with curl -g -d '{ "action": "wallet_create" }' http://localhost:7076
Set password with curl -g -d '{ "action": "password_change", "wallet": "WALLETID", "password": "WalletPassword123" }' http://localhost:7076
Edit sample.bot.cfg with your preferences and save as bot.cfg (don't forget to change salt, aes_password, private_key & other passwords)
Start bot python3 raiwalletbot.py
Start websockets incoming transactions server python3 frontiers_websockets.py
Set cron job for python3 frontiers.py and other scripts if required

Thanks

About

[DISCONTINUED] Open source Telegram bot for Nano currency

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%