BOMBARCHIVE
Explore

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

The archiveOrdinals

Old revision: Inscriptions

archive: pin inscription zero commit-reveal path

Inscriptions are an application-layer protocol in the Ordinals project for associating arbitrary byte content with satoshis. The content is revealed inside Bitcoin Taproot script-path witness data; Ordinals-compatible software recognizes a structured envelope in that data and uses Ordinal theory to determine which sat carries the inscription.

How the protocol works

Commit and reveal

The current ord documentation describes inscription creation as a two-transaction process. A commit transaction creates a Taproot output whose key commits to a script containing the inscription. A later reveal transaction spends that output through the script path, placing the script and therefore the inscription data in the witness where it becomes visible on-chain. Current protocol documentation

This separation is a consequence of Taproot script-path spending: the script being committed to does not need to be exposed when the Taproot output is created. It is exposed when that path is spent.

The storage and fee properties behind this construction come from more than Taproot alone. Segregated Witness introduced witness data and the transaction-weight model in which witness bytes count less heavily than non-witness bytes. BIP 341 supplied the Taproot script path, and BIP 342 removed the old 10,000-byte tapscript size ceiling while retaining the 520-byte stack-element limit. Ordinals then supplied the envelope format and sat assignment. Taproot reconstructs those layers separately.

The envelope

Current inscriptions are serialized inside an unexecuted conditional in the reveal script:

OP_FALSE
OP_IF
  OP_PUSH "ord"
  OP_PUSH 1
  OP_PUSH "text/plain;charset=utf-8"
  OP_PUSH 0
  OP_PUSH "Hello, world!"
OP_ENDIF

The false branch means the data pushes do not alter the script's executed semantics. The "ord" push identifies the Ordinals inscription protocol. Fields are encoded as tag/value pairs; an empty push marks the beginning of the body. Tag 1 identifies the content type. Later protocol additions introduced fields including pointers, parents, metadata, metaprotocol identifiers, delegates and properties. Individual script pushes are limited to 520 bytes, so larger bodies are split across multiple pushes. Current protocol documentation

The recognizable "ord"-identified field format was not present in the first implementation. On 5 December 2022 commit 34c71d1c4e explicitly made the format extensible: it added the "ord" protocol identifier, tagged type and resource fields, multiple content pushes and arbitrary byte content. Direct code record

Which sat is inscribed

Without a pointer field, the inscription is assigned to the first sat of the corresponding reveal input and then follows that sat under ordinal transfer rules. The later pointer field can select another zero-based sat position across the reveal transaction's outputs, allowing multiple inscriptions in one transaction to bind to different sats. Current pointer specification

This is another application-layer operation. Bitcoin tracks transaction values and spends; the identity and path of an individual sat come from ordinal accounting.

IDs and numbers are different

An inscription ID is derived from the reveal transaction ID plus the inscription's index within that transaction, for example ...i0. If a reveal contains several inscription envelopes, their indices follow input order and envelope order. Current protocol documentation

An inscription number is a separate indexer-assigned sequence based on reveal order. Its history contains exceptions, including the historical handling of inscriptions immediately spent to fees and the later category of negatively numbered “cursed” inscriptions. The current documentation records the Jubilee at block 824,544, after which recognized curse forms are vindicated and receive positive numbers. IDs and numbers should therefore not be treated as interchangeable kinds of identity. Current protocol documentation

The protocol did not arrive all at once

The repository history is unusually useful here because it preserves abandoned designs as well as the design that survived.

