BIP 21, URI Scheme, standardized the familiar bitcoin: payment link: a Bitcoin address with optional amount, label and message, suitable for websites, QR codes and wallet software. It was authored by Nils Schneider and Matt Corallo, assigned 29 January 2012, and replaced BIP 20. In 2025 it was itself replaced by BIP 321. The maintained BIP 21 is now marked Closed; that editorial status does not make existing BIP 21-style links disappear. Canonical BIP 21 — primary · 2025 replacement status — direct history
The interesting part of this standard is that its history refuses to stay inside a neat 2012 box. Its first draft still contained a provision for giving someone a private key through a payment URI. That disappeared in a revision two days later. In 2014 its grammar was amended to accept empty receiving addresses for BIP 72. And by 2025, the broader payment ecosystem had outgrown the old assumptions, leading to BIP 321. The record is best read as a sequence of corrections and changed boundaries, not a single finished artifact.
The recognizable format
BIP 21 describes a URI with the bitcoin: scheme and an address followed by optional query parameters. The most familiar keys were amount, label and message. The amount was denominated in decimal BTC, using a dot rather than thousands separators. The label named a receiver for presentation; the message described a proposed payment. Neither field verified who controlled the destination. Specification and transfer amount
A schematic example, with no spendable address, looks like:
bitcoin:<address>?amount=0.01&label=<name>
A client was instructed not to act on a URI without user authorization, and GUI clients could register as the operating-system handler for the scheme. This separated convenience of opening a wallet from authorization to transmit money. Handling rules and operating-system integration
Unknown query parameters could be ignored unless they began with req-. A client that did not understand a required parameter had to reject the whole URI rather than silently disregard a condition the sender considered essential. BIP 21 treated the scheme name as case-insensitive but the remainder of the URI, including query keys, as case-sensitive. Contrast BIP 321, which later made its query keys case-insensitive. Forward compatibility and case rule · Modern URI rules
A deliberately narrower successor to BIP 20
BIP 20 had allowed decimal and hexadecimal payment-amount expressions with an X exponent, a ;version=1.0 component and a send field carrying a private key for claiming prefunded outputs. Those features blur different questions: how much money should be requested, and who has the authority to spend it. They did not survive the maintained BIP 21. Predecessor specification · Successor grammar
There is a revealing complication in the direct history. On 30 January 2012, the first Git revision of BIP 21 already simplified the amount format, but still included ;version and the entire send private-key-transfer scheme. Its header even gave the wrong year, 2011. First BIP 21 file — direct diff
On 31 January 2012, a substantial edit removed that private-key-transfer material, deleted ;version, introduced a required-parameter mechanism and corrected the document date. The first prefix spelling was req:; the team rapidly corrected it to req-, merged in early February. BIP 21 was then changed from Draft to Accepted on 5 February 2012. Thus, even the transition from BIP 20 to BIP 21 was not instantaneous. January revision · Prefix correction merge · Acceptance record
The dated removal is evidence of changed language, not a recovered collective explanation of why every removed feature was rejected. In particular, it would be inappropriate to claim a historical key-theft incident caused this revision without a source.
The wallet code and the proposal did not start on the same day
A Bitcoin-Qt integration commit merged on 26 January 2012, three days before the assigned BIP 21 date. It implemented full URI handling in the GUI, including desktop URL-handler integration and IPC support. The maintained BIP's reference section itself says Bitcoin-Qt supported an older variant without the new req- requirement. This is a particularly clear example of software preceding the finalized wording of a standard. Bitcoin-Qt implementation — direct code commit · Reference implementation claim
Bitcoin Core's own documentation later lists BIP 21 URI support in version 0.6.0, citing PR #176. That release-level statement should be kept separate from the January 2012 integration commit and from claims about every platform or third-party wallet. Bitcoin Core BIP support documentation
The 2014 repair: an address was no longer mandatory
BIP 72, assigned 29 July 2013, extended the URI syntax with an r parameter pointing to a BIP 70 payment request. If backward compatibility was not required, it explicitly allowed a form resembling bitcoin:?r=<request-location> with no address in the path. The wallet was meant to fetch the payment request and follow that protocol. These were 2013 protocol design instructions, not evidence that a currently offered endpoint remains available or trustworthy. Canonical BIP 72 — primary
But BIP 21's then-existing ABNF grammar still required at least one Base58 character in the address. On 13 March 2014, William Swanson changed bitcoinaddress = base58 *base58 to bitcoinaddress = *base58. His commit specifically cited BIP 72 compatibility and also permitted empty query parameters. This is not an inference from recent wallet designs: the source commit spells out the reason. Empty-address correction — direct diff
Other amendments at the same time clarified RFC 3986 character handling and query separators and specified that the scheme name was case-insensitive while keys were case-sensitive. The source recorded the case rule in relation to actual Bitcoin-Qt behavior. These were genuine maintenance changes to the standard after its 2012 acceptance. Query character clarification · Case clarification
An important boundary remains: a grammar permitting an empty address does not mean an old wallet could make a useful payment from every addressless URI. BIP 72 supplied a particular remote-request interpretation. BIP 321 much later specified other named payment instructions. Syntax permission, interpreting a parameter and actually paying it are three different levels of support. BIP 72 protocol · BIP 321 instruction keys
Why it was replaced rather than endlessly edited
The maintained BIP 21 described a world centered on an on-chain receiving address. By 2024 the actual ecosystem included SegWit and Taproot addresses, Lightning, and Silent Payments. Matt Corallo's 2024 proposal to modernize BIP 21 raised a governance question: should a historically accepted standard be rewritten to accommodate new payment methods, or should a replacement receive its own identity? Reviewers disagreed. That dispute and its resolution are examined in BIP 321. Public design review — contemporary first-party
The replacement BIP was merged on 25 April 2025; BIP 21 was marked Replaced in the canonical repository on 7 August 2025. Its present Closed label reflects later BIP process vocabulary. These are proposal/document milestones, not dates on which every wallet ceased to understand BIP 21-shaped links. BIP 321 canonical merge · BIP 21 replacement status · Current status
BIP 72's parameter changed while the older grammar caught up
BIP 72 was assigned on 29 July 2013 with the aim of letting a bitcoin: link fetch a separate BIP 70 merchant payment request. The earliest recovered BIPs file, imported 21 October 2013 from an August revision, used request=. A 5 December 2013 commit shortened that to r= for QR-code efficiency. Thus the familiar r parameter was a revision, not the proposal's original spelling. Original file · Rename
There are two different fallback cases. BIP 72 said an unaware client could ignore r and pay the visible address, while an aware client should fetch the payment request and ignore the visible address/amount fields. Bitcoin Core later merged a February 2019 change allowing builds without BIP 70 to try ordinary BIP 21 parsing of such links. That implementation decision did not revise BIP 72's instruction to capable wallets. Core disabled BIP 70 by default in version 0.19 and removed it altogether in version 0.20.0 (3 June 2020). BIP 72 rules · Conditional fallback · Default-disabled release · Removed release
Collaborative payment endpoints
A later use of optional BIP 21 query fields appears in Bustapay and Payjoin. Bustapay advertised a receiver endpoint using bpu=; BIP 78 standardized pj= and introduced pjos=0 to forbid receiver-output substitution. Those parameters offer an interactive on-chain transaction construction, not a merchant payment request fetched through BIP 72's r=. An older wallet can ignore the optional fields and pay the conventional address. The URI alone does not prove that a collaborative transaction was ever constructed or broadcast. BIP 79 URI · BIP 78 URI
Record of changes
bitcoin: URI support before BIP 21's assigned date. The code commit is not a public wallet-adoption census. Direct implementation recordsend grammar and prose were removed, required parameters standardized as req-, and the BIP marked Accepted. Removal · Prefix change · AcceptanceOpen research
Test tagged Bitcoin-Qt/Bitcoin Core builds to distinguish older
bitcoin: links, req- parsing, addressless requests and payment-protocol support in actual released software. A Git merge is not a release test.Recover the pre-BIP Nils Schneider design and primary 2011–2012 review discussion, especially the rationale for removing BIP 20's private-key
send mechanism.Document a real historic wallet implementation that accepted
bitcoin:?r= with no fallback address. Avoid inferring operation from the 2014 ABNF correction alone.Compare the older URI handler's actual user-confirmation flow with the standard's MUST NOT act without authorisation rule, separating source-code review from live usability tests.
Evidence status
The BIP files, Git commits and BIP 321 review are direct primary records. Bitcoin Core's implementation list is a first-party release-support assertion rather than a test of every build. The analysis distinguishing instructions, user authorization and settlement is archivist interpretation. Adoption of the earliest BIP 20 behavior and real-wallet acceptance of addressless BIP 72 links remain unverified. Nothing in BIP 21 changed consensus rules.