Reviewed Aug 2026
DE
BA-12 · LESSON 02

Ordinals and inscriptions

KEY DEFINITIONS

Terms used in this lesson

Witness
Signatures, scripts, or other data supplied to satisfy a Bitcoin output’s spending condition.
Taproot
A Bitcoin output and spending design that can combine a public-key path with privately committed alternative scripts.
Control block
Proof data showing that a revealed script was committed inside a Taproot output.
Tapscript
The version of Bitcoin Script used by a Taproot script-path spend.
BIP341
The Bitcoin Improvement Proposal specifying Taproot output validation and the transaction signature message used by Taproot signatures.
Sighash
The exact transaction digest and signature mode that determine which fields a Bitcoin signature authorizes.
OP_FALSE
A Bitcoin Script operation that pushes false; inscription envelopes commonly combine it with OP_IF so their data branch is not executed.
OP_IF
A Bitcoin Script conditional operation that executes one branch when the consumed condition is true.

Ordinal theory assigns ordering conventions to satoshis while inscriptions use witness envelopes interpreted by off-chain indexers.

45 min Difficulty 3/5 Not started

Loading lesson visuals...

01

Learn the idea

Ordinal theory is an off-chain convention that numbers satoshis and tracks their movement through transactions. An inscription places content in a Taproot witness envelope that ordinary Bitcoin consensus treats as executed or skipped Tapscript data. An indexer applies ordinal and envelope parsing rules to assign that content to a satoshi. BIP341 is the Bitcoin Improvement Proposal that specifies Taproot output and script-path validation. The in-app workbench builds real TapLeaf and TapBranch hashes, reconstructs the output key from a control block, executes a bounded owner-signature Script over the exact revealed script, parses the bounded inscription envelope, tracks the satoshi through outputs and fees, and rolls derived state back during a reorganization. The owner signature uses a teaching digest of the revealed script, not a BIP341 transaction sighash, and the complete Ordinals grammar remains outside this fixture.

GUIDED EXPLANATION1/5 ideas inspected
1

Assign ordinal positions

The indexer orders newly issued and transferred satoshis under its specified first-in-first-out tracking convention.

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

Inspect every idea above to open it.

Important distinctionBitcoin consensus marks particular satoshis as inscriptions.

Consensus treats satoshis as fungible amounts. Ordinal-aware indexers add numbering and inscription interpretation from committed transaction data.

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.