BIP 380 (Output Script Descriptors General Operation) is the application-layer specification for the shared syntax of Bitcoin output script descriptors. A descriptor states which output scripts a wallet should recognise or construct, with the relevant keys, optional key-origin and derivation information, and an optional checksum. It addresses a problem that BIP 32 alone cannot solve: a wallet can regenerate the right public keys and still look for the wrong scripts. BIP 39 words and an xpub are not, by themselves, complete instructions for finding a wallet's outputs. Maintained BIP 380 — first-party specification
The specification was assigned 27 June 2021, authored by Pieter Wuille and Ava Chow, and entered the canonical BIPs repository with the descriptor-BIP bundle merged on 30 August 2021. But the language was already implemented in Bitcoin Core 0.17.0 in 2018. The standardisation date is therefore not the invention or first software deployment date. Nor does BIP 380 change Bitcoin's consensus scripts: it specifies how cooperating software describes those scripts. Original standards submission · Bitcoin Core 0.17.0 release notes
The missing half of wallet recovery
Earlier wallet schemes addressed different parts of the problem. The key pool reserved keys that an old backup might need later. Deterministic wallets and BIP 32 made families of keys reproducible. BIP 43 and BIP 44 assigned conventional branches, while BIP 49 and BIP 84 distinguished wrapped and native Segregated Witness paths. None of these by itself instructs arbitrary software how to construct every possible script from a recovered key. Motivation · BIP 44 account discovery
The same extended public key can be used in pkh(KEY), wpkh(KEY) or sh(wpkh(KEY)), producing different output scripts and generally different payment addresses. A recipient of key material without its script context can scan the blockchain faithfully and still miss the relevant outputs. The descriptor proposal calls earlier script-specific extended-key version bytes a layer violation, because key serialization and script meaning are separate concerns. SLIP 132 records the practical motivation for ypub and zpub; this later criticism does not mean that those conventions never helped interoperability. Descriptor motivation · SLIP-0132 registry
A descriptor instead places the script expression around the key expression. The change sounds small, but it makes which script? explicit rather than hiding that decision in a wallet's assumptions.
2018: the language before the BIP number
Bitcoin Core 0.17.0, released 2 October 2018, added the experimental scantxoutset RPC for searching the UTXO set using output descriptors without requiring a loaded wallet. Its tagged doc/descriptors.md already shows pk(), pkh(), wpkh(), sh(), wsh(), multisignature forms and derived xpub paths. That is direct evidence of a working descriptor vocabulary before the 2021 BIP submission; the release documentation does not establish how many people used it. Contemporary release notes · Tagged implementation documentation
The implementation trail can be dated more closely. Wuille opened Bitcoin Core PR #13697 on 17 July 2018, explicitly presenting it as an implementation of his earlier descriptor concept. That pull request merged on 1 August 2018. The surviving gist contains a reply by Sjors dated 12 July and a reply by Wuille dated 17 July discussing whether labels belong inside descriptors. Wuille distinguished relatively static output definitions from dynamic transaction and address labels. The gist itself was subsequently edited (the visible page reports activity through January 2019), so its current full wording is not an untouched July 2018 draft. The dated discussion and pull request establish that the design was already being argued over before the October release. Contemporary source change and dates · First-party design document with dated discussion
Bitcoin Core 0.21.0, released 14 January 2021, introduced an experimental descriptor-wallet type. Its contemporary release notes contrasted explicit script ownership with older wallets that inferred possible scripts from stored keys. The new wallet type used SQLite rather than the Berkeley DB backend of legacy wallets, and importdescriptors replaced the older import paths for these wallets. It was not yet the default for newly created wallets. These are statements about Bitcoin Core's implementation, not new properties of the Bitcoin blockchain. Release announcement · Detailed contemporary release notes
2021: separating a general language from its functions
Pieter Wuille and Ava Chow submitted PR #1143 on 14 July 2021 to specify the existing descriptor approach across BIPs 380–386. The pull-request explanation explicitly separated the general grammar and checksum from function-specific BIPs so that implementations could indicate which expressions they supported. The pull request merged on 30 August 2021. An author-dated source commit for BIP 380 records 27 June 2021; this and the assigned date should not be silently substituted for the later public GitHub proposal and merge dates. Original PR description and chronology · Early BIP 380 source artifact
BIP 380 describes the framework, not every script function. The companion specifications allocate the actual expressions: BIP 381 covers pk(), pkh() and sh(); BIP 382 covers wpkh() and wsh(); BIP 383 covers multi() and sortedmulti(); BIP 384 covers combo(); BIP 385 covers raw() and addr(); and BIP 386 covers Taproot tr(). The links are useful even when a subject has not yet received an archive article. BIP 380 expression index · Companion BIPs and scope
Reading a descriptor
These simplified examples use the same fixed compressed public key in different script expressions:
pkh(0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798) wpkh(0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798) sh(wpkh(0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798))
They describe distinct locking-script constructions. They are examples of descriptor notation, not evidence of on-chain deposits, ownership or a particular wallet's activity. The functions are specified in the companion BIPs; BIP 380 supplies their common language and key-expression grammar. Historical Bitcoin Core examples · General grammar
A key expression may include origin data such as [deadbeef/84h/0h/0h], followed by an xpub and further derivation steps such as /0/. The eight hexadecimal characters identify a BIP 32 master-key fingerprint, and the bracketed path records derivation steps before the supplied key; steps after the xpub determine which further children to derive. The final / means a range of child indices rather than one fixed address. BIP 380 also permits ' instead of h for hardened steps. A fingerprint is a short hint, not cryptographic proof of which human or hardware device supplied the key. Key expressions · BIP 32 fingerprints and derivation
Watch-only exports should move any needed hardened derivation to the supplied extended public key and preserve the resulting path in origin information: the holder of an xpub cannot independently compute hardened private descendants. The common receiving branch /0/ and change branch /1/ remain different searches; BIP 389 later specified a multipath extension such as /<0;1>/* to express both in one descriptor. That syntax comes from BIP 389, not the original 2021 BIP 380. BIP 389's draft was assigned in July 2022 and merged into the BIPs repository in June 2023; Bitcoin Core's implementing PR merged in August 2024, but version-pinned source shows the parser absent from the 28.x release tags and present in 29.0 (April 2025). These dates describe a proposal, a code merge and a shipping version, not three activations of the same Bitcoin rule. BIP 389 reconstructs the evidence. Original BIP PR · Implementation PR · 28.2 parser · 29.0 parser Hardened normalization · Multipath extension
A checksum, not a claim of ownership
BIP 380 specifies an optional eight-character checksum after a #. Its published test vectors include:
raw(deadbeef)#89f8spxm
The checksum detects many accidental alterations in the descriptor string, including single-symbol changes. It does not authenticate the person who created a descriptor, certify the honesty of a supplied xpub, secure a lost seed or prove current control of any matching UTXO. A watch-only descriptor may disclose a family of receiving scripts; a private-key descriptor may expose spending secrets. Source code and wallet documentation should be consulted before any real export or import. Checksum algorithm and vectors · Extended-public-key implications
The specification was clarified on 10 February 2023: checksums are optional at the level of the language parser, while an application may require them. That is materially different from telling every implementation to accept a checksum-free import. In June 2023, further key-expression and checksum test vectors were added, illustrating how an interoperable language needs negative tests as well as happy-path examples. Checksum optionality clarification · Test vectors
Wallet software and historical status
Bitcoin Core 23.0, released 25 April 2022, made descriptor wallets the default for newly created wallets and added a default tr() descriptor for new Taproot receiving addresses. Existing wallets were not thereby proven converted, and third-party wallets did not automatically become compatible. Bitcoin Core's importdescriptors interface also carries operational parameters such as a rescan timestamp, active status and derivation range. Those determine which historical and future outputs the application actually discovers; they are not fields that BIP 380 inserts into a Bitcoin transaction. Release announcement · Default-wallet change · Import parameters
The canonical BIP was marked Final on 10 July 2024. The January 2026 BIP-process migration changed its status to Deployed, and a 17 September 2026 edit changed its type classification to Specification. These are edits to the maintained standards record, not dates when descriptors first became usable. The maintained text also received a 2025 correction restricting hardened-path indicators to h or ' rather than uppercase H. 2024 final-status proposal and merge · 2026 process migration · 2026 type update · Hardened-indicator correction
An instructive 2021 counterpoint: BIP 86
The first BIP 86 proposal merged on 2 July 2021, while the descriptor-BIP bundle entered the standards repository later that summer. BIP 86 gave single-key Taproot wallets a hardened 86' purpose and an output-key tweak, reusing seed-recovery conventions even as descriptors offered a more general language for describing scripts. A 3 July review question asked whether there should be another ypub/zpub-like extended-key prefix. Its author explicitly declined. This was not the same omission that prompted the earlier SLIP 132 registry. Original BIP 86 PR and review · Descriptor BIPs submission
Both approaches were attempts to preserve information that a seed alone lacks. BIP 86 prescribes one particular single-key Taproot account convention; a descriptor can communicate the intended script expression and key origin instead of asking an extended-key prefix to carry script semantics. A descriptor still does not guarantee successful recovery without adequate historical scanning and private signing material. BIP 86 · BIP 380
What a descriptor does not preserve
A descriptor can make a wallet's script family and key derivation reproducible, but it does not identify the person holding a key, prove that its scripts have been used or remove the need for appropriate range and historical scanning. An export containing public extended keys may be enough to observe outputs but not to sign transactions; a complete spending recovery also needs the relevant private material, signer availability and wallet configuration. The script description and secret custody are distinct layers. Purpose and syntax · Original descriptor-wallet restrictions
For Ordinals, the relevant question goes a level further: which unspent output currently carries a particular sat or inscription under the Ordinals interpretation? For Bitmap, it may also matter whether a claim satisfies the applicable district or parcel rules. A descriptor helps identify Bitcoin scripts a wallet can watch; it does not encode sat assignment, an inscription's history, the winner of a Bitmap claim, or a person's rights to a world. Those are separate derivations from Bitcoin history and application rules. This distinction is an architectural inference, not an assertion that BIP 380 was designed for Ordinals or Bitmap.
Labels as a separate recovery layer
A descriptor can reproduce a set of scripts, but it does not preserve the wallet user's annotations about those scripts or their outputs. BIP 329 addresses this separate portability problem through typed JSON Lines records for transaction, address, key and outpoint labels. Its origin field uses an abbreviated descriptor to distinguish accounts; it does not replace a full spending or watch-only descriptor. The original BIP 329 draft was CSV in August 2022, switched to JSON Lines in September, and entered the BIPs repository in January 2023. Original proposal and merge · Origin encoding correction
Labels and a spendable:false flag describe local wallet interpretation and coin-control preferences, not consensus conditions. Their loss during migration can be consequential even when the seed, derivation path and descriptor survive intact. BIP 329 traces the changing export semantics and distinguishes them from Ordinals or Bitmap ownership facts. Maintained specification
An evolving key expression: BIP 390
BIP 390 shows how descriptor syntax continued to grow after the original 2018 implementation and 2021 BIP bundle. Its musig() expression describes a MuSig2 signing group's aggregate public key and, with BIP 328, a reproducible family of public descendants. Bitcoin Core shipped parsing in 30.0 and wallet signing in 31.0, distinct features. The maintained BIP 390 was still Draft in November 2026 and had meanwhile expanded its permitted contexts from tr() to rawtr() and silent-payment sp(). Neither that grammar nor the ability to scan group-controlled outputs establishes who participated in a real signing session. BIP 390 · Core's version-pinned support list · sp() extension
Silent payments and the boundary of an output description
BIP 392 (merged 5 March 2026) extends the descriptor family with sp() for silent payments. Unlike a conventional wpkh() or tr() descriptor, its matching P2TR outputs cannot be identified just by producing a fixed set of scripts from a public key: the receiver must scan blockchain transactions using a private scan key and the sender-input-dependent BIP 352 construction. Its spscan backup is therefore watch-only for spending, but not a public-only export. A Draft specification of the format is not proof that Bitcoin Core or another wallet implements its import rules. BIP 392 · BIP 352
The distinction was contested during BIP 392 review. The December 2025 draft contained wallet birthday and label arguments, and a January revision added label ranges. Reviewers questioned whether scanning metadata belonged in a script descriptor; on 10 February 2026 those parameters were removed, and a two-key sp(SCAN,SPEND) form was added for composability. A backup of the keys is not necessarily a backup of the scanning shortcuts. BIP 392 preserves the original proposal, the review arguments, and the resulting limit on recovery promises. Contemporary review · February compromise
Evidence and open research
The October 2018 Bitcoin Core release and tagged documentation are direct contemporary implementation records. The January 2021 release is contemporary first-party evidence of an experimental wallet type. The 2021 BIP submission and subsequent commits are direct specification-history records. Later standards classifications cannot be used to infer historical adoption percentages or independently authenticate a wallet-recovery incident.
Recover and compare the earliest revision of Wuille's July 2018 descriptor gist with its later edited text and with the implementation merged through Bitcoin Core PR #13697.
Trace dated real-wallet interoperability reports in which a seed or
xpub restored keys but missed outputs because the expected descriptor script or derivation range was absent.Verify representative 2018, 2021 and current descriptor parser behaviours against version-pinned executable tests, especially checksum optionality and hardened indicators.
From the archivist's desk
The earlier wallet standards taught software how to reproduce keys and where to look for them. Descriptors make the next question explicit: what, exactly, are we looking for? A seed can be perfect, a public key mathematically correct, and a wallet's view of its own history still incomplete. That is not a failure of elliptic-curve cryptography. It is a failure to preserve interpretation.