Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Ordinals Protocol

A Bitcoin-native protocol for creating digital artifacts by inscribing data directly onto individual satoshis, enabling NFTs with fully on-chain metadata.
Chainscore © 2026
definition
BITCOIN NFT STANDARD

What is the Ordinals Protocol?

A technical standard for inscribing arbitrary data onto individual satoshis, enabling NFTs and other digital artifacts to exist natively on the Bitcoin blockchain.

The Ordinals Protocol is a method for creating non-fungible tokens (NFTs) and other digital artifacts directly on the Bitcoin blockchain by inscribing content onto individual satoshis, the smallest denomination of bitcoin. Proposed by developer Casey Rodarmor in early 2023, it assigns a unique serial number to each satoshi based on the order it was mined, a process called ordinal theory. This numbering scheme allows each satoshi to be tracked, transferred, and imbued with immutable data, such as images, text, or video, creating what are commonly called Bitcoin NFTs or digital artifacts.

Inscription is the core technical action of the protocol. It involves embedding data—like a JPEG image or a JSON file—into a Bitcoin transaction's witness data, a section originally intended for SegWit signature information. This data is then permanently linked to a specific, numbered satoshi. Unlike NFTs on other blockchains that often point to off-chain data, ordinal inscriptions are stored entirely on-chain, making them immutable and durable as long as the Bitcoin network exists. The protocol does not require a sidechain, separate token, or changes to Bitcoin's consensus rules.

The ecosystem has evolved to include several key components: inscription wallets for creating and holding inscribed satoshis, indexers that parse the blockchain to track the location and ownership of every ordinal, and marketplaces for trading them. This infrastructure enables a range of use cases beyond static images, including recursive inscriptions that can reference other on-chain data to build complex applications, profile picture (PFP) collections, and even text-based protocols similar to Ethereum's ERC-20 standard, demonstrating the protocol's flexibility as a general-purpose data layer for Bitcoin.

how-it-works
TECHNICAL PRIMER

How the Ordinals Protocol Works

The Ordinals Protocol is a system for inscribing arbitrary data onto individual satoshis, the smallest unit of Bitcoin, enabling the creation of digital artifacts directly on the blockchain.

The Ordinals Protocol is a numbering scheme and client-side indexing method that assigns a unique serial number to each satoshi based on the order it was mined. This creates a persistent, immutable link between a specific satoshi and arbitrary content, such as images, text, or video, through a process called inscription. The protocol does not require a sidechain, separate token, or changes to the Bitcoin consensus rules; it operates purely through convention and off-chain indexing of on-chain data.

Inscriptions are created by embedding data into witness data of a Bitcoin transaction, a space made available by the SegWit upgrade. This data is then "inscribed" onto a specific satoshi transferred in that transaction, permanently associating the content with that coin. The Ordinals theory provides the rules for tracking these inscribed satoshis through subsequent transactions, ensuring the digital artifact's provenance and ownership are as secure as the Bitcoin network itself. The primary client for creating and interacting with inscriptions is ord.

The protocol's operation can be broken into two core components: the inscription (the content and its on-chain commitment) and the ordinal number (the satoshi's unique identifier). An indexer parses the blockchain to track the location and ownership of each inscribed satoshi. This enables functionalities like viewing the inscribed content and transferring the artifact via standard Bitcoin UTXO transactions, where sending the satoshi effectively transfers the associated digital artifact.

key-features
CORE MECHANICS

Key Features of the Ordinals Protocol

The Ordinals Protocol is a system for inscribing arbitrary data onto individual satoshis, the smallest unit of Bitcoin, creating unique digital artifacts directly on the base chain.

01

Inscriptions

An inscription is the core unit of the protocol, consisting of arbitrary content (images, text, JSON, etc.) written directly into Bitcoin transaction witness data. This data is immutably linked to a specific satoshi via the ordinal theory's numbering scheme. The process uses envelopes—special Bitcoin script patterns—to store the content, making it a permanent part of the blockchain's history.

02

Ordinal Theory

This is the numbering scheme that enables the tracking of individual satoshis. It assigns a unique serial number to each satoshi based on the order it was mined. Key concepts include:

  • First-in-first-out (FIFO): Satoshis are transferred in the order they are received.
  • Rare Satoshis: Special designations for satoshis from notable events (e.g., the first satoshi of each block, or from a block halving).
  • This theory provides the framework for identifying which specific satoshi carries an inscription.
03

On-Chain Permanence

