-
Notifications
You must be signed in to change notification settings - Fork 0
Bitcoin/Lightning meta tag (value4value meta tag) #1
Comments
Love it!
I'm a huge fan of making sats the standard, but what are your thoughts around adding support for other denominators as well? Would it be a terrible idea to support something like The reason why I'm asking is that this will probably a "set it and forget it" kind of thing for content creators. For example, I did a paywall experiment not too long ago and set it to 2¢ in sats. Cents are down by 6x in terms of sats since then, and bitcoin is not done appreciating in purchasing power as far as I'm concerned. In any case: I love everything about this, open standards and interoperability are definitely the way! 🧡:rocket: |
thanks for the feedback! That's a very good point. The idea should be "set and forget" (e.g. for static HTML pages). Maybe we should add a |
Should this maybe written as a bLIP? like Podcasting 2.0 |
Hi, thx for directing me to this discussion. Here are my thoughts from reading the podcast:value spec and playing around with the meta tag.
Here are some examples with existing proposals:
I could also imagine this as part of a
Not sure if I am on the right track with this, but I wanted to share. |
thanks a lot for your input! Regarding arrays I thought about doing it similar to the Open Graph protocol. They also say to " put multiple versions of the same tag on your page". Using any type of selectors should be able to get those arrays (e.g. |
You're welcome, I like the idea and enjoyed thinking about it. Thanks for explaining the intention. Didn't think of this, meant easy in terms of just splitting. I also see good reasons for Open Graph like RDFa notation but wanted to scout the possibilities here. I find it appealing to only have to put one meta tag in the head. The very most standard cases would still be pretty lean and legible. Found a nice list of all meta tags: https://gist.github.com/lancejpollard/1978404 |
Is there a list of services that currently support this meta tag? I know about getAlby but not others... This is a great idea if becomes a standard 💪 |
Bitcoin Lightning Meta Tag
The Bitcoin Lightning meta tag gives websites a way to receive direct payments from their visitors.
It allows websites to describe how and where they would like to receive payments.
Utilizing the open Lightning Network protocol payments can be sent in real-time from the visitor to the creator without the need for a third-party.
The goals is to bring the #value4value ideas to the web and make value4value transactions possible on any website.
What is value4value?
The value for value system is a way for content creators to receive direct payments from consumers. Consumers can reward creators by sending payments based on their perceived value of the content. The concept originated from the podcasting world but can be applied to any digital content.
Thanks to the open nature of the Lightning Network protocol value can be transferred directly from the consumer to the creator without the need to rely on a third-party.
Specification
Websites can specify one or more Lightning meta tags.
Lightning Meta tag format
The metadata
name
attribute must be set tolightning
.The metadata
content
attribute contains data as key-value pairs separated by a semi-colon and, optionally, a space for legibility. The value may or may not be wrapped in double- or single-inverted commas, which should be removed from the value if found at the beginning and end of the value.Possible attributes
lnurlp
: LNURL-pay URL or internet identifier.keysend
: The destination's node pubkeybolt11
: A bolt11 invoicebolt12
: A bolt12 offersuggested
: The suggested amount in SatoshiExtensibility
As the standard evolves more attributes might be added in the future.
Examples
Receive payments through an LNURL-pay specified lightning address with a suggested amount of 100 Satoshi.
Receive payments through keysend payments with a suggested amount of 100 Satoshi.
Receive payments through a bolt11 invoice
Payment notifications
JavaScript events can be triggered for successful payment notifications. This allows website to subscribe to payment events and process payment details in JavaScript.
Events are triggered as
CustomEvent
and can contain lightning payment details in thedetail
event property:Example
References
The text was updated successfully, but these errors were encountered: