Article

Recursive inscriptions: Your essential guide to the future of Bitcoin smart contracts

When Bitcoin was introduced in 2009 it revolutionized decentralized transactions. While Ethereum dominated the NFT market, Bitcoin enthusiasts were satisfied until Casey Rodarmor introduced ordinals NFTs, allowing NFT creation directly on the Bitcoin network. This innovation expanded the possibilities of the network but did face some limitations.

Ordinals store data like images or code within Bitcoin transactions. However, the 4MB block size limit restricts inscription sizes, excluding large files like high resolution images or videos. Additionally, ordinals lack interoperability with other NFT platforms, making trading or utilization outside the Bitcoin network challenging.

Opinions on ordinals vary in the Bitcoin community, with some seeing them as deviating from Bitcoin's principles. Concerns include unnecessary complexity and potential fee increases. Other members see ordinals as a positive change for the Bitcoin ecosystem.

However, in June 2023, the ordinals community introduced recursive inscriptions, enabling on-chain software. Complex software can run entirely on Bitcoin's blockchain by daisy-chaining data through calls. Recursive inscriptions reduce fees, increase storage efficiency, and allow new software and contracts without new cryptography.

In this article, we'll explore the history of ordinals and delve into recursive inscriptions, their workings, and the future of the ordinals community.

Explore ordinals

What are ordinals?

Ordinals, discussed in our beginners guide to ordinal theory, are a way of numbering and tracking individual satoshis (the smallest unit of Bitcoin). They are assigned based on the order of satoshi mining and transactions, allowing satoshis to be categorized into rarity levels.

The rarity levels defined in ordinals theory are as follows:

  • Common: Satoshis that are not the first in their block, encountered frequently in Bitcoin transactions.
  • Uncommon: The first satoshis of each block, relatively rare due to the limited number of new blocks added daily.
  • Rare: The first satoshi of Bitcoin's difficulty adjustment period, occurring every 2016 blocks or every two weeks.
  • Epic: The first satoshis of each halving epoch, happening approximately every four years or every 210,000 blocks.
  • Legendary: Each cycle's first satoshi represents a longer term Bitcoin market cycle between halvings.
  • Mythic: The first satoshis of the Genesis block, the rarest occurring only once in Bitcoin's history. An example is the genesis ordinal inscribed by artist and lead programmer of ordinals, Casey Rodarmor, on December 14, 2022, featuring pixel art of a skull.

Ordinal inscriptions allow users to permanently record digital content on the Bitcoin blockchain, similar to NFTs, without requiring additional tokens or sidechains. Each satoshi's order and value in ordinal theory make sending and receiving inscribed sats possible but necessitate careful adherence to the rules.

A brief history of ordinals

Ordinals have had a significant impact on the Bitcoin community in recent months. Developer Casey Rodarmor introduced the concept in February 2022, and was officially launched on January 20, 2023.

Users can store various digital artifacts (images, videos, or text) on individual satoshis by assigning a unique ordinal number to each satoshi. However, opinions within the Bitcoin community about ordinals vary, with some considering them a valuable use case while others question their necessity and potential impact on transaction fees.

Nevertheless, ordinals have inspired innovative developments such as dedicated marketplaces and wallets. As of June 2023, over 10 million ordinals have been minted, and daily inscriptions are increasing.

What are recursive inscriptions?

Recursive inscriptions take ordinal inscriptions to the next level by offering a potentially groundbreaking method of expanding the Bitcoin NFT network. Ordinals can store up to 4MB of data directly on the Bitcoin blockchain. However, developers can create a sophisticated network of interconnected data sources with recursive inscriptions, breaking free from the strict 4MB limit.

It extracts data from existing inscriptions and incorporates it into new ones. Developers can run software entirely on-chain by linking data through a series of calls. This breakthrough opens up immense possibilities for interoperability on the Bitcoin network.

Projects like OnChainMonkey already realize the potential of recursive inscriptions. Using recursion, they inscribed various data packages as ordinals on Bitcoin, enabling them to create stunning 3D art under 1KB in size by making calls to those packages.

This innovative approach expands the use cases of ordinals and reduces transaction costs by minimizing the volume of data inscribed on each satoshi. NFT historian and ordinals collector Leonidas is bullish on recursive inscriptions. They see the potential in recursive inscriptions and how it can offer a solution around storage efficiency.

