Skip to content

Listen to the bitcoinsv blockchain and emit events to your app.

Notifications You must be signed in to change notification settings

afomi/jungle-bus-listener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jungle Bus Listener

Listen to the bitcoinsv blockchain and emit events to your app.

graph TD;
  bitcoin-->listener-->app
  app-->bitcoin
Loading
  1. Create a JungleBus account
  2. Setup Subscriptions in JungleBus to listen to filtered events
  3. For local development, specify a JUNGLE_BUS_SUBSCRIPTION_ID in .env (copied from .env.sample), and when deployed, set an ENV variable
  4. Push this repository to Heroku or Fly.io, as a Node.js application.

When the app starts up, it will tune into the subscription, then begin receiving events. Each event has a callback, and you can define, in code, how to process each event.

For example, you can parse a transaction (TX), its inputs and outputs, and forward the transactions and/or other data to another application via HTTP POST.

About

Listen to the bitcoinsv blockchain and emit events to your app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published