Skip to content

harmony-community-node/harmony_one_tip_bot

Repository files navigation

One Tip Bot

This bot will be used to Tip Members using Telegram Channel and Twitter

Following dendencies needs to be installed for running this bot.

Needs to install MongoDB, please following below link to install MongoDB

https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-20-04

Python

pip3 install pyhmy

pip3 install pymongo

pip3 install python-telegram-bot

pip3 install telethon

pip3 install qrcode

pip3 install Image

Need to install hmy binary

Create hmydir directory under main directory and download the hmy binary

https://docs.harmony.one/home/wallets/harmony-cli/download-setup

Node JS needs be installed on the machine, please follow below link to instal Node

https://nodejs.org/en/download/package-manager/

Node

sudo npm install twitter-autohook --save

Please check following link for more detail on Twitter Autohook

https://github.com/twitterdev/autohook

Get Auth token from NGROK

https://dashboard.ngrok.com/signup

sudo npm install mongoose

Running the Bot

tmux new-session -s python

python3 onetipbot.py

Ctrl-B and D

tmux new-session -s node

node twitter_autohook.js

Ctrl-B and D

You can attached to a session to close or run by

tmux attach-session -t session-name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published