Skip to content

Bitcoin & Runes

@hashed_official@hashed_official8 charts

Rune Protocol - Deciphering (Docs)


Runestones are deciphered from transactions with the following steps:

  1. Find the first transaction output whose script pubkey begins with OP_RETURN OP_13.
  2. Concatenate all following data pushes into a payload buffer.
  3. Decode a sequence 128-bit LEB128 integers from the payload buffer.
  4. Parse the sequence of integers into an untyped message.
  5. Parse the untyped message into a runestone.

Deciphering may produce a malformed runestone, termed a cenotaph.


Simple Tips

  • OP_RETURN 13 <size> 00: Edict
  • OP_RETURN 13 <size> 020(1|3|5|7): Etching
  • OP_RETURN 13 <size> 14: Mint
  • OP_RETURN 13 <size> 16: Pointer

Bitcoin Transactions