Unlike sidechains or Layer 2 solutions, inscriptions exist natively on the Bitcoin base layer. They are stored in witness data (SegWit) or taproot script-path spends, leveraging Bitcoin's inherent security and decentralization. This means the data's existence and provenance are guaranteed by the full consensus of the Bitcoin network, not a separate system.

04

Content Types & Limits

The protocol is content-agnostic. Common inscription types include:

  • Images (PNG, JPEG, SVG, GIF)
  • Text (plain text, JSON, HTML)
  • Audio/Video
  • Application-specific data The primary limit is the block size. A standard inscription must fit within the 4MB weight limit of a Bitcoin block, though techniques like recursive inscriptions allow for building larger, more complex files by referencing other on-chain inscriptions.
05

Digital Artifacts (NFTs)

An inscribed satoshi functions as a Bitcoin-native digital artifact, often called an Ordinal NFT. Its key properties differ from typical NFTs:

  • No Smart Contract: Ownership and transfer are governed by Bitcoin's UTXO model, not a separate token contract.
  • True On-Chain Data: The media is stored on-chain, not just a pointer to IPFS or a centralized server.
  • Indestructible: The inscription cannot be deleted or altered as long as Bitcoin exists.
06

The Indexer

An Ordinals indexer is a critical piece of infrastructure. It is a software service that scans the Bitcoin blockchain, identifies inscription transactions using the protocol's rules, and tracks the location (i.e., which UTXO holds) of every inscribed satoshi. Wallets and marketplaces rely on these indexers to correctly display and transfer inscriptions. Popular implementations include ord (the reference implementation) and others.

examples
ARTIFACT TYPES

Examples of Ordinals Inscriptions

Ordinals inscriptions can embed a wide variety of digital artifacts directly onto the Bitcoin blockchain. These range from simple images to complex interactive applications.

01

Image Inscriptions (PNG, JPEG, SVG)

The most common type, where image files are inscribed onto a satoshi. This created the Bitcoin NFT ecosystem. Key examples include:

  • Ordinal Punks: A collection of 100 pixel-art characters, paying homage to CryptoPunks.
  • Taproot Wizards: A notable collection that demonstrated the technical feasibility of larger inscriptions via the Taproot upgrade.
  • These are stored entirely on-chain, unlike many Ethereum NFTs which often store metadata off-chain.
02

Text & HTML Inscriptions

Plain text, code, or full HTML documents can be inscribed, enabling on-chain documents and decentralized websites. Examples include:

  • The Genesis Inscription: The first-ever Ordinal, inscribed by Casey Rodarmor on December 14, 2022, containing a simple .webp image.
  • On-chain books and essays: Entire literary works stored permanently on Bitcoin.
  • HTML/JS applications: Self-contained web pages that can be rendered by browsers directly from the blockchain, a concept known as recursive inscriptions.
03

Audio & Video Inscriptions

Audio files (MP3, WAV, FLAC) and video files (MP4, WebM) can be inscribed, though file size is constrained by Bitcoin block space limits. This enables:

  • On-chain music and podcasts: Artists releasing tracks directly on Bitcoin.
  • Short video clips and animations: Often using efficient codecs to fit within economic constraints.
  • Storage is more expensive than images, making these rarer and often part of high-profile collections.
04

Application Inscriptions (JSON, WASM)

Data formats like JSON for configuration or WebAssembly (WASM) binaries can be inscribed, paving the way for on-chain software. This includes:

  • Generative art scripts: Code that defines rules for creating unique visual outputs.
  • Protocol parameters: Data inscriptions that define traits for a collection or game logic.
  • Recursive inscriptions use this heavily, where one inscription can reference and use the code of another, creating complex, modular on-chain applications.
05

3D Model & GLTF Inscriptions

Three-dimensional model files (like .glb or .glTF) can be inscribed, allowing for on-chain 3D art and assets. These are used for:

  • Virtual collectibles and avatars: 3D models that can be used in metaverses or AR/VR applications.
  • Digital sculptures: Artists creating immutable 3D artwork on Bitcoin.
  • Viewing requires compatible wallets or platforms that can render the 3D format.
06

Protocol-Level Inscriptions (BRC-20, etc.)

These are text-based inscriptions that follow specific standards to create fungible tokens or other protocols on top of Ordinals. The most famous example is:

  • BRC-20 Tokens: A fungible token standard using JSON inscriptions to deploy, mint, and transfer tokens. It sparked a major trend in Bitcoin DeFi.
  • Other experimental standards include ORC-20 and SRC-20 (Stamps).
  • These are not smart contracts but indexer protocols where off-chain indexers interpret the inscribed data to track token balances.
etymology-history
ORIGINS

Etymology and History