11 October 2022
ord merged an earlier ord rune publish experiment. It published JSON containing a name, network and ordinal to an HTTP endpoint and stored it server-side by hash; mainnet publication was explicitly forbidden. This was not the later Taproot inscription protocol, nor the later Runes fungible-token protocol. Direct code record
12 October 2022
A follow-up commit titled “Show inscriptions on /ordinal” displayed those rune associations on ordinal pages. The code still stored rune hashes. The surviving record shows that the word *inscription* was being used before the modern on-chain format had settled. Direct code record
2 November 2022
The earlier rune publishing system was removed as “outdated rune functionality,” including its publish endpoint and server-side rune association tables. Direct code record
14 November 2022
The recognizably modern line begins with commit 38bd81a489, which added ord wallet inscribe, a Taproot commit/reveal transaction builder and a witness parser. At this stage the parser recognized a simple OP_FALSE OP_IF <content> OP_ENDIF container and accepted UTF-8 text; the command was explicitly blocked on mainnet. Direct code record
17 November 2022
Commit ecade4c9b1 explicitly disabled inscription indexing on mainnet while the mechanism was still being developed. Direct code record
29 November 2022
The indexer was reorganized so inscriptions could be indexed independently of the full ordinal index, and the earlier blanket mainnet exclusion inside ordinal-indexed transaction parsing was removed. Mainnet creation through the wallet command was still separately gated. Direct code record
5 December 2022
Commit 34c71d1c4e introduced the "ord" protocol identifier and tagged, extensible envelope structure that became the basis of the modern protocol. Its own commit message says the change was intended to let other protocols use OP_FALSE OP_IF containers without being mistaken for inscriptions. Direct code record
14 December 2022 — 0.2.0
GitHub records ord 0.2.0 as published at **18:40:01 UTC**. The tagged source still routes ord wallet inscribe through bitcoin_rpc_client_mainnet_forbidden, so the public release did not expose the normal inscription command on mainnet. First-party release · Tagged source
14 December 2022 — genesis block
The explorer identifies inscription 0 in Bitcoin block 767,430, whose header reports 20:32 UTC, with a 793-byte PNG body. Its reveal spends output 0 of commit transaction 274bda6667e60bedede0d87f351220da4089427e6122f7d0bbd8e662b3796358; the block's own transaction list contains both the commit and reveal, in that order. The first inscription's two-stage construction therefore confirmed entirely inside one block. Commit output · Reveal transaction · Block 767,430
14 December 2022 — walkthrough and 0.2.1
The branch later opened as PR #968, “Revise guide after mainnet walkthrough,” contains first-party commits from 19:54 through 21:08 UTC; the PR merged at 21:14. ord 0.2.1 was then published at **21:31:36 UTC** and still retained the same mainnet guard. The repository therefore places a mainnet walkthrough, the genesis block and two public releases in one tightly documented period without revealing the local bypass used for the genesis transaction. Bitcoin header time is miner-supplied, so BOMB does not turn those timestamps into an exact stopwatch sequence. PR #968 commit history · First-party release · Tagged 0.2.1 source · Bitcoin time
17 December 2022
The explorer identifies inscription 1 as 26482871f33f1051f450f2da9af275794c0b5f1c61ebf35e4467fb42c2813403i0, a 20,266-byte PNG in block 767,753 with reported block timestamp 04:49:30 UTC. In a 2024 retrospective, Casey Rodarmor said Rijndael made this second mainnet inscription shortly after the genesis inscription. The chain record proves the artifact and date; the creator attribution is later first-party recollection. Chain-derived explorer record · Later first-party recollection
9 January 2023
Commit 5dcf060566, “Remove mainnet wall restrictions,” removed the guard that rejected ord wallet inscribe on mainnet and removed the 1,000,000-sat mainnet wallet balance ceiling. This is direct same-day evidence for the mainnet-enablement date later recalled by Casey Rodarmor. Direct code record
5–16 January 2023
PR #1165, “Digital Artifacts,” was opened on 5 January and merged on 16 January. It added a handbook page defining the project's preferred framing of a digital artifact around ownership, completeness, permissionlessness, uncensorability and immutability, and explicitly presented inscriptions as satisfying that definition. This is first-party terminology and advocacy, not a neutral external classification. First-party documentation change
23 January 2023
The public inscription guide was rewritten for mainnet, removing its previous statement that wallet subcommands could not yet be used there and replacing signet-specific commands with mainnet-default instructions. The documentation therefore lagged the 9 January code change by two weeks. First-party documentation change

The genesis tooling gap

The 14 December evidence now closes two parts of an earlier open question. The recognizable "ord"-tagged envelope format was already public from 5 December, and the chain now pins the exact commit/reveal pair for inscription 0: commit transaction 274bda6667e60bedede0d87f351220da4089427e6122f7d0bbd8e662b3796358 created the spent Taproot output and the reveal spent it in the same block. The missing piece is therefore neither the format nor the transaction pair. It is the exact local construction path. See Inscription 0. Direct code record · Chain-derived block record

The public-release record makes the gap narrower again. Version 0.2.0 was published before the genesis block's reported timestamp with the mainnet guard present. Version 0.2.1 was published after the same-day walkthrough and still carried that guard. On 9 January, commit 5dcf060566 explicitly removed the helper from the inscription path. Rodarmor's 2024 retrospective independently describes the broad sequence: first mainnet inscription on 14 December, wallet inscription initially disabled on mainnet, public enablement on 9 January. 0.2.0 release · 0.2.1 release · Direct code record · Later first-party recollection

