BOMBARCHIVE
Explore

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

The archiveOrdinals

Old revision: Runes

archive: reconstruct Runes wire evolution

Runes is a fungible-token protocol implemented by ord. It interprets selected Bitcoin transaction outputs as protocol messages called runestones and tracks Rune balances on Bitcoin UTXOs.

Two different “rune” lineages

The word rune appeared in ord before the modern protocol. In October 2022 an experimental ord rune publish command associated server-stored JSON objects with ordinals; it was removed the following month. That abandoned system belongs to the prehistory of Inscriptions, not to the later fungible-token protocol. 2022 rune publisher · Removal

The modern Runes proposal appeared on 25 September 2023. Casey Rodarmor described a UTXO-based fungible-token design and explicitly compared it with systems including BRC-20. The proposal used OP_RETURN followed by a pushed ASCII R as its protocol marker. Original proposal

That marker did not survive unchanged into launch.

From proposal to implementation

25 Sep 2023
Rodarmor publishes the modern Runes proposal: UTXO-held balances with issuance and transfer instructions carried in OP_RETURN. First-party proposal
2–9 Oct 2023
PR #2491 adds the first Rune index to ord. Its description says the implementation is unfinished and disables it on mainnet. It merges on 9 October. Direct repository record
18 Mar 2024
PR #3212 adds the commitment mechanism used to reduce front-running of named etchings. PR #3314 replaces the proposal's pushed ASCII R marker with OP_PUSHNUM_13, rendered in the handbook as OP_13. Commitment change · Protocol identifier change
28 Mar 2024
PR #3380 merges the dedicated Runes handbook documentation. Documentation PR
31 Mar 2024
PR #3426 seeds a special genesis Rune into new mainnet Rune indexes. ord 0.17.0 is released later the same day with the contemporary Rune feature set. The release commit is dated 31 March 2024 even though the changelog heading in that tag incorrectly prints 2023. Genesis Rune commit · 0.17.0 release commit
20 Apr 2024
Bitcoin block **840,000** is mined at 00:09:27 UTC and the Runes protocol activates. The current ord explorer indexes 689 Rune etchings in that block. The first ordinary on-chain etching is Z•Z•Z•Z•Z•FEHU•Z•Z•Z•Z•Z, Rune number 1 and Rune ID 840000:1; the protocol's Rune 0, UNCOMMON•GOODS, is instead synthetic initial index state. Chain-derived block record · First ordinary etching · Current protocol guide

Wire-format evolution

The gap between proposal and activation was not a quiet implementation phase. The transaction language changed incompatibly several times. That matters whenever an explorer, indexer or historical test transaction is described simply as “Runes” without saying which software state interpreted it.

9 Oct 2023
The first merged pre-alpha index is recognisably an ancestor of Runes but not wire-compatible with launch. A candidate output begins OP_RETURN followed by the pushed bytes RUNE_TEST. The payload is decoded into a custom base-128 varint format; edicts are positional triples [id, amount, output], while a trailing one- or two-integer fragment represents the Rune name and optional divisibility. Rune IDs are packed into one integer as height << 16 | transaction_index and displayed as BLOCK/TX. The pull request called the implementation “pre-alpha unstable incomplete half-baked” and kept it off mainnet. Direct code record
15–17 Oct 2023
Edict IDs become delta-encoded, then the message grammar changes from positional trailing values to tagged fields plus a Body. In the 17 October code, tag 0 begins the body, Rune metadata sits in tag/value pairs, and an unknown even tag makes the message burn rather than being silently ignored. The RUNE_TEST marker and the earlier varint family still remain. Rune-ID delta encoding · Tagged runestones
14–18 Dec 2023
The field vocabulary expands around open etchings and named assets. Flags are introduced as first-class protocol fields; a 15 December change reassigns the tag numbers for flags, Rune name, mint limit and term; another same-day change adds spacer bits and moves the symbol tag. An optional time deadline follows on 18 December. These are direct examples of why intermediate tag numbers cannot be projected forward into the launched protocol. Reserved names · Tag and flag reassignment · Rune spacers · Deadline
23 Feb 2024
The human-readable Rune ID syntax changes from BLOCK/TX to BLOCK:TX. This commit updates parsing, search and display; it is an identifier-syntax change, not yet the later on-wire Rune-ID redesign. Direct code record
18–19 Mar 2024
The launch shape begins to emerge quickly. Named etchings gain a confirmation-based commitment to reduce front-running; the runestone marker becomes OP_PUSHNUM_13; and malformed or unknown semantics are formalised as **cenotaphs**. A useful historical wrinkle is that the 18 March marker commit still contains transitional fields named Claim, DefaultOutput, Deadline, Limit and Term. The final marker had arrived before the final field vocabulary. Commitment mechanism · OP_PUSHNUM_13 marker · Cenotaph semantics
22 Mar 2024
An “Initial runes review” makes two especially consequential wire changes. The old custom varint is replaced by unsigned little-endian base-128 encoding: the encoder now writes the low seven bits first and right-shifts by seven, the structure normally called unsigned LEB128. Rune IDs also stop travelling through the protocol as one packed height<<16|tx integer. The message now carries block and transaction components separately, and an edict body changes from three integers to four: block delta, transaction delta, amount and output. Malformed varints become protocol-invalid rather than saturating or truncating into a value. Direct code record
26–27 Mar 2024
The vocabulary is rewritten again toward the launched form. Claim becomes Mint; DefaultOutput becomes Pointer; timestamp deadlines and relative terms are replaced by mint terms with absolute block-height and relative-offset windows; and the mint Limit field is renamed Amount. These were not documentation-only renames: tag meanings and encoded messages changed. Mint terms and field rewrite · Limit to Amount
30 Mar–11 Apr 2024
Review hardens the compatibility boundary. Recognised fields used without the flags that activate them become cenotaphs; the wallet uses the pointer field for premine destination; runestones and cenotaphs are separated as different decoded artifacts; the synthetic genesis Rune is seeded; and an opt-in Turbo flag is added for future protocol extensions. By this stage the transaction grammar is substantially the one that reaches block 840,000. Flag-dependent fields · Pointer use · Artifact separation · Genesis Rune · Turbo flag