The unique value recursive inscriptions bring to Bitcoin

Imagine hosting extensive files like video games, movies, or complex software directly on the Bitcoin blockchain. The possibilities are great.

But the impact of recursive inscriptions extends beyond entertainment and file storage. It opens up technological opportunities, such as implementing permissionless contracts enforced by Bitcoin's enduring storage, without requiring new cryptographic measures.

Developers can leverage pre-existing repositories of inscriptions, bypassing the current 4MB limit by utilizing data already stored on another inscription.

While it's relatively new, only time will tell whether or not those who were initially against ordinals could be won over by the capabilities of recursive inscriptions in bringing together interconnected data, reducing storage duplication, and reducing transaction costs. It could pave the way for Bitcoin to host extensive files and implement advanced contracts.

How do recursive inscriptions work?

If you're excited about recursive inscriptions, you've probably already jumped into research on the subject. While we anticipate easier instructions and onboarding processes will be released, we've rounded up some resources to help you produce your first recursive inscription.

Before diving in, it's beneficial to have a basic understanding of HTML and a deep comprehension of the ordinal protocol. These foundational knowledge areas will support your journey in creating recursive inscriptions.

Tristan, the developer behind ordiscan has made it simple for you to find the source code for inscriptions, which you'll want to tweak and turn into recursive inscriptions.

  • Paste the inscription address in the search bar and click the 🔎
  • Click on "view source code" image
  • From here, you can copy the source code into an HTML editor

After you've got your source code in the HTML editor, look at this tutorial video by DoggfatherCrew, inspired by Brandon Marshall, who used recursive inscriptions for his website.

And speaking of Brandon Marshall, he's created a template where you can inscribe your own single page HTML website to use for your landing page, digital business card, or bio.

Our OKX product marketing team will explore more possibilities for you to get the most out of recursive inscriptions, so stay tuned!

What's next for recursive inscriptions?

Since its debut on June 10, 2023, recursive inscriptions has garnered considerable attention and revealed some limitations. One notable area for improvement is the availability of comprehensive documentation and tutorials on recursive inscriptions.

As Protos pointed out, recursive inscriptions rely on Casey Rodarmor's ordinals theory, which is not integral to Bitcoin's core ecosystem. This introduces a contradiction to the decentralized principle, because it requires a centralized group of developers responsible for maintaining ordinals and potentially altering settings in the future.

Although the promise of reduced storage duplication and lower transaction costs appears appealing on paper, it's too early to determine if the projection will materialize.

What remains certain is that innovation will continue to be seen, and this evolution will hopefully drive greater adoption in the future.

To sum up

Recursive inscriptions represent a transformative breakthrough for Bitcoin digital artifacts. By pushing the boundaries of ordinal inscriptions, they offer developers a powerful tool to create networks of interconnected data sources.

This innovative approach liberates Bitcoin from the constraints of the 4MB storage limit, enabling the storage of extensive files and allowing for the implementation of advanced contracts.

While the concept of recursive inscriptions is still relatively new, its potential to combine disparate data, reduce storage duplication, and lower transaction costs is undeniable.

As time progresses, the wider Bitcoin community will likely gain a deeper understanding of the capabilities of recursive inscriptions.

Explore ordinals

Disclaimer:

THIS ARTICLE IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. IT IS NOT INTENDED TO PROVIDE ANY INVESTMENT, TAX, OR LEGAL ADVICE, NOR SHOULD IT BE CONSIDERED AN OFFER TO PURCHASE OR SELL OR HOLD DIGITAL ASSETS. DIGITAL ASSET HOLDINGS, INCLUDING STABLECOINS, INVOLVE A HIGH DEGREE OF RISK, CAN FLUCTUATE GREATLY, AND CAN EVEN BECOME WORTHLESS. YOU SHOULD CAREFULLY CONSIDER WHETHER TRADING OR HOLDING DIGITAL ASSETS IS SUITABLE FOR YOU IN LIGHT OF YOUR FINANCIAL CONDITION. PLEASE CONSULT YOUR LEGAL/TAX/INVESTMENT PROFESSIONAL FOR QUESTIONS ABOUT YOUR SPECIFIC CIRCUMSTANCES.

Related articles
View more
View more