The Ordinals Protocol emerged from a convergence of ideas in digital scarcity, Bitcoin's scripting limitations, and the cultural phenomenon of NFTs, sparking a significant new chapter in Bitcoin's development.

The term Ordinals derives from the concept of ordinal numbers, which denote a position or order in a sequence. The protocol's core innovation, ordinal theory, is a system for assigning a unique, serial number to each individual satoshi (the smallest unit of Bitcoin) based on the order it was mined. This creates a persistent, non-fungible identity for each sat, allowing it to be individually tracked, transferred, and inscribed with data. The name directly reflects this foundational mechanism of serialization.

The protocol was conceived and developed by software engineer Casey Rodarmor, who introduced it in a January 2022 blog post titled "Ordinals." Rodarmor's key insight was leveraging Bitcoin's security and simplicity to create digital artifacts (inscriptions) without needing a sidechain, token, or changes to Bitcoin's consensus rules. The protocol launched on the Bitcoin mainnet in January 2023. Its timing capitalized on growing interest in Bitcoin's cultural potential beyond pure finance, coinciding with a search for alternatives to the smart contract risks prevalent in other ecosystems.

Historically, the Ordinals Protocol represents a major evolution in the concept of digital collectibles on Bitcoin. It built upon earlier, more limited experiments like Colored Coins and Counterparty, but crucially utilized the 2021 Taproot upgrade. Taproot's more efficient data storage within witness data made embedding images, text, or code directly onto the Bitcoin blockchain (inscribing) both technically feasible and economically viable. This technical enabler was a prerequisite for the protocol's practical success.

The launch of Ordinals ignited intense debate within the Bitcoin community, creating a new blockspace market for non-financial data. Proponents hailed it as a renaissance for Bitcoin's utility and a driver of miner fee revenue, while critics expressed concerns about blockchain bloat and deviation from Bitcoin's monetary purpose. This debate mirrors historical tensions between maximalist and builder philosophies, positioning Ordinals as a pivotal moment in defining Bitcoin's future use cases.

The protocol's history is marked by rapid ecosystem growth. Following inscriptions, related concepts like Bitcoin-native fungible tokens (BRC-20), recursive inscriptions, and parent-child inscription relationships emerged, creating a complex new digital object standard. This established a distinct digital artifact ecosystem parallel to, but fundamentally different in architecture from, the smart contract-based NFTs on networks like Ethereum.

ASSET STANDARDS

Comparison: Ordinals vs. BRC-20 vs. ERC-721

A technical comparison of three distinct digital asset protocols, highlighting their underlying blockchain, data model, and functional characteristics.

FeatureBitcoin OrdinalsBRC-20 TokensERC-721 (Ethereum)

Underlying Blockchain

Bitcoin

Bitcoin

Ethereum

Core Technology

Ordinals Protocol (inscriptions)

Ordinals-based JSON inscriptions

Smart Contract

Asset Type

Digital Artifact (NFT)

Fungible Token

Non-Fungible Token (NFT)

Data Storage

On-chain (witness data)

On-chain (witness data)

On-chain metadata, often with off-chain media (e.g., IPFS)

Programmability

Settlement Layer

Bitcoin L1

Bitcoin L1

Ethereum L1 (or L2)

Primary Use Case

Unique digital collectibles (images, text)

Fungible token creation and trading

Verifiable ownership of unique items, gaming, identity

Minting Complexity

Direct inscription to satoshi

Deploy, mint, transfer via JSON inscriptions

Smart contract interaction (mint function)

technical-details
ORDINALS PROTOCOL

Technical Details and Mechanics

The Ordinals protocol is a system for inscribing arbitrary data onto individual satoshis, creating Bitcoin-native digital artifacts. It operates on a set of core technical primitives that define how inscriptions are created, tracked, and transferred.

01

Inscription Process

An inscription is the act of embedding content onto a specific satoshi. The process involves:

  • Creating a taproot script that includes the content (e.g., image, text, JSON) and an OP_FALSE OP_IF ... OP_ENDIF envelope.
  • Committing this script to a taproot output in a Bitcoin transaction.
  • Revealing the inscription in a subsequent transaction that spends that output, writing the data to the blockchain. The inscribed satoshi is identified by the order it was mined, making the inscription immutable and permanently linked to that sat.
02

Sat Numbering & Tracking

The protocol uses a precise system to identify every satoshi. Satoshis are numbered in the order they are mined, starting from 0 (the genesis block coinbase satoshi). This is the ordinal number. Tracking relies on the first-in-first-out (FIFO) principle for transaction inputs and outputs. By analyzing a coin's entire transaction history from its coinbase origin, the protocol can deterministically trace which ordinal numbers are held in any UTXO, enabling non-fungible tracking without a separate sidechain or token.