One byte example makes the encoding break concrete. The October encoder represents integer 128 as 80 00; the post-review unsigned LEB128 encoder represents 128 as 80 01. A parser written against one era can therefore assign a different integer before it even reaches the tag rules. The same problem recurs at the next layer: a three-integer October edict is not a four-integer March edict.

How the launched protocol works

A transaction may contain a runestone in an output whose script begins OP_RETURN OP_13. Data pushes after OP_13 are concatenated, decoded as unsigned 128-bit LEB128 integers, then interpreted as fields and transfer instructions. Current implementation guide

A runestone can etch a new Rune, mint units under an existing Rune's terms, allocate units to outputs with edicts, select a default output with a pointer, or burn units by assigning them to an OP_RETURN output.

Rune balances are UTXO-oriented. Spending an output carrying Runes makes those units available for reassignment inside the spending transaction. This is architecturally different from BRC-20, which reconstructs balances from qualifying inscription events.

Cenotaphs

Malformed or semantically unknown runestones are called cenotaphs. Under the current rules, Rune inputs to a cenotaph are burned; a cenotaph etching becomes unmintable with zero supply; and a cenotaph mint can count against its cap while the minted units are burned. Current implementation guide

This is an application-layer compatibility mechanism, not a Bitcoin consensus failure. Unknown even-numbered fields and flags can deliberately force an older implementation to treat the message as a cenotaph rather than confidently assign balances it may misunderstand.

The strange genesis Rune

The first Rune in the index is UNCOMMON•GOODS, number 0. It is historically peculiar because it was not etched by an ordinary on-chain etching transaction.

PR #3426 hard-coded the entry into newly created mainnet Rune indexes. The code assigns it Rune ID 1:0, an all-zero etching transaction ID, timestamp zero, zero premine, symbol ⧉, and an open mint from block 840,000 through block 1,050,000 at one unit per mint. Direct code record

The live explorer consequently displays a 1970 timestamp and an all-zero etching ID for UNCOMMON•GOODS. Those values expose the synthetic seed record; they are not evidence of a Bitcoin transaction from 1970. Current explorer record

First ordinary on-chain etching

Once the synthetic Rune 0 is separated from transaction-derived history, the first ordinary Rune etching is Z•Z•Z•Z•Z•FEHU•Z•Z•Z•Z•Z. The current ord explorer records it as Rune number 1, Rune ID 840000:1, etched by transaction 2bb85f4b004be6da54f766c17c1e855187327112c231ef2ff35ebad0ea67c69e in activation block 840,000. Chain-derived Rune record

The identifier itself carries the ordering evidence. The ord specification defines a Rune ID as the block height and transaction index of the transaction in which the Rune was etched. 840000:1 therefore places this etching at transaction index 1, immediately after the coinbase at index 0. Rune ID specification

The Bitcoin transaction gives a second layer of evidence. Its second output has value zero and a script beginning OP_RETURN OP_PUSHNUM_13, followed by the protocol payload. Bitcoin directly commits to those bytes; ord supplies the additional interpretation that they etch this particular Rune, with its premine and mint terms. Chain-derived transaction record

Names and launch pacing

Rune names are encoded as modified base-26 integers and may display bullet spacers without changing name uniqueness. The protocol staged access to shorter names: at activation long names were available first, while shorter name lengths unlock over successive 17,500-block periods. Current implementation guide

Named etchings also use a Bitcoin script-path commitment that must have sufficient confirmations before the etching transaction. Commitment implementation

Relationship to inscriptions

Runes is maintained in the same ord codebase as Ordinal theory and Inscriptions, but a Rune transfer is not an inscription. Its protocol message is carried in OP RETURN, and Rune state is reconstructed by the Rune index.

That distinction also untangles the 2022 naming collision: the abandoned ord rune publish experiment belongs to the evolution toward inscriptions, whereas modern Runes is the separate fungible protocol proposed in September 2023 and activated at block 840,000.

Open research

Open question
Preserve representative pre-activation testnet or signet transactions and fixtures from the discarded Runes wire eras, then replay them against the historical ord commits that produced them. The Git record now pins the major incompatible rule changes; what remains is evidence of which experimental dialects actually escaped into public test networks.
Open question
Build an implementation-compatibility chronology around launch: which wallets, explorers and independent indexers matched ord at block 840,000, and where did early interpretations diverge?