mirror of
https://github.com/bitcoin/bips.git
synced 2025-03-04 03:03:53 +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:
parent
dc00d6cf02
commit
86e1074d7f
1 changed files with 5 additions and 5 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
{{bip}}
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
BIP: 21
|
BIP: 21
|
||||||
Title: URI Scheme
|
Title: URI Scheme
|
||||||
|
@ -33,13 +35,12 @@ Graphical bitcoin clients SHOULD register themselves as the handler for the "bit
|
||||||
bitcoinurn = "bitcoin:" bitcoinaddress [ "?" bitcoinparams ]
|
bitcoinurn = "bitcoin:" bitcoinaddress [ "?" bitcoinparams ]
|
||||||
bitcoinaddress = base58 *base58
|
bitcoinaddress = base58 *base58
|
||||||
bitcoinparams = *bitcoinparam
|
bitcoinparams = *bitcoinparam
|
||||||
standardparam = amountparam | labelparam | messageparam | otherparam
|
bitcoinparam = amountparam | labelparam | messageparam | otherparam | reqparam
|
||||||
bitcoinparam = standardparam | reqparam
|
|
||||||
amountparam = "amount=" *digit [ "." *digit ]
|
amountparam = "amount=" *digit [ "." *digit ]
|
||||||
labelparam = "label=" *pchar
|
labelparam = "label=" *pchar
|
||||||
messageparam = "message=" *pchar
|
messageparam = "message=" *pchar
|
||||||
otherparam = pchar *pchar "=" *pchar
|
otherparam = pchar *pchar "=" *pchar
|
||||||
reqparam = "req-" standardparam
|
reqparam = "req-" pchar *pchar "=" *pchar
|
||||||
|
|
||||||
=== Query Keys ===
|
=== Query Keys ===
|
||||||
|
|
||||||
|
@ -85,7 +86,7 @@ Please see the [[#BNF grammar|BNF grammar]] above for the normative syntax.
|
||||||
|
|
||||||
[foo] means optional, <bar> are placeholders
|
[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 ===
|
=== Examples ===
|
||||||
|
|
||||||
|
@ -116,4 +117,3 @@ Characters must be URI encoded properly.
|
||||||
[[Category:Developer]]
|
[[Category:Developer]]
|
||||||
[[Category:Technical]]
|
[[Category:Technical]]
|
||||||
[[Category:BIP|D]]
|
[[Category:BIP|D]]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue