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 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 cursed 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.
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 record5dcf060566, “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“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. A future Runes page should keep those lineages distinct.
Related pages
- Ordinals
- Ordinal theory
- Ordinal recursion
- Inscription provenance
- Inscription delegation
- BRC-20
- Ordinals Public Goods
- Bitmap
Open research
Reconstruct the exact path from the 29 November mainnet-indexing changes to inscription 0 on 14 December, including whether the genesis inscription was created with an unreleased/local
ord build or another transaction-construction path.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.