03

Content Storage (On-Chain)

All inscription content is stored directly on the Bitcoin blockchain. The data is placed within witness data, which was made more economical by the Segregated Witness (SegWit) upgrade. This differs from systems that store hashes or pointers off-chain. Common content types include images (PNG, WebP), text, JSON, HTML, and even audio/video. The protocol uses a simple but effective content-type declaration within the inscription envelope to specify the MIME type, allowing wallets and indexers to interpret the data correctly.

04

Transfer Mechanism (Non-Destructive)

Transferring an inscribed satoshi does not destroy or alter the inscription. The protocol treats the inscribed sat as a normal UTXO. When spent in a transaction, the inscription travels with its satoshi to one of the transaction's outputs, following the FIFO accounting rule. This makes inscriptions permanently and natively bound to Bitcoin's UTXO model. Special send transactions can be crafted to ensure the inscribed sat is sent to a specific output, but the underlying mechanism is standard Bitcoin script.

05

Rarity & Numismatic Traits

Beyond inscriptions, the protocol defines numismatic traits based on a satoshi's mining circumstances, creating inherent rarity. Key categories include:

  • Common: Any sat that is not special.
  • Uncommon: The first sat of each block.
  • Rare: The first sat of each difficulty adjustment period.
  • Epic: The first sat of each halving epoch.
  • Legendary: The first sat of each cycle (every 6 halvings).
  • Mythic: The very first sat (ordinal 0). These traits are algorithmically determined and immutable, independent of any inscribed content.
06

Indexer & Client Requirements

To read and display ordinals, an indexer is required. This is software that:

  • Scans the entire Bitcoin blockchain from genesis.
  • Applies the ordinal numbering and FIFO rules to track every satoshi.
  • Parses taproot witness data to identify inscriptions and their content.
  • Maintains a database mapping inscriptions to current UTXOs. Wallets and marketplaces then query this indexer to show users their ordinal holdings. The most common implementation is the open-source ord client, which includes both indexing and wallet functionality.
ecosystem-usage
ORDINALS PROTOCOL

Ecosystem and Usage

The Ordinals protocol enables a new class of digital artifacts on Bitcoin, from collectible inscriptions to complex on-chain applications. This ecosystem is built on core primitives like inscriptions, satoshi tracking, and indexer infrastructure.

01

Inscriptions

An inscription is the core data unit of the Ordinals protocol, embedding content directly onto a specific satoshi. This creates a digital artifact—a Bitcoin-native NFT. The content can be images, text, JSON, HTML, or even video game ROMs. Inscriptions are immutable and permanently stored on-chain, secured by Bitcoin's proof-of-work. The process uses witness data in a taproot transaction to store the file without bloating the UTXO set.

02

Satoshi Ordinal Theory

The protocol relies on a scheme to number and track every satoshi (the smallest unit of Bitcoin). Each satoshi is assigned a unique serial number based on its mining order. This ordinal number allows for the precise identification and tracking of the satoshi that carries an inscription. The theory enables rare satoshis, such as the first satoshi of each block (uncommon sats) or the first satoshi of each difficulty adjustment period (epic sats), which are highly sought after by collectors.

03

Indexers & Wallets

Since Bitcoin nodes don't natively parse ordinal data, specialized indexers are required. These services scan the blockchain, track satoshi movements, and maintain a database of inscriptions and their locations. Popular indexers include Ord and ordit. User interaction requires compatible wallets like Unisat, Xverse, or Hiro Wallet, which integrate these indexers to display inscriptions, manage UTXOs, and facilitate ordinal-aware transactions to avoid accidentally spending inscribed satoshis.

04

Recursive Inscriptions

A recursive inscription references the content ID of another inscription using a special /-/content/:inscription_id syntax. This allows for:

  • Code reuse: Deploy a single JavaScript library and have thousands of inscriptions reference it.
  • Complex applications: Build on-chain websites or games by composing multiple inscribed files.
  • Drastically reduced costs: Avoids re-uploading duplicate data, making large projects economically feasible. This feature enables a form of on-chain composability for Bitcoin.
05

BRC-20 & Token Standards

BRC-20 is a fungible token standard built on top of Ordinals, using JSON inscription data to deploy, mint, and transfer tokens. While simple, it has significant limitations: it's off-chain stateful (relying on indexer consensus) and can cause network congestion. The ecosystem has since evolved other experimental standards like BRC-721 for generative art and Runes, a proposed UTXO-based fungible token protocol by Ordinals creator Casey Rodarmor designed to be more Bitcoin-native and efficient.

