Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 929 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 929 Bytes

Check Deposits service for @Honktipbot

About

This is a service that listen for new deposit transactions in SLP network. If new deposit was found it sends notification to user and update balance. To send notification we will use RabbitMQ. To listen SLP network use https://slpsocket.fountainhead.cash

Installation and local launch

  1. Clone this repo:

    git clone https://github.com/KeithPatrick5/checkDeposits
  2. Create AWS DynamoDB tables:

  • Bot-Session (primary key: Session [string])
  • Bot-checkDeposit (primary key: address [string])
  1. Create .env file with the environment variables listed in .env.example

  2. Install NodeJS 10x && npm 6x

  3. Run in the root folder

    npm install
  4. Install RabbitMQ

  5. Setup your EventSource url in index.js

  6. Run

    npm start