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.
Recovering an unfinished commit
A commit output does not itself publish an inscription. An inscription becomes visible to ord when an appropriate reveal script containing an ord envelope is spent. A wallet may instead provide an alternative way to spend a funded commitment and recover its satoshis without completing the inscription. The recovery spend and the originally intended reveal are different transactions with different effects. Commit/reveal distinction · Taproot script paths
A concrete 2023 example is OIP-03, which proposed committing to both an inscription-bearing script leaf and a shorter recovery leaf at address creation. The ORDIT SDK's 13 July 2023 source contains both branches and a recover() method selecting the recovery leaf. This proves that the alternative was implemented in that historical source; it does not by itself prove that a particular funded mainnet commit was recovered. The independent ord issue #904 was closed in December 2024, but its closure should not be mistaken for evidence of identical script-tree construction. July 2023 implementation · Issue discussion and later closure
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
Tag 5 carries optional CBOR metadata without an ord-defined schema for its keys; tag 17 carries the separately defined properties schema. The existence of structured metadata does not, by itself, mean that Bitcoin or every Ordinals application agrees on its meaning. Metadata specification · Properties specification
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.
The amount of bitcoin accompanying an inscription in its current transaction output is often called postage in ord wallet usage. Postage is not the inscription's content size, its ID or the miner fee. A 2025 ord maintainer answer showed the user-selectable --postage 546sat option; it did not establish 546 sats as a universal inscription minimum. Output amounts must also be considered against Bitcoin's script-dependent dust relay policy, which remains distinct from Ordinal assignment. April 2025 maintainer example — later first-party · Core dust logic — direct source
Fees are not automatically loss
An inscription can be spent into transaction fees without its sat immediately disappearing from Ordinal accounting. Fee sats are appended to the conceptual input of the block's coinbase and can therefore emerge in the miner's outputs. The inscription becomes attached to a lost sat only if the miner underclaims enough of the available block reward that its sat falls into the unassigned tail. PR #1125, pre-launch implementation record
That distinction was already explicit in ord before public mainnet inscription creation was opened broadly. PR #1125, opened 30 December 2022, was titled “Fee-spent but unlost inscriptions” and separately handled the rarer case where a fee-spent inscription is then lost because the miner underpays the reward. The content remains in the reveal transaction either way; what changes is the protocol's inferred sat location.
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 ID is usually the stronger historical handle, but it is not completely independent of parser history either. On 25 October 2023, issue #2590 noted that the iINDEX component is based on parsed-envelope order. If two implementations disagree about whether an earlier envelope in the same transaction exists, a later inscription's index can in principle change even though the transaction ID cannot. Rodarmor acknowledged that edge case the next day, describing the potential instability as confined to IDs within the affected transaction and declining to introduce a second identifier format because migration itself would be disruptive. Direct repository record · Maintainer response
A txid proof alone does not authenticate witness bytes. Segregated Witness deliberately excludes witness data from the txid calculation and commits to it separately in the block. A Taproot reveal's inscription content therefore needs the validated witness and its block witness commitment, not just the transaction ID and a legacy Merkle inclusion path. BOMB's 0.bitmap source packet includes a reproducible test altering a claimed witness body without changing the txid; witness verification correctly fails. This does not establish that the modified body could pass the reveal's Taproot script commitment. Transaction malleability distinguishes stable transaction references, witness authentication and pre-confirmation uncertainty. BIP 141 — separate witness commitment · BOMB — October 2026 verification review
Browser sandbox and service workers
The Ordinals handbook describes HTML and SVG inscriptions as sandboxed by the ord viewer, using iframe sandbox attributes and Content Security Policy headers to constrain off-chain references. These are server and browser presentation rules, not rules Bitcoin nodes apply to inscription bytes. Ordinal recursion is the documented exception that permits requests to specified on-chain resources. ord 0.29.1 inscription handbook: Sandboxing · ord 0.29.1 recursion contract
A later browser boundary is unusually explicit in source code. On 26 September 2026, PR #4565 merged a server-wide middleware check for the HTTP Service-Worker request header. When that header is present, the server returns 403 Forbidden with the body service workers are forbidden. The accompanying test sends the same inscribed JavaScript resource as an ordinary content request (success) and then as a service-worker script request (forbidden). The change was listed in the 19 October 2026 ord 0.29.1 release. Merged change and test · Tagged release
The standard browser request for registering a worker includes Service-Worker: script. This policy blocks those requests at the server; it does not mean that ordinary <script> resources or recursive fetches are generally forbidden. The code checks header presence, not script MIME type, inscription identity or the contents of the requested file. Browser-dependent registration behavior and policies on other inscription viewers remain separate questions. W3C Service Workers specification, script requests · Release-tag middleware
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.
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 record38bd81a489, 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 recordecade4c9b1 explicitly disabled inscription indexing on mainnet while the mechanism was still being developed. Direct code record34c71d1c4e 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 recordord 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 source274bda6667e60bedede0d87f351220da4089427e6122f7d0bbd8e662b3796358; 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,430ord 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 time26482871f33f1051f450f2da9af275794c0b5f1c61ebf35e4467fb42c2813403i0, a 20,266-byte PNG in block 767,753 with reported block timestamp 04:49:30 UTC. A published 7 April 2023 interview records Rijndael's own account that he noticed the mainnet check in ord, removed it locally and made the inscription. Released 0.2.0 source independently confirms the guard was present. The chain proves the artifact and reveal time; the local bypass remains a participant recollection until the modified tree or another December construction artifact is recovered. Chain-derived explorer record · Published participant interview · Released 0.2.0 guard5dcf060566, “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 recordThe 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.
Related pages
- Ordinals
- Taproot
- Inscription 0
- Ordinal theory
- Ordinal recursion
- Inscription provenance
- Inscription delegation
- Cursed inscriptions
- Runes
- BRC-20
- Ordinals Public Goods
- Bitmap
Open research
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.
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.
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.