Simple POC app that streams random lorem ipsum text when paid via lightning
Don't worry, the gif's API key has been replaced.
$ git clone
$ cd lighting-stream
$ npm i
- Create NGROK account https://ngrok.com/
- Follow dashboard instructions to configure
- Run NGROK instance to listen to localhost 3000 (
./ngrok http 3000
) - Copy the NGROK url
- Register on the DEVELOPMENT strike platform https://dev.strike.acinq.co
- Go to settings -> webhooks -> change hook url and set to
- http://
<your-instance>
.ngrok.io/strike/payment/received - Go to API Keys and copy your API key
$ env STRIKE_API_KEY=<Your_Strike_API> node index.js