Telegram bot.
Go to file
lza_menace 4d9f1ab2df fixing accepted address lengths for shitty validation 2020-08-05 21:26:19 -07:00
tipbot fixing accepted address lengths for shitty validation 2020-08-05 21:26:19 -07:00
.gitignore adding code so far 2020-07-20 09:26:04 -07:00
LICENSE Initial commit 2020-07-20 06:45:45 +00:00
README.md adding code so far 2020-07-20 09:26:04 -07:00
requirements.txt setup some admin commands with click for management/troubleshooting 2020-07-20 23:41:57 -07:00

README.md

tg-tipbot

Telegram tip bot.

Setup

# initialize new wallet and retain seed
docker run --rm -it --name wow-wallet-init \
  -v $(pwd)/data:/root \
  lalanza808/wownero \
  wownero-wallet-cli \
    --daemon-address https://node.suchwow.xyz:443 \
    --generate-new-wallet /root/wow \
    --password zzzzzz \

# setup rpc process
docker run --rm -d --name wow-wallet \
  -v $(pwd)/data:/root \
  -p 8888:8888 \
  lalanza808/wownero \
  wownero-wallet-rpc \
    --daemon-address https://node.suchwow.xyz:443 \
    --wallet-file /root/wow \
    --password zzzzzz \
    --rpc-bind-port 8888 \
    --rpc-bind-ip 0.0.0.0 \
    --confirm-external-bind \
    --rpc-login xxxx:yyyy \
    --log-file /root/rpc.log

# install python dependencies
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

# setup secrets in config file outside of git
cp tipbot/config.example.py tipbot/config.py
vim !$

# run it
python3 tipbot/tipbot.py