PR #968 adds useful contemporary context without solving the problem. Its “mainnet walkthrough” branch begins at 19:54 UTC and continues through 21:08, surrounding the block header's reported 20:32 time in the repository record. That makes the walkthrough tightly contemporaneous with genesis, but block time is not an exact clock and the commit history exposes no mainnet-enablement patch. A locally modified or unreleased ord build, direct use of transaction-building code or another route remain possible. The current evidence does not choose among them, so BOMB does not either. Contemporary branch history · Bitcoin time

“Digital artifact” as project language

The phrase digital artifact is now central to the project's self-description, but it is useful to date that framing rather than read it backward into every earlier commit. PR #1165 provides a clear documentary marker: the page was proposed on 5 January 2023 and merged on 16 January. It argued that a digital artifact should be ownable, complete, permissionless, uncensorable and immutable, and positioned inscriptions as the project's realization of that ideal. First-party documentation change

That is evidence for what the project wanted the term to mean. It does not by itself establish when the wider Ordinals community adopted the phrase, whether everyone accepted the definition, or whether earlier public uses exist outside the repository.

Later features also make “complete” worth reading carefully. Ordinal recursion lets inscriptions compose other on-chain resources, while delegates can cause one inscription ID to serve content from another inscription. The dependency graph can remain on Bitcoin even when every byte is not stored in one inscription body.

Composition and lineage

The inscription protocol later acquired mechanisms that do different kinds of compositional work.

  • Ordinal recursion lets an inscription request whitelisted on-chain resources and indexed chain data from ord server. It is primarily an access and composition mechanism.
  • Inscription provenance records parent-child relationships between inscriptions by combining an inscription-envelope parent reference with a transaction that spends the parent. It is primarily a lineage mechanism.

The distinction is useful. A recursive dependency says what an inscription reads when it runs or renders; provenance says how one inscription was linked to another when it was created.

Capability map

The current ord handbook documents a growing set of inscription-level capabilities. BOMB treats these as infrastructure primitives rather than bundling them into one undifferentiated “inscriptions” feature.

Capability Protocol mechanism Practical use
Ordinal recursion Whitelisted /content/ and /r/ routes Compose other inscriptions, query indexed Ordinals data and selected Bitcoin data, and build reusable Ordinals Public Goods.
Inscription provenance Parent tag 3 plus spending the parent Establish owner-authorized parent-child lineage and nested collections.
Inscription delegation Delegate tag 11 Give a distinct inscription identity the content served by another inscription.
Inscription pointer Pointer tag 2 Bind an inscription to a sat position other than the first sat of its input; useful for multiple inscriptions in one transaction.
Inscription metadata CBOR in tag 5 Attach arbitrary structured, human-readable metadata.
Inscription properties Schema-constrained CBOR in tag 17, optionally Brotli encoded Protocol-defined galleries, titles, traits and structured attributes.
Inscription rendering Explorer rendering conventions Give clients common expectations for aspect ratio, sizing and image resampling.
Inscription URIs Draft ord:TXIDiINDEX URI scheme Address inscription content outside a specific explorer URL. The current document is provisional and the scheme is not IANA-registered.
Inscription burning Sending an inscription to a provably unspendable destination under ord's rules Permanently remove spendable control; burning a collection parent can close future authorized issuance.

The linked red pages are deliberate where BOMB has not yet expanded a capability into its own article. The source material remains in the current ord inscriptions documentation.

Public building blocks

The protocol capabilities above are the lower layer. Ordinals Public Goods records reusable libraries and resources built for inscriptions on top of recursion, including shared JavaScript runtimes, graphics libraries, compression tools, CSS and fonts.

That distinction is useful: recursion is part of the ord serving contract; an inscribed copy of Three.js is a community-created resource that uses that contract.

Why the October record matters

The October 2022 rune publisher is easy to erase from the story because it was removed. That is precisely why it belongs in an archive. It shows a design search in progress: first a server-published object associated with an ordinal, then an abandoned implementation, then a Taproot witness protocol whose content could be recovered from Bitcoin itself.

It also prevents a naming trap. The October “runes” were a short-lived ordinal-associated publishing experiment. The separate Runes protocol developed in 2023–2024 is a different system with different code and goals. Runes reconstructs that later protocol separately and keeps the two lineages distinct.

Open research

Open question
Recover the local construction path for inscription 0. The chain now pins the commit/reveal pair, and releases 0.2.0 and 0.2.1 pin the public mainnet guard on both sides of the same-day walkthrough. The missing artifact is the patch, checkout, shell history, script or direct technical account showing how that guard was crossed.
Open question
Find the earliest public use of “digital artifact” around Ordinals outside the repository, then compare that record with the 5–16 January 2023 handbook formalization.
Open question
Trace when the repository and community standardized the word “envelope” for the OP_FALSE OP_IF … OP_ENDIF container, rather than projecting current terminology backward.