How to: Suredbits API JS client library

Torkel Rogstad
Mar 26 · 4 min read

General notes

Adding the client library to your project

# if you're using Yarn: 
yarn add sb-api
#if you're using npm:
npm install sb-api

Setting up your Lightning connection

Requesting streaming data

Requesting data with request/response


Suredbits

A Lightning application company building the future of data

Torkel Rogstad

Written by

Software Engineer at Suredbits. Interested in Bitcoin, Lightning, functional programming, Scala, TypeScript and a bunch of other things

Suredbits

Suredbits

A Lightning application company building the future of data