Research/Tokens

Bitcoin Stamps and SRC-20: The Case for Unprunable On-Chain Data

Bitcoin Stamps embed data in UTXOs instead of witness data, making them impossible to prune. How SRC-20 tokens work and why permanence matters.

bcTanjiDec 6, 2026

Most Bitcoin data protocols store their payloads in witness data, the segregated portion of a transaction that full nodes can optionally discard. Bitcoin Stamps take the opposite approach: they encode data directly into transaction outputs, the part of the blockchain that every full node must retain in its UTXO set to validate future transactions. The result is on-chain data that is, by design, impossible to prune.

This architectural choice makes Stamps the most persistent form of Bitcoin data storage available today. It also makes them one of the most controversial. Critics argue that permanently inflating the UTXO set with arbitrary data threatens node sustainability. Supporters counter that true immutability requires consensus-critical storage, and that anything less is a weaker guarantee. Understanding this tradeoff is essential for anyone evaluating Bitcoin token standards.

How Bitcoin Stamps Work

The Stamps protocol was introduced in March 2023 by a pseudonymous developer known as Mike In Space. The first Stamp (Stamp 0) was minted on March 7, 2023, as a response to the Ordinals and BRC-20 movement that had emerged weeks earlier. Where Ordinals embed data in witness fields using the SegWit discount, Stamps deliberately avoid witness data entirely, placing payloads where nodes cannot ignore them.

The Encoding Pipeline

A Stamp encodes data (typically an image) by converting it to a Base64 string prefixed with stamp:. Because this string exceeds the 80-byte limit of OP_RETURN outputs, the protocol splits the data across multiple transaction outputs using multisig scripts. Each output encodes a portion of the payload in what appear to be public keys within a bare multisig arrangement. These outputs are valid, spendable UTXOs that full nodes must track.

The protocol has evolved through three encoding phases:

  1. Counterparty-based encoding (starting at block 779,652): the original method, which used Counterparty transaction formatting to embed data in bare multisig outputs
  2. Native Bitcoin encoding (block 793,068): removed the dependency on Counterparty, encoding Stamps directly into Bitcoin transactions
  3. OLGA encoding via P2WSH (block 865,000): a more space-efficient method using Pay-to-Witness-Script-Hash outputs, reducing the per-Stamp cost while maintaining unprunability
Why P2WSH is still unprunable: Although OLGA uses witness script hashes, the output itself remains in the UTXO set. Full nodes must retain the output script to validate future spending attempts. The data payload is embedded in the script structure, not in the witness field that SegWit allows nodes to discard.

Witness Data vs. Output Data

The distinction between witness data and output data is the core architectural difference between Stamps and Ordinals inscriptions. SegWit separated transaction signatures into a witness structure that nodes can prune after validation. Pruned nodes discard old block data (including witness fields) to save disk space, keeping only the UTXO set and block headers.

Ordinals inscriptions sit entirely within witness data. A pruned node retains no record of the inscription content. The inscription's existence can be verified through the transaction's commitment, but the payload itself is gone from that node's storage. Stamps, by embedding data in outputs, ensure that every full node (pruned or not) retains the payload as long as the UTXO remains unspent.

PropertyOrdinals InscriptionsBitcoin Stamps
Storage locationWitness data (SegWit)Transaction outputs (UTXO set)
Prunable by nodesYesNo
Benefits from witness discountYes (4:1 weight ratio)No
Relative cost per byte1x (baseline)~4x more expensive
Typical payload sizeUp to ~400 KBTypically under 8 KB
Persistence guaranteeArchive nodes onlyAll full nodes
First appearedJanuary 2023March 2023

The SRC-20 Token Standard

SRC-20 is the fungible token protocol built on top of Bitcoin Stamps, directly modeled after BRC-20. Where BRC-20 tokens embed JSON instructions in witness data via inscriptions, SRC-20 tokens embed the same style of JSON instructions in Stamp outputs, inheriting the unprunability guarantee. The standard was introduced alongside the Stamps protocol in March 2023 and is indexed by Stampchain.

Operations

SRC-20 supports three core operations, each encoded as a JSON object within a Stamp transaction:

Deploy creates a new token with a ticker symbol, maximum supply, and optional per-mint limit:

{
  "p": "src-20",
  "op": "deploy",
  "tick": "KEVIN",
  "max": "21000000",
  "lim": "1000"
}

Mint creates new tokens up to the per-mint limit. If a mint would exceed the remaining supply, only the valid portion is credited:

{
  "p": "src-20",
  "op": "mint",
  "tick": "KEVIN",
  "amt": "1000"
}

