Skip to main content
£0.00 0

Basket

No products in the basket.

ASIC mining articles and advice

BIP 20 Bitcoin URI Scheme: The Proposal Before BIP 21

BIP 20 Bitcoin URI scheme explained as the closed predecessor to BIP 21, including payment links, amount encoding, compatibility and migration.

BIP 20 Bitcoin URI scheme guide cover

This guide explains BIP 20 Bitcoin URI scheme in plain English. It covers the problem behind the BIP, why it matters and whether the proposal is part of Bitcoin today.

TL;DR

  • What it is: BIP 20 Bitcoin URI scheme proposed a clickable payment-link format before the deployed BIP 21 specification. It described how an application could launch a Bitcoin wallet with a destination, amount, label and message already populated.
  • Why it matters: BIP 20 established the core idea of launchable Bitcoin payment links, but BIP 21 is the deployed standard to implement. Legacy support should be a guarded parsing and migration feature, never a reason to bypass independent address, amount and fee confirmation.
  • Current position: The proposal is closed, so modern software should implement BIP 21 while treating BIP 20 as historical design evidence and a possible legacy-input case.

BIP 20 Bitcoin URI scheme in simple English

BIP 20 Bitcoin URI scheme: The proposal uses the bitcoin scheme followed by a destination and query parameters. URI parsing rules, percent encoding and parameter separators determine the exact values.

Simple example

A node operator is checking BIP 20 Bitcoin URI scheme. BIP 20 proposed a bitcoin URI that browsers, QR scanners and desktop applications could hand to a registered wallet.

Key terms in plain English

BIP:
Bitcoin Improvement Proposal: a document describing a proposed rule, standard or process. Its status must be checked separately.
Node:
A computer running Bitcoin software that checks data and communicates with other peers.

Copying a Bitcoin address manually is error-prone and carries no standard way to communicate an amount, recipient label or payment note. BIP 20 proposed a bitcoin URI that browsers, QR scanners and desktop applications could hand to a registered wallet. The wallet remained responsible for showing the proposed payment and obtaining user approval before signing or broadcasting.

Scheme and destination structure

The proposal uses the bitcoin scheme followed by a destination and query parameters. URI parsing rules, percent encoding and parameter separators determine the exact values. A parser must not treat a string as trustworthy merely because it begins with bitcoin. It should validate the network address, reject malformed encoding and display the decoded destination independently.

Amounts and decimal safety

Payment amounts are represented as decimal bitcoin values rather than floating-point approximations. Implementations should parse into integer satoshis with strict precision and range checks. Locale-specific commas, exponent notation, negative values and excessive decimal places are unsafe. The wallet should show both the requested amount and the resulting fee before the user confirms.

BIP 20 Bitcoin URI scheme technical diagram
Amounts and decimal safety: the fields, validation boundary and operational evidence that implementations need to agree.

Labels and messages

A label can help the payer recognise the recipient, while a message can describe the purpose of the request. Neither is authenticated by the URI itself. An attacker who substitutes the complete link can substitute these fields too. Wallet interfaces should escape displayed text, constrain lengths and avoid recording sensitive free-form messages in logs or analytics.

Why BIP 21 replaced it

BIP 21 refined the URI grammar, parameter handling and compatibility rules and became the deployed reference. The two proposals share the broad payment-link intent but are not interchangeable specifications. New integrations should cite BIP 21 explicitly. Legacy importers can identify BIP 20 assumptions and convert only after presenting the final decoded payment for review.

QR codes and browser handlers

A QR code is only another carrier for the same untrusted text. Camera software, browser protocol handlers and wallet registration introduce separate substitution risks. The receiving wallet should own final validation and confirmation. A website should not claim payment merely because it generated a code, and a wallet should not broadcast automatically on link activation.

How specialists test it

Developers test the proposal with made-up data on an isolated test network. They check normal cases and deliberately invalid cases. Different implementations should reach the same result before anyone relies on the proposal.

Frequently asked questions

What is the main point of BIP 20 Bitcoin URI scheme?

BIP 20 Bitcoin URI scheme: The proposal uses the bitcoin scheme followed by a destination and query parameters.

For BIP 20 Bitcoin URI scheme, what should a beginner know about the payment-link problem?

Copying a Bitcoin address manually is error-prone and carries no standard way to communicate an amount, recipient label or payment note.

For BIP 20 Bitcoin URI scheme, what should a beginner know about scheme and destination structure?

The proposal uses the bitcoin scheme followed by a destination and query parameters.

For BIP 20 Bitcoin URI scheme, what should a beginner know about amounts and decimal safety?

Payment amounts are represented as decimal bitcoin values rather than floating-point approximations.

Conclusion

BIP 20 established the core idea of launchable Bitcoin payment links, but BIP 21 is the deployed standard to implement. Legacy support should be a guarded parsing and migration feature, never a reason to bypass independent address, amount and fee confirmation.

Primary sources

Check the current specification status and the documentation for the exact implementation you operate before moving production funds or changing a mining node.

ASIC MINER PICKS

Recommended ASIC Mining Hardware

Compare three of our highest ranked ASIC miners currently available, with live product details and pricing.
Overall ranking
Equihash
·
ZEC
Overall rank#1of 100AvailableAll: #3 / 831
Bitmain Antminer Z15K 525KSol Equihash Zcash Miner
Bitmain
Pre-Order
Hashrate
525KSOL
Efficiency
4.73W/KSOL
Power
2483W
Earns/kWh
41.7p
Free Shipping
Price · delivered
£6,050.00
ex VAT
Est. per month
£755.32
Payback 8 Months
Overall ranking
Equihash
·
ZEC
Overall rank#2of 100AvailableAll: #5 / 831
Bitmain Antminer Z15 Pro 840KSol Equihash Zcash Miner
Bitmain
In stock
Hashrate
840KSOL
Efficiency
3.3W/KSOL
Power
2772W
Earns/kWh
59.8p
Price · delivered
£12,505.00
ex VAT
Est. per month
£1208.50
Payback 10.3 Months
Overall ranking
SHA-256
·
BTC
Overall rank#6of 100AvailableAll: #11 / 831
Bitmain Antminer S23e Hydro 2U 865Th SHA-256 Bitcoin Miner
Bitmain
Pre-Order
Hashrate
865TH
Efficiency
10W/TH
Power
8650W
Earns/kWh
13.2p
Free Shipping
Price · delivered
£9,382.50
ex VAT
Est. per month
£834.31
Payback 11.2 Months
Browse all ASIC miners
MORE MINING ADVICE

More ASIC Mining Articles

Read practical advice about choosing hardware, calculating electricity costs, setting up miners, hosting and maintenance.
MINER COMMUNITY

Join the ASIC Mining Discussion

Ask a question or share what has worked for you. Your experience may help another miner make a better decision.

Members can read and join the discussion

Log in to read comments from other miners. Create a free account if you would like to ask a question or share your experience.

Log in to read comments Register to join the discussion

Membership helps us protect the discussion from spam and keep answers useful.

ASIC MINING SUPPORT

Need Help Choosing an ASIC Miner?

Tell us what you want to mine, your electricity cost and where the machine will run. We can help you compare hardware, power requirements, hosting and repairs.
Contact our mining team
Browse ASIC miners