Alchemy Notify Webhooks Server in Node + V2
Installation
Simple setup
First, install Yarn if you don't have it:
npm install -g yarn
Then, install the dependencies of all packages:
yarn
Run
To run on localhost:8080:
PORT=8080 HOST=localhost SIGNING_KEY=whsec_your_key_here yarn start
Please change SIGNING_KEY to the signing key corresponding to your webhook, which you can find here
And just like that, you're done!
NOTE: Your webhook path is currently set to "/webhook" in src/index.ts
, but feel free to change it to whatever path you'd like.
Debugging
If you aren't receiving any webhooks, be sure you followed the steps here first.