Article directory
background
There are no specific rule definitions based on 比特币序数理论(ordinals)
the application, and some general rules and special inscriptions are recorded here. The official website (ordinals.com) shall prevail.铭文(inscription)
铭文序号
basic rules
The content of the inscription is recorded on taproot
the spending path of the address script 见证脚本(witness)
, which conforms to the following rules:
OP_FALSE OP_IF OP_PUSHDATA(b"ord")
beginningOP_ENDIF
end- There can be no other op operators between the beginning and the end except
OP_FALSE
andOP_PUSHDATA
- A single
OP_PUSHDATA
maximum cannot exceed 520 bytes OP_PUSHDATA(0x01)
The last content is content_type, and we can write the contentOP_PUSHDATA(0x01)
of类型标签
content_type only in oneOP_PUSHDATA
- The content after the tag after the beginning
OP_FALSE
is content, which weOP_FALSE
call内容标签
special inscription
empty inscription
The empty inscription here refers to empty content_type or empty content.
There are two cases of empty inscriptions:
- There are tags but no content
- None of the tags
There are tags but no content
- number
9055384
- id
c84bf6c9bdc12155fa25ab784ce39589ae9e7dd14b6e6be66f2386c6e022ecdci0
- block
791212
Inscription serial number out of order
Under normal circumstances, the serial number of the inscription is incremented according to the sequence of blocks and transactions, except for special cases.
0 input 0 output transaction
When the inscription is inscribed on a transaction with 0 input and 0 output, the sequence number of the inscription is at the end of the block that packs the transaction
- number
3492721
- id
c1e0db6368a43f5589352ed44aa1ff9af33410e4a9fd9be0f6ac42d9e4117151i0
- block
788200
- number
3644015
- id
99e70421ab229d1ccf356e594512da6486e2dd1abdf6c2cb5014875451ee8073i0
- block
788312
Cursed Glyph (cursed)
Some users violated the basic rules 5
by entering content_type multiple times OP_PUSHDATA
.
For 02603763eadcf651e29253ccb80b834bcadaca2dea954eb3e11d1c99f625ba2c
example, the inscription script is as follows:
OP_FALSE OP_IF OP_PUSHDATA(b"ord") OP_PUSHDATA(0x01) OP_PUSHDATA(b"image/png")
OP_PUSHDATA(b"B") OP_PUSHDATA(b"cursed")
OP_FALSE … OP_ENDIF
There are a large number of such inscriptions in 797612
Altitude, and the content of the inscriptions is a pixel image, but ordinals officially does not include this type of inscription, we can go to other websites to view the cursed inscriptions .
recursive inscription
Recursive inscriptions can refer to other inscriptions that have already been included, saving handling fees. Take 369c6f0af4c4ddbe49bbb73ec609738a750478ae4d4257abf8974b133ae297cdi0 as an example.
The content of the inscription is html
<html>
<body style="margin: 0; padding: 0">
<canvas
id="cv"
style="width: 100%; height: auto; "
width="800"
height="800"
></canvas>
<script src="/content/b52f97a91555acce06f7cc1b42455a2b785be3a5cd3f4351b5358d1591690e2ei0"></script>
<script
id="i"
src="/content/d2008a9b633534907ae9adedf0f3c048e7367fe39c38e63a4e5ad04e2fa79fe2i0?tb=797925&ids=fc24c22bb5437d6f746c83d83e19138ea0b0e0928d29ef0f87e0468d7199c3f0i0,87cadc8c9f32752ec3273fdcdaeff402c8a17031d27a1b98b1128deb6ed73ca9i0,7e0fefb876e5f83376d66740c6806f2438b6d6a0dae4cbf9ae204bd636a74eaai0,ed4c27c05ec9c54b2ba553b064925f320fa62b8e9a318c363daf611c46f3e633i0,37ea347292f5936ac2f59be6bdc659b6e0fc7a3ffd402fd02de77f17a69542ddi0,1ce1e36924f008c74e56ea16ad8ffdee8f21d9935637f813ce6163b0c0ce4152i0,bfa8f575884dd9049a8d6f6281234c0a90d5124b815e969813e6ce09194f533di0"
></script>
</body>
</html>
Among them
b52f97a91555acce06f7cc1b42455a2b785be3a5cd3f4351b5358d1591690e2ei0
d2008a9b633534907ae9adedf0f3c048e7367fe39c38e63a4e5ad04e2fa79fe2i0
is the js script, which uses other inscriptions as elements to form a new inscription.