Skip to content

dreamtrove/cyfrogbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

132 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Supported commands:

  • /start
  • /help
  • /balance
  • /deposit
  • /withdraw

Installation and local launch

  1. Clone this repo:

    git clone https://github.com/dreamtrove/cyfrogbot
  2. Create AWS DynamoDB tables:

  • Bot-Session (primary key: SessionKey [string])
  • Bot-checkDeposit (primary key: address [string])
  1. AWS configure

  2. Create .env file with the environment variables listed in .env.example

  3. Install NodeJS 10x && npm 6x

  4. Run in the root folder

    npm install
  5. Run a local instance of RabbitMQ

    sudo docker run -p 5672:5672 -d --hostname my-rabbit --name some-rabbit rabbitmq:3
  6. Run

    npm start

Creator: pytour

About

CyFrogBot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%