BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveBitcoin

Bitcoin address

A Bitcoin address is a human-readable, checksummed representation of a destination for a Bitcoin payment. A sending wallet interprets it to construct a transaction output. The chain itself records outputs and their locking scripts, not account balances keyed by address strings.

2009: public-key hashes and Base58

The Bitcoin v0.1.5 source includes PubKeyToAddress, which applies Hash160 to a public key. Hash160ToAddress prefixes the result with a version byte of zero, then uses EncodeBase58Check. That encoder appends a four-byte checksum. The scheme underlies mainnet public-key-hash addresses beginning with 1. Original base58.h — implementation record

The code's Base58 rationale is unusually revealing about the human interface. It avoids visually confusable characters (0, O, I, l), punctuation that complicates email and text selection, and even refers to the strings as “account numbers”. That wording is a contemporary software comment. It does not mean that Bitcoin's consensus state consisted of conventional named accounts. Original Base58 comments

The original wallet interface supplies a more concrete observation: its send dialog accepted a Base58 Bitcoin address for an offline recipient, decoded that address to a 20-byte hash, and assembled the P2PKH locking script OP_DUP OP_HASH160 <hash> OP_EQUALVERIFY OP_CHECKSIG. Its New Bitcoin Address control generated a key and derived another receiving string. The separate IP-address sending path requested a recipient script through an online exchange. These are implementation paths, not a count of real-world payments or proof that all early outputs used P2PKH. Pay-to-public-key-hash reconstructs the source-code sequence. Original send-dialog branching · Original new-address control · Original interface text

Generating the new receiving address in that original GUI also generated and stored a new private key. Bitcoin wallet randomness traces the v0.1.5 OpenSSL key-generation path and the mouse and system observations mixed into its random generator. An address's visible encoding cannot establish whether the private key behind it was generated unpredictably. Original key generation · Original mouse-event input

By October 2010, the wallet's new-address GUI and getnewaddress RPC instead drew an already-generated public key from the Bitcoin key pool. This helped older backups cover a limited number of subsequent addresses, without turning those keys into deterministic children of one seed. The distinction matters when interpreting historical address-generation workflows. Pool integration — direct source · Address GUI — tagged source

The contemporary IP transactions interface provides a useful counterexample to the idea that a payment address was always the starting point. The sender could request a fresh output script from a reachable peer; the response was unauthenticated and the feature was retired in stages from 2010 through 2013. The chain recorded the resulting script, not the IP endpoint. Original receiver · 2010 discussion · 2012 protocol cleanup

The same tagged client created mined coinbase outputs by putting a public key directly before OP_CHECKSIG. Its transaction builder also created change outputs in that pay-to-public-key form. Neither construction requires a public-key-hash address to appear in the block. The distinction between a wallet's receiving string and a transaction's actual output script is therefore visible in the original implementation, rather than being a later technicality. Original mining and change code

A comment beside the change code proposes randomising output order and using a new key for change. The comment is direct evidence that the issue had been noticed; it does not establish that this version actually generated a fresh change key. Transaction-construction comment

The same early script solver explicitly recognises both <pubkey> OP_CHECKSIG and OP_DUP OP_HASH160 <20-byte hash> OP_EQUALVERIFY OP_CHECKSIG. The former is P2PK, which puts the public key directly into the output, and the latter is P2PKH, which reveals the key when spending. A modern explorer can display a Base58 address derived from an early P2PK output's public key without that address, or a P2PKH script, ever appearing in the original transaction. Block 170's ordinary transaction is a concrete early example. Original two-template solver · Historical transaction

2011–2012: paying to scripts

Gavin Andresen's BIP 13, assigned 18 October 2011, introduced an address format for pay-to-script-hash (P2SH). It retained Base58Check but specified a mainnet version byte of 5, producing addresses beginning with 3. The encoded 20 bytes commit to a redeem script rather than directly to an ordinary public key. The proposal mentions escrow and wallet security among its motivations. BIP 13 — contemporary specification

A specification's assignment and a consensus rule's activation are separate dates. P2SH's BIP 16 rules apply to spending transactions in blocks with timestamps from 1 April 2012; the mechanism was postponed from an earlier planned switchover. An earlier on-chain output with the same OP_HASH160/OP_EQUAL pattern is not proof that its spend was checked under the new rules. The BIP 13 address format and BIP 16 consensus validation serve different purposes. BIP 13 also preserves contemporary objections: an address does not authenticate the intended recipient's identity, and its checksum was a pragmatic rather than theoretically optimal choice. BIP 16 — validation and activation · Bitcoin source — February 2012 postponement · BIP 13 — rationale

2017: native witness addresses

Segregated Witness introduced witness-program outputs. BIP 173, assigned 20 March 2017, specified Bech32, a checksummed base32 encoding with a human-readable prefix such as bc on mainnet. The proposal records concrete shortcomings of Base58 for QR codes, mixed-case transcription and error detection. A native version-zero witness address typically starts bc1q.... BIP 173 — first-party format specification · BIP 141 — witness outputs

The encoded destination gives the sender a witness version and program from which to build an output script. The recipient's address text is still not an additional on-chain account identifier.

