What would it take to add Bitcoin Lightning Network payments to the reserved ‘HTTP 402 Payment Required’ response code? I assume we need to flesh out the specs and add it to browsers?
pull down to refresh
3 sats \ 1 reply \ @mf 30 May 2022
You can just add the invoice to the response body, right?
Something like:
reply
0 sats \ 0 replies \ @BTC_LN OP 30 May 2022
That's very cool, but browsers need to support it / understand what to do with it, not?
reply
3 sats \ 1 reply \ @thinkmassive 30 May 2022 freebie
Apreture is a drop-in solution on the server side:
https://github.com/lightninglabs/aperture
For the browser you can use Alby:
https://getalby.com/
2 sats \ 1 reply \ @k00b 30 May 2022
Add it to what? You can already use it.
I guess there isn’t much standardization around how to fulfill payment but mere conventions should suffice.
reply
10 sats \ 0 replies \ @BTC_LN OP 30 May 2022
I guess add it to Chrome, Firefox, Safari?
reply