This article is featured in Bitcoin Magazine\u2019s<\/em> \u201cThe Inscription Issue\u201d. Click <\/em>here<\/a><\/em> to get your Annual Bitcoin Magazine Subscription.<\/strong><\/p>\n Let me start off by acknowledging that Ordinals are amazing! Ordinal Theory is a very clever method of tokenizing individual satoshis and Casey Rodarmor deserves high praise and recognition for gamifying the blockchain and Making Bitcoin Fun Again. For the first time in the history of Bitcoin, we have NFTs on the heaviest proof-of-work chain, preserved indelibly forever!<\/p>\n Okay, now that we got that out of the way, let\u2019s dive into some \u201cinconvenient\u201d history. Ordinals was not the first \u2014 far from it. Tokens have existed on meta layers on top of the Bitcoin blockchain for at least a decade. Most have been flashes in the pan like Colored Coins; never quite launched, like RGB; or under-the-radar this whole time, like Counterparty.<\/p>\n You may not have heard of Counterparty \u2014 a shockingly high number of Bitcoiners haven\u2019t \u2014 which launched in 2014 with a fair \u201cproof-of-burn\u201d that sent 2,130 bitcoin to an irrecoverable burn address, but you may have heard of Rare Pepe, an early, pioneering \u201ctokenized art\u201d collection on Bitcoin consisting of 1,774 hilarious and dank works revolving around Pepe the Frog. RAREPEPE (Series 1, Card 1) commonly referred to as the \u201cNakamoto Card\u201d sold for upwards of half a million dollars during peak NFT mania. Another card, HOMERPEPE (Series 2, Card 32) was probably the first significant NFT sale ever at $38,000 in 2018 and then again for $320,000 in early 2021.<\/p>\n Oh, did I mention I am an original Rare Pepe artist? I submitted a piece entitled CHAMPAGNETNT (Series 25, Card 38) that poked fun at the then-current ICO boom, and eventual bust. The great thing about the Rare Pepe collection is that it acts as an illustrative time capsule of what was happening in Bitcoin (and crypto) during the 2016-2018 era, warts and all. But this was all before 2021, before NFTs went bananas, so there really wasn\u2019t much speculation or expectation of profit. It was just a bunch of dudes (mostly dudes) hanging out on Telegram and making dank art to share with friends. I gave away half the supply of my card without even stopping to consider if it could be worth something \u201csomeday\u201d.<\/p>\n <\/a> Let\u2019s skip forward a few years. It\u2019s early 2023 and Ordinals is making waves as the shiny new thing. What makes Ordinals novel? A clever method of FIFO (first in; first out) accounting, which reimagines waves of satoshis as individual, trackable particles. It\u2019s an abstraction, because satoshis don\u2019t really exist as individual, non-fungible units. But if everyone agrees on the FIFO accounting method, we can all collectively believe that they exist and therefore they do! The wave-function collapses thanks to the observer effect of Ordinal Theory. And once they exist, we can also pretend that owning a certain one corresponds with ownership of a particular inscription on the blockchain, much like a star registry gives you a claim on some distant sun. Ordinal Theory is a lens through which to view the blockchain in interesting new ways. It\u2019s like magic!<\/p>\n So when I first found out about Ordinal Theory I was completely blown away. I always thought, \u201cWell you can\u2019t just manifest something new into existence simply by claiming it to exist using an arbitrary counting method completely extrinsic to the system itself\u201d. But apparently you can! The artificial walls in my mind that had been built up around \u201ccrazy ideas that could never work\u201d suddenly vanished and I could see a clear path in front of me: I can make up stuff too! And that\u2019s how Bitcoin Stamps was born. Well, not exactly. Ideas are a dime a dozen, but the implementation of an idea is really what brings it to life. I\u2019ve had the privilege of working with some great coders and engineers that have been indispensable in launching and evolving the Bitcoin Stamps protocol: Kevin, Arwyn, Regan, B0B Smith, and many others. We were also fortunate enough to leverage the decade-old Counterparty protocol, maintained through many lean years by stalwarts like JDog and Joe Looney, to quickly bootstrap Bitcoin Stamps.<\/p>\n So what exactly is a Bitcoin Stamp? Well, it\u2019s Secure Tradable Art Maintained Permanently.<\/p>\n Essentially, an image file, like a JPEG or GIF, is converted into a long Base64 string \u2014 Base64 is a method to encode binary data as printable text \u2014 that\u2019s appended to the URI (Uniform Resource Identifier) \u201cstamp\u201d: and placed in the description field of a Counterparty transaction. Explorers and wallets convert these long Base64 strings back into viewable images.<\/p>\n Here is the Base64-encoded string of the very first Bitcoin Stamp (#0):<\/p>\n stamp:iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4\/\/8\/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==<\/p>\n A big selling point for Bitcoin Stamps is the preservation of data once minted on the blockchain. How is this persistence of data achieved? The way Counterparty typically operates is to encode data into a transaction\u2019s OP_RETURN. OP_RETURN\u2019s are limited to 80 bytes which is quite restrictive from a \u201cstorage\u201d perspective. However, OP_RETURN works well for traditional NFTs that employ an HTTPS pointer to a resource on a third-party server like AWS. Commonly, when you tell people the art isn\u2019t actually \u201con chain\u201d it\u2019s like telling them Santa Claus does not exist. Alas, it\u2019s true: The vast majority of NFTs throughout the years are mere pointers to off-chain art which makes them very susceptible to bit-rot. When the AWS bill stops getting paid, the art is gone forever.<\/p>\n There is another way, however, to encode larger amounts of data using a standard Counterparty transaction: bare multisig encoding. Essentially, when a transaction\u2019s data exceeds 80 bytes, Counterparty instead chunks and encodes that data into a bare multisig\u2019s key-strings, using a 1-of-3 quorum where two of the three keys are utilized to store data in a sneaky fashion. The one actual redemption key in the multisig that can spend the outputs is a burner: The artist does not actually have control of a corresponding private key. We call this technique KeyBurn as it ensures that the data stored within the UTXO set cannot be removed through spending.<\/p>\n Bitcoin Stamps happen to be extremely SIGOPS (Signature Operations) heavy as a result of how the data is stored. Typical transactions do not contain so many SIGOPS, which has led some mining pools to cut corners over the years, and not count them when including transactions in a candidate block. Everyone is aware of the block size limit, but did you know there is an 80,000-SIGOPS limit per block as well? I didn\u2019t! I found this out when news first broke that F2Pool had created an invalid block that got rejected by the network for exceeding the SIGOPS limit due to all the Stamp transactions in it, which were tied to very juicy mining fees. Expensive mistake! Then they did it again shortly after. That\u2019s 6.25 BTC lost twice, not including transaction fees.<\/p>\n
\n Click the image above to subscribe!<\/em><\/p>\n