Difference between revisions of "BIP 0020"

From Bitcoin Wiki
Jump to: navigation, search
(woops, fix units)
m (copy paste error)
 
(86 intermediate revisions by 16 users not shown)
Line 1: Line 1:
I propose a scheme like this:
+
{{bip}}
  
() means optional, $* are placeholders
+
<pre>
 +
  BIP: 20
 +
  Title: URI Scheme
 +
  Author: Luke Dashjr <luke+bip@dashjr.org>
 +
  Status: Replaced
 +
  Type: Standards Track
 +
  Created: 10-01-2011
 +
</pre>
  
bitcoin://($host)/$address?amount=$size$unit(&label=$label)(&message=$message)
+
{{BipMoved|bip-0020.mediawiki}}
  
=== Variables ===
+
[[Category:Developer]]
 
+
[[Category:Technical]]
*label: Label for that address (e.g. name of receiver)
+
[[Category:BIP|D]]
*address: bitcoin address
 
*message: optional message that is shown to the user after scanning the QR code
 
*size: amount of $unit
 
*unit: BTC, [ᵗˢᵐᵇ]TBC[ᵗˢᵐᵇ], or null/omitted (which refers to the base unit)
 
 
 
== Examples ==
 
 
 
Just the address:
 
bitcoin:///18pnDgDYFMAKsHTA3ZqyAi6t8q9ztaWWXt
 
 
 
Address with name:BTC
 
bitcoin:///18pnDgDYFMAKsHTA3ZqyAi6t8q9ztaWWXt?label=tcatm
 
 
 
Request to send 20.30 BTC to me:
 
bitcoin:///18pnDgDYFMAKsHTA3ZqyAi6t8q9ztaWWXt?amount=20.30BTC&label=tcatm
 
 
 
Request to send 50 BTC with message:
 
bitcoin:///18pnDgDYFMAKsHTA3ZqyAi6t8q9ztaWWXt?amount=50BTC&label=tcatm&message=Payment%20for%20product%20xyz
 
 
 
Characters must be URI encoded properly.
 

Latest revision as of 13:42, 29 December 2015

This page describes a BIP (Bitcoin Improvement Proposal).
Please see BIP 2 for more information about BIPs and creating them. Please do not just create a wiki page.

  BIP: 20
  Title: URI Scheme
  Author: Luke Dashjr <luke+bip@dashjr.org>
  Status: Replaced
  Type: Standards Track
  Created: 10-01-2011

The full text of this BIP can be read here.