The wallet paths behind these output types have their own history. BIP 49 selects 49' for P2SH-wrapped P2WPKH; BIP 84 selects 84' for native P2WPKH. The former's payment addresses use 3..., but such an address might also represent other P2SH scripts. Likewise, a native witness address does not prove its private key was derived along BIP 84's path. The on-chain output tells a verifier the spending conditions; it does not remember the wallet's seed or derivation path. Extended-key prefixes such as ypub and zpub belong to SLIP 132's off-chain wallet-serialization conventions, not to the address payload. BIP 49 script and path · BIP 84 script and path · Version-byte registry

2020–2021: Bech32m is not a wholesale replacement

BIP 350, assigned 16 December 2020, addressed an unexpected Bech32 checksum weakness: under certain conditions involving a final p, inserted or deleted q characters were not detected. Its authors explain that the fixed permitted lengths for witness version zero prevent that particular failure in existing Bitcoin v0 addresses. BIP 350 — motivation

The amendment specified Bech32m for witness versions 1–16, while version zero remains Bech32. A Taproot destination typically starts bc1p...; existing bc1q... addresses did not become obsolete. The correct checksum is determined by the witness version, not by treating every bc1 string as interchangeable. BIP 350 — specification · BIP 341 — Taproot

2018 onward: describing the script behind an address

An address tells software how to construct one recognized destination format; it does not preserve a wallet's entire script-and-key recovery scheme. Bitcoin Core 0.17.0 documented output descriptors for scanning the UTXO set in 2018, well before the general syntax was formalised as BIP 380 in 2021. A descriptor distinguishes pkh(KEY) from wpkh(KEY) and sh(wpkh(KEY)), and can preserve key origins and derivation branches. The same key material can produce different addresses under those expressions. Bitcoin Core 0.21.0 introduced experimental descriptor wallets, and version 23.0 made them the default for newly created wallets. These are wallet-software conventions, not new fields stored in transaction outputs. 2018 descriptor documentation · 2021 specification submission · 2021 wallet type · 2022 default

A Taproot address does not name its derivation path

BIP 86 specifies m/86'/coin_type'/account'/change/index for single-key Taproot outputs and derives a tweaked output key from each internal public key. It deliberately defines no new xpub-style version prefix; the July 2021 proposal discussion records that decision explicitly. A bc1p Bech32m address expresses a witness version and output key, not an assurance that a wallet used BIP 86, a particular account number, or a scriptless spending policy. Taproot HD account convention · Contemporary version-prefix discussion

Payment requests that are not just addresses

BIP 321 (assigned in November 2024, merged April 2025) replaces BIP 21 as the maintained bitcoin: URI scheme. One URI can offer an address alongside a Lightning invoice or offer, or a Silent Payments instruction; it may omit the address when an alternative payment instruction is supplied. A payment URI is an offer of choices, not a blockchain address, a completed payment, or a proof of the recipient's identity. The actual payment rail chosen is a separate fact. BIP 321 — maintained format · Original proposal and review

There is a historical wrinkle: BIP 21 already changed its grammar on 13 March 2014 to permit an empty address for BIP 72 compatibility. BIP 321 did not invent that syntactic possibility; it made addressless, multiple-method instructions explicit. Its query-parameter keys are case-insensitive, but that alone does not establish support by older wallet versions. BIP 21 grammar change · BIP 321 rules

Human-readable payment names and DNSSEC

A newer human-facing identifier is not necessarily an address at all. BIP 353 (proposed in February 2024 and merged in June) allows a name such as ₿alice@example.com to locate a DNSSEC-authenticated bitcoin: payment instruction. The DNS record may describe an ordinary on-chain address, or a URI carrying another payment method such as Silent Payments. DNSSEC establishes the signed DNS response, not an account in Bitcoin's chain or a verified human identity. The maintained BIP 353 still names BIP 21, while BIP 321 was later accepted as its URI-format replacement. DNS payment instructions · First BIP 353 review and merge · Modern URI scheme

Reading an address as evidence

An address string can tell compatible wallet software how to construct an output, and an indexer can report outputs matching that destination. It does not by itself disclose a person's identity, reveal every output that person's wallet may control, or make an arbitrary script naturally reducible to one address. Those broader claims require other evidence.

This matters for Ordinals and Bitmap ownership displays. A service's statement that an inscription is at an address may mean only that it classified the current output script under a destination format. The on-chain evidence is the output and its spend conditions; attribution to a person or organisation is a separate historical claim.

Bitcoin peer addr messages are a different use of the same word: they carry network contact information, not payment destinations. See Bitcoin peer discovery.

Source status

The 2009 client is a direct implementation record. BIPs 13, 16, 141, 173, 341 and 350 are first-party specifications; their assignment dates do not measure wallet adoption. Calling an address balance a derived indexer view is an interpretation of Bitcoin's script-and-output model, not an additional consensus field.

Open research

Open question
Trace when public wallet documentation explicitly distinguished payment addresses from the early source's “account number” terminology.
Open question
Document wallet uptake of P2SH, Bech32 and Bech32m from dated implementations rather than using BIP assignment dates as adoption dates.

See also