Skip to content

Latest commit

 

History

History

webhook-basic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

blockfrost-js-example-webhook-basic

This examples shows how to implement webhook endpoint for receiving a webhook requests by Blockfrost using Node.js Express framework.

To learn more about Secure Webhooks, see Secure Webhooks Docs.

This example is written in Typescript and it is intended to run on Node.js, not in a browser. Follow the instructions below to run it.

How to use

These instructions assume that you already have Node.js installed and you are already familiar with running hello world on Node.js.

Clone the main Blockfrost examples repository

git clone [email protected]:blockfrost/blockfrost-js-examples.git

Change directory to cloned repository blockfrost-js-examples

cd blockfrost-js-examples

Install dependencies and run the app

yarn
yarn workspace @blockfrost/example-webhook-basic start