1
0
Fork 0
mirror of https://github.com/bitcoin/bips.git synced 2025-03-03 18:57:18 +01:00

Archive Revision as of 18:45, 23 May 2013

https://en.bitcoin.it/w/index.php?title=BIP_0021&oldid=37974
This commit is contained in:
Peter Todd 2013-10-21 00:48:04 -04:00
parent dc00d6cf02
commit 86e1074d7f
No known key found for this signature in database
GPG key ID: 2481403DA5F091FB

View file

@ -1,3 +1,5 @@
{{bip}}
<pre>
BIP: 21
Title: URI Scheme
@ -33,13 +35,12 @@ Graphical bitcoin clients SHOULD register themselves as the handler for the "bit
bitcoinurn = "bitcoin:" bitcoinaddress [ "?" bitcoinparams ]
bitcoinaddress = base58 *base58
bitcoinparams = *bitcoinparam
standardparam = amountparam | labelparam | messageparam | otherparam
bitcoinparam = standardparam | reqparam
bitcoinparam = amountparam | labelparam | messageparam | otherparam | reqparam
amountparam = "amount=" *digit [ "." *digit ]
labelparam = "label=" *pchar
messageparam = "message=" *pchar
otherparam = pchar *pchar "=" *pchar
reqparam = "req-" standardparam
reqparam = "req-" pchar *pchar "=" *pchar
=== Query Keys ===
@ -85,7 +86,7 @@ Please see the [[#BNF grammar|BNF grammar]] above for the normative syntax.
[foo] means optional, <bar> are placeholders
bitcoin:<address>[?amount=<amount>][?label=<label>][?message=<message>]
<nowiki>bitcoin:<address>[?amount=<amount>][?label=<label>][?message=<message>]</nowiki>
=== Examples ===
@ -116,4 +117,3 @@ Characters must be URI encoded properly.
[[Category:Developer]]
[[Category:Technical]]
[[Category:BIP|D]]