4

Supposedly someone uploaded a Doom clone to the bitcoin blockchain:

https://ordinals.com/content/521f8eccffa4c41a3a7728dd012ea5a4a02feed81f41159231251ecf1e5c79dai0

But I'm a bit confused on exactly what is uploaded using "Ordinals". From a quick read of Ordinals, I'm assuming they are just using OP_RETURN and putting in a encoded string into a block or a transaction?

This encoded string uploaded is a "id" that links to a file on ordinals.com? So technically no real files are uploaded like this Doom clone is it? And if ordinals.com is offline, none of these files are accessible?

And how is this different from colored coins or counterparty from about a decade ago?

Murch
  • 75,206
  • 34
  • 186
  • 622
Patoshi パトシ
  • 11,056
  • 18
  • 84
  • 158

2 Answers2

6

Ordinals Inscriptions don't use OP_RETURN, they are embedded within the script of a taproot input. It's not just a link to a file on some website, the entire file is actually published to the blockchain.

The embedding is done using data pushes inside an unexecuted script branch like so:

OP_0
OP_IF
(embedded data comes here)
OP_ENDIF

You can view the script from your specific example here: https://scriptpath.info/tx/521f8eccffa4c41a3a7728dd012ea5a4a02feed81f41159231251ecf1e5c79da
It consists of 59 pushes of 520 bytes each and one push of 73 bytes.

Vojtěch Strnad
  • 8,292
  • 2
  • 12
  • 40
2

The MIME data type of that inscription is text/html;charset=utf-8. So maybe it is something like Doom in javascript

Ordinals inscriptions do embed the data in transaction data that occupies space in the Bitcoin blockchain.

See also

How to differentiate between BTC transactions and BRC20 transactions on a blockchain?

RedGrittyBrick
  • 26,841
  • 3
  • 25
  • 51