Run jig

Run Unspendable

A JavaScript object that lives on chain. Each update is a transaction, and its owner is whoever holds its output.

What it is

Run is a protocol for tokens and objects written as JavaScript classes, called jigs. Each transaction carries a Run record in OP_RETURN that says which jigs it creates or updates, and outputs that hold each jig's current owner. A Run client replays the record to rebuild each jig's state, so the chain is the database.

Script pattern

  1. OP_FALSE OP_RETURN A data output.
  2. "run" The Run prefix.
  3. <version> The protocol version.
  4. <app> The app that wrote it.
  5. <payload> JSON: the jigs this transaction creates or updates, and how.

Each jig's owner is a separate output, usually P2PKH.

How it is spent

The Run record cannot be spent. Each jig moves when its owner spends the output that holds it.

Background

Run launched on BSV in 2020 and hosted NFT collections and games, among them the Rexxies. Bitblocks traces the Rexxies collection through its Run jigs.

On chain

Examples are unavailable right now. Please try again shortly.

Specification