The following is a brief walkthrough of how our lightning app for data feeds works. Of course, developers can implement this programmatically as well.

After you have connected to our Suredbits lightning node:

0338f57e4e20abf4d5c86b71[email protected]

You can then connect via websocket client of your choosing or use our Suredbits drop-in solution built using Blockstream’s Lightning Charge client.

When you first hit our lightning app for data feeds, you will see this message:

{"message":"Welcome to the SuredBits API!","ln_uri":"","version":0,"openChannels":["info","games","players","stats","team"]}

A basic sample query will look like this:

{“channel”: “info”}

which will return an invoice such as:


Then paste this invoice into whatever lightning network client you are using (or place it into a command line interface):

An example Lightning Network invoice

Within your websocket client, you should now see the data returned:


That is the quick 101 of how out lightning app works. Again, we are currently only on testnet and only have NFL data available.

We are planning for NBA data as well as our initial cryptocurrency feed for Fall 2018.

We’d love to hear from you. Stay in touch and join our Suredbits slack community and hit us up on twitter @Suredbits.