Learn how to send and receive instant Bitcoin payments with Node.js and ZBD.
node-example
and run the following command to initiate a Node.js project:
index.js
and add the following code:
start
script to your package.json
file such as node index.js
.data.invoice.request
property in the JSON response. It starts with lnbc1
and is the payment request anyone in the Bitcoin Lightning Network can use to pay you.