Skip to content

ZSLP/zslpsockserve

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is SLPSockserve?

SLPSockserve is a frontend API for SLPDB that provides a streaming output of new transactions. Unlike slpserve which is a similar frontend API used to fetch historical blockchain data, SLPSockserve can be used display data as it comes in.

Installation

Prerequisite

For SLPSockserve to work you first need to go through the install process for bitd, which will continually scan the blockchain for new transactions and blocks which will be streamed live over the SLPsocket (slpsockserve) API.

Setting up SLPSockserve

Clone this repository:

git clone https://github.com/fountainhead-cash/slpsockserve.git && cd slpsockserve

Install dependencies:

npm install

Configure Sockserve:

cp .env.example .env
$(EDITOR) .env

Start SLPSockserve

npm start

Running as a daemon

Install PM2 using NPM

npm install pm2 -g

CD to install location and run bitd

pm2 start index.js

About

Subscribe and filter realtime ZSLP transactions for your applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 55.9%
  • JavaScript 39.1%
  • CSS 5.0%