CyFrogBot is a fork of Honk Tip Bot, hopefully these updates made to this bot will benefit Honk as well as CyFrog plus other SLP tokens to come
This is a telegram bot that allow you tip other users in telegram with a [CyFrog] (https://cyfrog.cash) Token. Add @CyFrogBot to your group. Then make your tip to other user by replying on their messages with "[NUMBER] honk" (e.g. "10 cyfrog").
Users can deposit and withdraw their tokens using Badger Wallet only atm. You could also setup notification for new deposits with separate service checkDeposits a fork of (https://github.com/KeithPatrick5/checkDeposits).
This bot powered with Telegraf library.
- /start
- /help
- /balance
- /deposit
- /withdraw
-
Clone this repo:
git clone https://github.com/dreamtrove/cyfrogbot
-
Create AWS DynamoDB tables:
- Bot-Session (primary key: SessionKey [string])
- Bot-checkDeposit (primary key: address [string])
-
Create
.envfile with the environment variables listed in.env.example -
Install
NodeJS 10x&&npm 6x -
Run in the root folder
npm install
-
Run a local instance of RabbitMQ
sudo docker run -p 5672:5672 -d --hostname my-rabbit --name some-rabbit rabbitmq:3
-
Run
npm start
Creator: pytour