1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
|
Return-Path: <srintuar@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id 708941645
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 14 Oct 2018 19:52:38 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com
[209.85.208.51])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id D6B55FD
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 14 Oct 2018 19:52:37 +0000 (UTC)
Received: by mail-ed1-f51.google.com with SMTP id l14-v6so6934159edq.0
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 14 Oct 2018 12:52:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:from:date:message-id:subject:to;
bh=EKOZEnoYoDHOAfASc1oZV4ougL3+P+DuTxa3cSrcTZc=;
b=gXhTAxG1kbtrf+kK9O9Sg707ITjCFe2HDUnORNzUmm/+0lE80bQy7H4cePl8ZbYCGc
VIbdnSGQRPIiMXf/yTCpt3YHdjn/008svvD6erdE2YOZVaHlN/J1avm33tMUpcNej56o
fOX9BXzJi3NX9SwocgS0Mb/wPC9CRTSEZDXQJ2qt4z6Bt65E4e/hT82gLtKW0MbEE+vZ
Ruzp044cKhjtz+YkGTAei9McBLM6eHGYxbjv0yoUI+yBe6HLcMYT3or8W+E2PD/Bsz2W
jTA0DQSHRkUUlgS93/DizJYC0G+K9YNW8qCFrP8RrI50p5LF9djkhQiAdNjLEg48pWsy
f2OQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=EKOZEnoYoDHOAfASc1oZV4ougL3+P+DuTxa3cSrcTZc=;
b=XCzo/Ozt+Vf+Jn+OT4FF+36SHcWD+8FidaQg9QR98PZduK0zBs+GL7pwt3yJ0UK3NO
Sd2H9ivb1rlAffB6j5GDX8jiUWfLBJhmwzYZZ0qHqs7w0odFplcE4TSfuee19IjBIpCf
pHRyMro2ZhkgJjb9vrm0ob/hdFDSF3MZ3rPOSuf//+z9rTE4F9I62hAuwG4NRAvhjG2J
4dfXsAGCN+qrV78gsCsRPzSvcs6iz8TqQqnIn/Sb22uGkLDVSND+jENW+764zWiTqWrH
ZwqHQ+kGzHp9ZVsqYCJ3Dg+vYUZqETow18P4vZniHPlGavisIrxsriLTGPYqj6JuWyp1
Xqbw==
X-Gm-Message-State: ABuFfohBpCUc/Ho2eZsObOJOoxIGM4ZbV/YmtJcivdonfS/oJrfATleC
lCVrQKh+f6vQQrAO0ofHQhvh8mEN2Kf4pss+bSzaJBQ4
X-Google-Smtp-Source: ACcGV602BWhD+YqUlpBtXpAHY3hUQ8FHuaSY+Pj2QBifojlgl1kqtokK7LngygVs55fyaMKZYsVp8g5JWUPPL4ciKOM=
X-Received: by 2002:a17:906:70c3:: with SMTP id
g3-v6mr16070338ejk.194.1539546756242;
Sun, 14 Oct 2018 12:52:36 -0700 (PDT)
MIME-Version: 1.0
From: Srintuar <srintuar@gmail.com>
Date: Sun, 14 Oct 2018 15:52:25 -0400
Message-ID: <CACUQsLKTHVE7pe=0-zuMTGZWbUaJFp5=CNZCQE0477B7LZRsbg@mail.gmail.com>
To: bitcoin-dev@lists.linuxfoundation.org
Content-Type: multipart/alternative; boundary="0000000000008563ed057835a992"
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
smtp1.linux-foundation.org
X-Mailman-Approved-At: Sun, 14 Oct 2018 20:13:48 +0000
Subject: [bitcoin-dev] BIP for segwit compatibility URIs
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Oct 2018 19:52:38 -0000
--0000000000008563ed057835a992
Content-Type: text/plain; charset="UTF-8"
An extremely simple BIP write-up for a backward compatible URI scheme to
help with segwit adoption by online stores and merchants.
====
This BIP is a modification of an earlier [[bip-0021.mediawiki|BIP 0021]] by
Nils Schneider and Matt Corallo
==Abstract==
This BIP proposes a URI scheme which allows for backward compatibility with
native segwit (bech32) wallets and legcy wallets (base58)
==Motivation==
The purpose of this URI scheme is to enable all users to easily make
payments from any wallet, without allowing backward compatibility to be a
barrier to segwit adoption. This BIP allows a merchant to preferentially
receive payments to a bech32 address, while gracefully allowing older
clients to make base58 encoded payments.
==Specification==
=== Query Keys ===
*addr: an alternative bitcoin destination which is preferred over the
"bitcoinaddress" field of the url
== Appendix ==
=== Simpler syntax ===
<nowiki>bitcoin:<address>[?amount=<amount>][?label=<label>][?message=<message>][?addr=<bech32address>]</nowiki>
=== Examples ===
Just the address:
bitcoin:3BnsWZiTdYVrqiPh2RP3q9Y3ZqvhbCN2it?addr=bc1q5u92yq20hss4rc99mfu23h4dxkxn4uuyqd5dzy&amount=50&label=Luke-Jr&message=Donation%20for%20project%20xyz
== Reference Implementations ==
=== Bitcoin clients ===
* none yet
--0000000000008563ed057835a992
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div dir=3D"ltr"><br></div><div>An extremely simple BIP wr=
ite-up for a=20
backward compatible URI scheme to help with segwit adoption by online=20
stores and merchants.<br></div><div dir=3D"ltr"><br></div><div dir=3D"ltr">=
<br></div><div dir=3D"ltr"><br></div><div dir=3D"ltr">=3D=3D=3D=3D<br></div=
><div dir=3D"ltr"><br>This BIP is a modification of an earlier [[bip-0021.m=
ediawiki|BIP 0021]] by Nils Schneider and Matt Corallo<br><br>=3D=3DAbstrac=
t=3D=3D<br>This
BIP proposes a URI scheme which allows for backward compatibility with=20
native segwit (bech32) wallets and legcy wallets (base58)<br><br>=3D=3DMoti=
vation=3D=3D<br>The
purpose of this URI scheme is to enable all users to easily make=20
payments from any wallet, without allowing backward compatibility to be a
barrier to segwit adoption. This BIP allows a merchant to=20
preferentially receive payments to a bech32 address, while gracefully=20
allowing older clients to make base58 encoded payments.<br><br>=3D=3DSpecif=
ication=3D=3D<br><br>=3D=3D=3D Query Keys =3D=3D=3D<br><br>*addr: an altern=
ative bitcoin destination which is preferred over the "bitcoinaddress&=
quot; field of the url<br><br>=3D=3D Appendix =3D=3D<br><br>=3D=3D=3D Simpl=
er syntax =3D=3D=3D<br><br>=C2=A0<nowiki>bitcoin:<address>[?amo=
unt=3D<amount>][?label=3D<label>][?message=3D<message>][?=
addr=3D<bech32address>]</nowiki><br><br>=3D=3D=3D Examples =3D=
=3D=3D<br><br>Just the address:<br>=C2=A0bitcoin:3BnsWZiTdYVrqiPh2RP3q9Y3Zq=
vhbCN2it?addr=3Dbc1q5u92yq20hss4rc99mfu23h4dxkxn4uuyqd5dzy&amount=3D50&=
amp;label=3DLuke-Jr&message=3DDonation%20for%20project%20xyz<br><br><br=
>=3D=3D Reference Implementations =3D=3D<br>=3D=3D=3D Bitcoin clients =3D=
=3D=3D<br><br></div><div>* none yet<br></div><div dir=3D"ltr"><br></div></d=
iv>
--0000000000008563ed057835a992--
|