@hashed_officialยท8 charts
Rune Protocol - Deciphering (Docs)
Runestones are deciphered from transactions with the following steps:
- Find the first transaction output whose script pubkey begins with OP_RETURN OP_13.
- Concatenate all following data pushes into a payload buffer.
- Decode a sequence 128-bit LEB128 integers from the payload buffer.
- Parse the sequence of integers into an untyped message.
- Parse the untyped message into a runestone.
Deciphering may produce a malformed runestone, termed a cenotaph.
Simple Tips
OP_RETURN 13 <size> 00: EdictOP_RETURN 13 <size> 020(1|3|5|7): EtchingOP_RETURN 13 <size> 14: MintOP_RETURN 13 <size> 16: Pointer