Transfer moves tokens from the transaction sender to the recipient defined by the first output address:

{
  "p": "src-20",
  "op": "transfer",
  "tick": "KEVIN",
  "amt": "500"
}

Indexing and State

Like BRC-20, SRC-20 uses an off-chain indexer to track token balances. The Bitcoin blockchain itself does not enforce SRC-20 rules: the JSON instructions are data that indexers interpret to build a ledger of token ownership. The sender of an SRC-20 transaction is determined by the address funding input 0. The recipient is the address in output 0. Tickers are 1 to 5 characters, case-insensitive, and follow a first-deployment-wins rule: once a ticker is deployed, duplicate deployments are ignored by conforming indexers.

Indexer dependency: SRC-20 token ownership is only as reliable as the indexer interpreting the on-chain data. If two indexers disagree on validation rules (edge cases around supply caps, decimal handling, or transaction ordering), users could see different balances. This is the same fundamental limitation shared by BRC-20 and other inscription-based token standards.

SRC-20 vs. BRC-20 vs. Runes

FeatureSRC-20BRC-20Runes
Data locationTransaction outputsWitness dataOP_RETURN
PrunableNoYesPartially
Balance modelAccount-based (indexer)Account-based (indexer)UTXO-native
Indexer requiredYesYesYes
UTXO set impactHigh (creates persistent UTXOs)Low (data in witness)Moderate (OP_RETURN is unspendable)
Transaction costHighestModerateLowest
LaunchedMarch 2023March 2023April 2024

The Cost of Permanence

The SegWit witness discount gives witness bytes a 4:1 advantage in block weight calculations. Non-witness data costs 4 weight units per byte, while witness data costs only 1. This means a 10 KB Ordinals inscription consumes 10,000 weight units, while the same 10 KB stored in Stamp outputs would consume 40,000 weight units.

In practice, this ~4x cost multiplier constrains what Stamps can practically store. Most Stamps are small images: 24x24 pixels with an 8-color palette is common. Larger payloads become prohibitively expensive during periods of high fee rates. The trade-off is explicit: Stamps users pay more per byte in exchange for a stronger permanence guarantee.

Beyond the per-transaction cost, each Stamp creates multiple UTXOs that full nodes must store indefinitely. A single Stamp minted via bare multisig encoding can produce several multisig outputs, each consuming space in the UTXO set database that every validating node maintains in RAM or on fast storage. These UTXOs are technically spendable, but spending them would destroy the Stamp data, so they persist indefinitely in practice.

UTXO Set Bloat: The Central Controversy

The Bitcoin UTXO set is the database of all unspent transaction outputs. Every full node must maintain this set to validate new transactions. Before the Ordinals and Stamps wave began in early 2023, the UTXO set contained roughly 80 to 85 million entries and occupied approximately 4 to 5 GB on disk. By mid-2025, the set had grown to over 170 million entries and approximately 11 GB, with a significant portion of the growth attributed to inscription-related dust outputs.

Stamps contribute to this growth disproportionately relative to their usage. Each Stamp creates multiple UTXOs that will never be spent (since spending them destroys the data). Bitcoin Core developer Mark "Murch" Erhardt has described the Stamps approach as "probably, from a technical perspective, one of the more egregious uses of blockchain," precisely because it targets the one data structure that all nodes must keep.

The Argument for Unprunable Storage

Stamps advocates make a straightforward case: if data can be pruned, its permanence depends on the goodwill of node operators. Witness data survives only as long as a sufficient number of archive nodes choose to retain it. If the economics of running a full archive node deteriorate over time (as block sizes grow and storage costs compound), the availability of inscription data could degrade. Stamps, by embedding data in the UTXO set, tie their persistence to Bitcoin's consensus rules rather than individual node operator decisions.

  • UTXO data is consensus-critical: every full node validates against it
  • Pruning witness data is a local optimization, not a consensus violation
  • Long-term data availability in witness fields depends on archive node economics
  • For use cases where permanence is the primary value proposition, witness storage offers a weaker guarantee

The Argument Against

Critics counter that the UTXO set is Bitcoin's most performance-sensitive data structure. Unlike the full blockchain (which can sit on slow storage), the UTXO set is frequently accessed during transaction validation and benefits from being held in RAM. Growing the UTXO set with arbitrary data increases hardware requirements for all node operators, potentially reducing the number of independent validators and weakening Bitcoin's decentralization.

  • Every byte added to the UTXO set must be stored by every full node indefinitely
  • Unlike blockchain data, UTXO set size directly affects validation speed
  • Stamp UTXOs are economically irrational to spend (doing so destroys the data), making them effectively permanent state bloat
  • The dust limit was designed to prevent uneconomical UTXOs, but Stamps outputs exceed the threshold

