Reviewed Aug 2026
DE
BA-12 · LESSON 03

Runes

KEY DEFINITIONS

Terms used in this lesson

Runes
A Bitcoin metaprotocol that assigns fungible-token meaning to transaction outputs through off-chain interpretation.
Runestone
Transaction data interpreted by the Runes protocol to describe token creation or allocation.
Cenotaph
A malformed or intentionally unrecognized Runes message whose affected token balances are burned under the protocol’s rules.
OP_RETURN
A Bitcoin Script operation commonly used to create an unspendable output carrying a small amount of data.
OP_13
A Bitcoin Script operation that pushes the small integer 13 onto the stack; Runes uses it as part of a runestone marker.
LEB128
Little Endian Base 128: a variable-length integer encoding used for integers inside a Runes message.
Identifier
Identifier: a value used to distinguish one request, object, or participant from another.

Runestones encode fungible token operations whose meaning is reconstructed by compatible indexers; cenotaph behavior supports upgrade semantics through burns.

55 min Difficulty 3/5 Not started

Loading lesson visuals...

01

Learn the idea

Runes is a fungible-token metaprotocol interpreted from Bitcoin transactions. A production runestone begins OP_RETURN OP_13, concatenates data pushes, and decodes unsigned Little Endian Base 128 integers, abbreviated LEB128, before interpreting fields and delta-encoded edicts. An edict assigns amounts of a Rune ID to output numbers. Etching defines a rune, while a Mint field names an existing Rune ID: its terms specify units per eligible mint and a cap on the number of mints. Unrecognized odd fields are ignored for forward compatibility; unrecognized even fields and other defined flaws create a cenotaph that burns input runes under the active rules.

GUIDED EXPLANATION1/5 ideas inspected
1

Collect input rune balances

An indexer looks up rune allocations assigned to each spent input under its current chain state.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionA cenotaph makes the entire Bitcoin transaction consensus-invalid.

The transaction can be valid Bitcoin. Runes-aware indexers interpret the malformed or unrecognized message as a burn outcome under their rules.

02
FINISH LEARNING FIRST

The questions unlock after every required learning activity

Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.