Listen to the bitcoinsv blockchain and emit events to your app.
graph TD;
bitcoin-->listener-->app
app-->bitcoin
- Create a JungleBus account
- Setup Subscriptions in JungleBus to listen to filtered events
- For local development, specify a
JUNGLE_BUS_SUBSCRIPTION_ID
in.env
(copied from.env.sample
), and when deployed, set an ENV variable - 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.