Proposals to address UTXO set growth include Utreexo, which replaces the in-memory UTXO set with a compact cryptographic accumulator, and dynamic dust thresholds that would make old, low-value UTXOs unspendable via soft fork. Neither has been activated, and both remain active areas of Bitcoin development.

SRC-20 in Practice

Despite (or because of) the higher cost, SRC-20 tokens have attracted a dedicated community. Marketplaces like RareStamp and OpenStamp facilitate trading, and the Stampchain indexer provides the canonical ledger state. By mid-2023, over 46,000 Stamps had been minted on Bitcoin, though activity has remained niche compared to Ordinals and Runes.

The SRC-20 ecosystem also includes SRC-721 for non-fungible tokens and various art-focused standards. The protocol's natural audience is users who value data permanence above cost efficiency: digital artists seeking provably permanent on-chain art, and token issuers who want their deployment records to survive any future pruning policy changes.

Practical Limitations

Several constraints limit SRC-20's utility as a general-purpose token platform:

  • High minting costs make casual experimentation expensive, especially during fee spikes
  • Every transfer requires an on-chain Bitcoin transaction, so transfer fees are denominated in satoshis at full weight
  • Indexer fragmentation risk: if the community splits on validation rules, token balances could diverge across indexers
  • Limited tooling compared to BRC-20 and Runes, with fewer wallets and exchanges supporting SRC-20 natively

What Stamps Reveal About Bitcoin Data Storage

The Stamps debate is a specific instance of a broader question: what data belongs on Bitcoin's base layer? OP_RETURN outputs offer a designated 80-byte space for arbitrary data that nodes can discard. Witness data provides a larger canvas at a discount. Stamps reject both compromises, insisting that data worth storing is data worth making every node store.

Each approach reflects a different philosophy about Bitcoin's purpose:

ApproachPhilosophyUTXO Set Impact
OP_RETURNMinimal footprint; data is ancillary to financial transactionsNone (provably unspendable)
Ordinals inscriptionsBitcoin block space is a general-purpose data layerMinimal (witness data, prunable)
Bitcoin StampsOnly consensus-critical storage is truly permanentHigh (persistent UTXOs per Stamp)

This spectrum also highlights why UTXO management strategies matter beyond individual wallet optimization. As on-chain token protocols proliferate, the aggregate impact on the UTXO set becomes a collective resource management problem. The tension between individual expressiveness and shared infrastructure costs is unlikely to be resolved by any single protocol design.

Off-Chain Alternatives and Spark

The Stamps controversy illustrates a fundamental constraint: storing arbitrary data on Bitcoin's base layer, whether in witness fields or UTXOs, consumes shared resources. Every byte of on-chain token data is a byte that cannot be used for financial transactions, and in the case of Stamps, every output is permanent state that all nodes must carry.

Off-chain protocols offer a different tradeoff. Instead of embedding token operations in base-layer transactions, Spark processes token transfers using its statechain model: ownership changes happen through cryptographic key rotation rather than on-chain data writes. Tokens on Spark (using the BTKN standard) transfer instantly between VTXOs without creating new UTXOs, consuming block space, or adding to the base layer's state burden. The base layer is reserved for what it does best: settlement and unilateral exits.

For developers building token applications on Bitcoin, the Spark SDK provides token issuance and transfer capabilities without the per-operation on-chain costs that make SRC-20 and BRC-20 expensive at scale. The Spark documentation covers token integration, and wallets like General Bread demonstrate what a Spark-powered token experience looks like in practice. For a deeper comparison of on-chain token standards, see our Taproot Assets vs. Runes comparison.

Conclusion

Bitcoin Stamps and SRC-20 represent the maximalist position on on-chain data permanence. By encoding data in UTXOs rather than witness fields, they achieve a guarantee that no other Bitcoin data protocol offers: every full node, pruned or not, must retain the data as long as it participates in consensus.

The cost is real. Stamps are approximately four times more expensive per byte than inscriptions, they permanently inflate the UTXO set, and they increase the resource requirements for every node operator on the network. Whether that cost is justified depends entirely on how much you value permanence over efficiency, and whether the use case truly requires consensus-level storage rather than a well-designed off-chain alternative.

This article is for educational purposes only. It does not constitute financial or investment advice. Bitcoin and Layer 2 protocols involve technical and financial risk. Always do your own research and understand the tradeoffs before using any protocol.