1
Adding to your list of sites where Lightning addresses are supported
β
Done
Jun 2, 2022
Who do I talk to about adding other websites for you to scan to pick up Lightning Addresses?
I'm Brianoflondon over on podcastindex.social and pretty much everywhere.
Comments
Feel free to contact us any time if you still have questions about how to integrate WebLN into your sites. We are here to help!
Feel free to discuss this here! Which site(s) do you think Alby should support?
RenΓ© Aaron I've added a facility to the Hive social blockchain eco system where every Hive user has a Lightning Address.
Even though Hive accounts are full crypto accounts backed by private keys which only the user holds, the actual account addresses are human readable. Unsurprisingly my username on Hive is
brianoflondon
.So my lightning address is
brianoflondon@v4v.app
I run the v4v.app site.
Any lightning sent to that address is forwarded as Hive to the user.
For example I've put my Lightning account in my profile on Hive:
Here are just a few Hive front ends, I
https://hive.blog/@brianoflondon
https://peakd.com/@brianoflondon
https://ecency.com/@brianoflondon
http://leofinance.io/@brianoflondon
They're all different views but pull the same profile info from the Hive's API servers and ultimate from the blockchain back end.
If I gave you a list of popular Hive front ends I'm pretty sure I could get most of the operators of those sites to also include a Hive Lightning address on pretty much every suitable page β‘brianoflondon@v4v.app for any Hive user.
Brian of London Thanks for your detailed explanations. π
There seem to be quite a lot of sites that could make use of that and I am wondering if those sites could include the Lightning Meta Tag on behalf of their users? π€ (instead of writing custom integrations for each site in Alby that have to be maintained and kept in sync with the individual sites markup)
https://getalby.com/value4value
<meta name="lightning" content="lnurlp:you@lightning.address"/>RenΓ© Aaron do you have any docs on how you do this right now? Are you just parsing the DOM and looking for a lightning address in specific elements?
If we wanted to indicate a Lightning Tip address on a specific place (say tip the author under a post) or a comment author under a comment, right now I know some of the front ends are looking at putting in a button to throw up a QR code, what would they have to do to make Alby fire (if it was installed)?
Brian of London Exactly. You can take a look at the currently supported sites here:
Github
There is a unified standard for integrating Lightning Wallets on the web called WebLN. We've put together a little guide to help you start integrating WebLN into your application:
https://wwww.webln.guide
So if you want Alby (or other WebLN wallets) to fire up you basically need to just add some lines of code:
Please reach out to me if there are questions or you need any help!