06

Marketplaces & Infrastructure

A full ecosystem of tools supports the trading and discovery of ordinal artifacts. Key components include:

  • Marketplaces: Platforms like Magic Eden and Ordinals Wallet for buying/selling inscriptions.
  • Explorers: Services such as Ordinals.com and Ord.io to search and view inscription details.
  • Minting Services: Tools to simplify the inscription creation process.
  • Analytics: Dashboards tracking metrics like inscription volume, fee spend, and collection rankings. This infrastructure mirrors that of other NFT ecosystems but is built specifically for Bitcoin's UTXO model.
security-considerations
ORDINALS PROTOCOL

Security and Network Considerations

The Ordinals protocol introduces unique security properties and network-level trade-offs by inscribing arbitrary data directly onto individual satoshis on the Bitcoin blockchain.

01

Data Permanence and Censorship Resistance

Inscriptions inherit Bitcoin's core security guarantees. Once confirmed, data is immutable and permanently stored on-chain, secured by the network's proof-of-work. This makes inscriptions censorship-resistant; no central party can alter or delete the inscribed content without controlling the majority of Bitcoin's hash rate.

02

Block Space Consumption and Fee Pressure

Ordinals inscriptions consume block space, competing with regular Bitcoin transactions. This can lead to:

  • Increased transaction fees during periods of high inscription demand.
  • Debates about block space as a shared resource and the economic purpose of fees.
  • A direct economic link between inscription popularity and Bitcoin network security via miner fee revenue.
03

UTXO Proliferation and Chain Analysis

Each inscription creates a new Unspent Transaction Output (UTXO). This leads to UTXO set growth, which increases the resource requirements for running a full node. Furthermore, the distinct spending patterns of inscribed satoshis can complicate traditional privacy and chain analysis models, as they create uniquely identifiable on-chain artifacts.

04

Inscription Security vs. Wallet Support

The security of an ordinal depends on wallet and key management. Loss of private keys means permanent loss of the inscribed satoshi. Wallet compatibility is crucial; sending an inscribed satoshi with a non-ordinal-aware wallet can accidentally "burn" the inscription by sending it to an unspendable output. Users must use ordinal-compatible wallets like Sparrow or Xverse for safe transfer.

05

No Smart Contract Risk

Unlike NFTs on smart contract platforms, Ordinals have no associated on-chain logic. There is no risk of exploits in a smart contract governing the asset. The only security model is that of Bitcoin itself. However, this also means features like royalty enforcement or programmable behaviors are not natively supported on-chain.

06

Network Spam and Denial-of-Service

The protocol's permissionless nature allows anyone to inscribe data, potentially enabling spam attacks designed to bloat the blockchain or congest the mempool. While miners economically disincentivize pure spam (as they profit from fees), large volumes of low-fee inscriptions can still impact network performance for standard users, raising questions about transaction prioritization.

ORDINALS PROTOCOL

Common Misconceptions

Clarifying frequent misunderstandings about Bitcoin Ordinals, inscriptions, and their technical implementation.

No, Ordinals are not NFTs in the traditional, smart contract-based sense. An Ordinal inscription is a piece of content (like an image or text) written directly into a specific satoshi on the Bitcoin blockchain using witness data. Unlike typical NFTs on Ethereum or Solana, there is no separate token standard (like ERC-721) or on-chain smart contract logic governing ownership. Ownership is derived purely from the Bitcoin UTXO model—whoever controls the UTXO containing the inscribed satoshi controls the inscription. The protocol is a layer of interpretation applied to the Bitcoin blockchain, not a new token layer.

ORDINALS PROTOCOL

Frequently Asked Questions (FAQ)

Essential questions and answers about Bitcoin Ordinals, the protocol enabling NFTs and fungible tokens directly on the Bitcoin blockchain.

The Ordinals Protocol is a numbering scheme that assigns a unique serial number, called an ordinal number, to each individual satoshi (the smallest unit of Bitcoin), allowing them to be tracked, transferred, and inscribed with arbitrary data to create digital artifacts like NFTs. It works by leveraging the Bitcoin blockchain as a data layer, using a first-in-first-out (FIFO) ordering of transaction outputs to track satoshis through their entire lifecycle, from mining to spending. The protocol does not require a sidechain, separate token, or changes to the Bitcoin consensus rules; it is entirely implemented through client-side indexing logic. By inscribing data onto a specific, tracked satoshi via witness data in a taproot transaction, the protocol creates a persistent and immutable digital artifact native to Bitcoin.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team