What is Nostr?
Gavin Andresen [ARCHIVE] /
npub1s4l
44kw
2023-06-07 15:05:25
in reply to nevent1q
hvcp

Gavin Andresen [ARCHIVE] on Nostr: 📅 Original date posted:2013-07-31 📝 Original message:On Wed, Jul 31, 2013 at ...

📅 Original date posted:2013-07-31
📝 Original message:On Wed, Jul 31, 2013 at 6:45 PM, Roy Badami <roy at gnomon.org.uk> wrote:
>
> Is it envisaged to be possible/sensible to have a URI that is *only* a
> payment request? i.e. something like the following (although I'm not
> sure this is a valid URI):
>
> bitcoin:?request=https%3A%2F%2Fmerchant.com%2Fpay.php%3Fh%3D2a8628fc2fbe

I think we'll want a bitcoin address in there for a long time for
backwards compatibility.

If web browser support for arbitrary MIME types is strong enough (I
haven't tested), then a payment request can be initiated with just an
anchor tag:
<a href="https://merchant.com/pay.php?3D2a8628fc2fbe";
type="application/bitcoin-paymentrequest">

Doing it that way saves a http round-trip.

--
--
Gavin Andresen
Author Public Key
npub1s4lj77xuzcu7wy04afcr487f0r3za0f8n2775xrpkld2sv639mjqsd44kw