Open yzernik opened 2 years ago
I'm not sure I understand what WebLN does. Is it different from having a lightning:
payment link?
I'm not too familiar with WebLN, but I think the idea is that it standardizes the interface between:
So when you try to download a file on Agora, your Joule extension would detect the payment request and show a "Pay" button rather than you just see a QR code.
Another advantage of using WebLN is that you can use the callback on the completed payment to trigger a redirect to the unlocked file.
On the invoice page, would it be possible to show the invoice using WebLN?
https://webln.dev/#/getting-started
I think that would simplify the experience for users that are using browser extension wallets like Joule and Alby.