Are there any Bitcoin clients or services that support sending bitcoins to a HTTP(S) URL instead of having to enter a Bitcoin address directly? (e.g. for donations)
Webmasters could include their Bitcoin address in a link
element in each page (same for the whole site or different for each page, e.g. to account which page generated which donation):
<link rel="payment" href="bitcoin:…" title="Donate bitcoins, if my article was of help to you">
The href
attribute should contain the Bitcoin address, using the bitcoin
URI scheme.
The rel
attribute should have the value payment
. It’s defined as:
RelPayment is a microformat for making exchanges of support (be it financial or otherwise) possible. By adding rel="payment" to a hyperlink a page indicates that the destination of that hyperlink provides a way to show or give support for the current page. For example to give financial support to the owner of the current page.
The (optional) title
attribute could contain a small note, e.g. what the donations are used for, or who exactly would be the receiver etc.
Tools (Bitcoin clients/services, browser add-ons etc.) could extract the Bitcoin address by looking for a link with the link type payment
whose URI uses the scheme bitcoin
.
If one enters a webpage URL that hasn’t linked a Bitcoin address, the tool should throw an error. For security reasons probably only link
elements should be parsed (instead of a
/area
), otherwise e.g. commentators could include their own Bitcoin addresses.