BSV-21

BSV-21

Fungible tokens with no ticker race. One output creates the token and its whole supply, and its outpoint is the token's id.

What it is

A BSV-21 token starts with a single deploy+mint inscription that creates the whole supply at once. The token's id is that output's outpoint, written as txid_vout. Every transfer names the id, so any indexer can check a balance by following outputs back to the genesis, without scanning every mint on chain. The issuer decides how the supply is handed out, for example through a contract that releases it over time.

Script pattern

  1. OP_DUP OP_HASH160 <pubkey hash> OP_EQUALVERIFY OP_CHECKSIG A P2PKH lock: who holds the tokens.
  2. OP_FALSE OP_IF "ord" Opens the inscription envelope.
  3. OP_1 "application/bsv-20" The same content type as BSV-20.
  4. OP_0 {"p":"bsv-20","op":"deploy+mint","sym":"…","amt":"…"} A genesis. A transfer instead carries "op":"transfer" and the token's "id".
  5. OP_ENDIF Closes the envelope.

How it is spent

The owner's signature, as P2PKH. A transfer must account for the whole amount it spends.

Background

BSV-21 came to 1Sat Ordinals in late 2023 as the successor to BSV-20. Ids replaced tickers, so two tokens may share a symbol and still never collide. Stablecoins such as MNEE use it.

On chain

160 tokens deployed.

From our token index: the latest BSV-21 operations. Transaction pages need sign-in.

Specification