<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I tend to agree it’s just a matter of proposing a Payment Method. However there are various ways to go about it, e.g. what you suggest, but browsers might also get built-in wallets or there might a multi-currency abstraction on top of everything. It’s probably not ideal if we end up with multiple Payment Methods or one that pushes a single approach.<div class=""><br class=""></div><div class="">I left a few comments on the working group Github:&nbsp;<a href="https://github.com/w3c/webpayments/issues/232" class="">https://github.com/w3c/webpayments/issues/232</a><div class=""><br class=""></div><div class="">Sjors<br class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">Op 30 aug. 2018, om 16:15 heeft Christian Decker &lt;<a href="mailto:decker.christian@gmail.com" class="">decker.christian@gmail.com</a>&gt; het volgende geschreven:</div><br class="Apple-interchange-newline"><div class=""><div class="">Just a quick followup on this: yes, I am indeed a member of the W3C Web<br class="">Payments Working Group, though not a very active one. I am following the<br class="">discussion as best I can, and try to figure out what changes and special<br class="">considerations, if any, are needed for both Bitcoin and Lightning to<br class="">work correctly, when the spec is finalized and deployed.<br class=""><br class="">As it stands today the spec should be Bitcoin and Lightning compatible,<br class="">with the following considerations:<br class=""><br class=""> - A special Payment Method ID [1] must be assigned to Bitcoin and<br class=""> &nbsp;&nbsp;Lightning since we cannot rely on a centralized URL to act as a<br class=""> &nbsp;&nbsp;payment method for these decentralized networks. Currently only the<br class=""> &nbsp;&nbsp;`basic-card` identifier has been assigned, but we can apply for one<br class=""> &nbsp;&nbsp;eventually;<br class=""> - As far as I see a local handler can be specified as Payment Handler<br class=""> &nbsp;&nbsp;[2] allowing us to have a Bitcoin or Lightning daemon running locally<br class=""> &nbsp;&nbsp;that is invoked for payment requests;<br class=""> - The Payment Request API [3] even mentions XBT as a supported<br class=""> &nbsp;&nbsp;currency, in addition to ISO4217 codes, so if a vendor publishes a<br class=""> &nbsp;&nbsp;Bitcoin amount and a matching Payment Method, we should be able to<br class=""> &nbsp;&nbsp;perform the payment;<br class=""> - Since we require special handling for Bitcoin and Lightning<br class=""> &nbsp;&nbsp;w.r.t. the Payment Method, the Payment Method Manifest [4] doesn't<br class=""> &nbsp;&nbsp;apply to us.<br class=""><br class="">So all in all, we should be able to get Bitcoin and Lightning working<br class="">with the spec without any major roadblocks. Notice that this is based<br class="">solely on my current understanding of the spec, and I'd love for others<br class="">to chime in and point out anything that I might have missed.<br class=""><br class="">Cheers,<br class="">Christian<br class=""><br class="">[1] <a href="https://www.w3.org/TR/payment-method-id/" class="">https://www.w3.org/TR/payment-method-id/</a><br class="">[2] <a href="https://www.w3.org/TR/payment-handler/" class="">https://www.w3.org/TR/payment-handler/</a><br class="">[3] <a href="https://www.w3.org/TR/payment-request/" class="">https://www.w3.org/TR/payment-request/</a><br class="">[4] <a href="https://www.w3.org/TR/payment-method-manifest/" class="">https://www.w3.org/TR/payment-method-manifest/</a><br class=""><br class="">René Pickhardt via Lightning-dev &lt;<a href="mailto:lightning-dev@lists.linuxfoundation.org" class="">lightning-dev@lists.linuxfoundation.org</a>&gt; writes:<br class=""><br class=""><blockquote type="cite" class="">Hey lightning devs,<br class=""><br class="">I was wondering if any of the companies here are members of W3C &nbsp;and if<br class="">anyone here could be member of the W3C Web Payments Working Group (c.f.:<br class=""><a href="https://www.w3.org/Payments/WG/" class="">https://www.w3.org/Payments/WG/</a> )? According to this mail<br class=""><a href="https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-March.txt" class="">https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-March.txt</a><br class="">Christian Decker is a member. Which I think would be awesome!<br class=""><br class="">They have just released their candidate recommendation for a payment API<br class="">at: https://www.w3.org/TR/payment-request/ According to their site the<br class="">proposed recommendation will be published not earlier than October 31st<br class="">2018. They are currently looking for feedback in their github repository<br class="">at: https://github.com/w3c/payment-request/<br class=""><br class="">I can see that they have bitcoin somewhat on their mind. But I guess it<br class="">would be even cooler if we could make sure that lightning payments will<br class="">also be compatible with their recommendation.<br class=""><br class="">Christian - if you really are a member - &nbsp;could you give us an update on<br class="">that work? How relevant is it for us?<br class=""><br class="">best Rene<br class=""><br class="">-- <br class="">https://www.rene-pickhardt.de<br class=""><br class="">Skype: rene.pickhardt<br class=""><br class="">mobile: +49 (0)176 5762 3618<br class="">_______________________________________________<br class="">Lightning-dev mailing list<br class="">Lightning-dev@lists.linuxfoundation.org<br class="">https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev<br class=""></blockquote>_______________________________________________<br class="">Lightning-dev mailing list<br class=""><a href="mailto:Lightning-dev@lists.linuxfoundation.org" class="">Lightning-dev@lists.linuxfoundation.org</a><br class="">https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev<br class=""></div></div></blockquote></div><br class=""></div></div></div></body></html>