getAlby / js-lightning-tools

Collection of helpful building blocks and tools to develop Bitcoin Lightning web apps
https://www.npmjs.com/package/@getalby/lightning-tools
MIT License
31 stars 14 forks source link

Implement a requestPayment function with webln + fallback #5

Open bumi opened 1 year ago

bumi commented 1 year ago

a generic requestPayment(invoice) function that checks if webln is available, and if so it calls webln. otherwise it renders a DOM element with a QR code + an input field to copy the invoice.

rolznz commented 9 months ago

@bumi is this solved by https://github.com/getAlby/bitcoin-connect ?