资源算法honktipbot

honktipbot

2020-02-17 | |  40 |   0 |   0

Honk Tip Bot

About

This is a telegram bot that allow you tip other users in telegram with a HONK Token. Add @Honktipbot to your group. Then make your tip to other user by replying on their messages with "[NUMBER] honk" (e.g. "10 honk").

Users can deposit and withdraw their tokens. You could also setup notification for new deposits with separate service 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/KeithPatrick5/honktipbot
  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


上一篇:honkify

下一篇:honk-di

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...