Understanding ordinal encoding – Bitcoin Stack Change

0
72


I am engaged on creating an ordinal pockets and from what I perceive ordinal mint transactions may be recognized by looking vin[0].witness for the envelope header “ord” (in hex 6f7264) adopted by extra encoded knowledge describing the content material kind after which the content material. That is then assigned to the primary output of the corresponding transaction, which exhibits the place the ordinal resides at the moment.

For example https://ordinals.com/inscription/0301e0480b374b32851a9462db29dc19fe830a7f7d7a88b81612b9d42099c0aei0 which is created in tx https://blockstream.information/tx/ca8a84d9c1e8a9e4ba607835295887979c1824a10bb89facb0dbe6c3b428a467?broaden and inscribed by the tx https://blockstream.information/tx/0301e0480b374b32851a9462db29dc19fe830a7f7d7a88b81612b9d42099c0ae?output:0.

If I’m understanding this appropriately the proprietor is at the moment: bc1pr8vjq0fk89f5sw3r4n9scrasvw7kaud9akhzw57c3ygycsjspvvseyjcma. I can perceive how the envelope and file kind is encoded within the hex (due to https://web3datadegens.substack.com/p/web3-sql-weekly-5-how-to-identify). However I can not seem to perceive how the picture is encoded such that’s may be present in that enter witness knowledge and independently decoded again to the picture seen on the explorer. Can anybody assist me to higher perceive the specifics of the information encoding?

LEAVE A REPLY

Please enter your comment!
Please enter your name here