The Good Tech Companies - Bitcoin UTXO’s Model: How Ordinals and Runes Are Shaking Up the Crypto Ecosystem
Episode Date: May 29, 2024This story was originally published on HackerNoon at: https://hackernoon.com/bitcoin-utxos-model-how-ordinals-and-runes-are-shaking-up-the-crypto-ecosystem. Learn how Bi...tcoin's UTXO model and fresh innovations like Ordinals and Runes are setting the crypto world abuzz, revealing new ways to use and secure Bitcoin. Check more stories related to web3 at: https://hackernoon.com/c/web3. You can also check exclusive content about #bitcoin-utxo, #nervos-ckb, #btc, #bitcoin-blockchain, #bitcoin-l2-ecosystem, #bitcoin-inscriptions, #runes-in-bitcoin, #good-company, and more. This story was written by: @ckb. Learn more about this writer by checking @ckb's about page, and for more stories, please visit hackernoon.com. Bitcoin's recent innovations, such as Ordinals and Runes, showcase the potential of the UTXO model by enabling new applications on the Bitcoin network. These developments highlight the growing ecosystem, distinct from Ethereum's, driven by unique protocols like BRC-20 and enhanced by upgrades like Taproot.
Transcript
Discussion (0)
This audio is presented by Hacker Noon, where anyone can learn anything about any technology.
Bitcoin UTXOs model. How Ordinals and Runes are shaking up the crypto ecosystem.
By Nervous CKB. Bitcoin's recent innovations such as inscriptions and runes are gradually
becoming the focus of the crypto industry's attention. This is because they have been
showcasing the different application potential of UTXOs, unspent transaction output, through the Ordinals Protocol, Nervous CKB, and others.
They follow a Bitcoin UTXO model which emerged as industry competition intensified and technology
advanced, enabling applications to be built on the Bitcoin network and share security with its
main chain naturally. Info This article is the summary of a research
report by Guosheng Securities. Bitcoin UTXO Model. With the model, the circulation of every Satoshi,
SAT's I.E. The smallest unit of Bitcoin. Of a BTC is traceable and non-fungible.
Perhaps the earliest form of NFT. It provided a foundation for developing the Ordinals protocol and Thebrc20
ecosystem which saw Bitcoin developer, Casey Rotermore, release an open-source software
called ORD on a Bitcoin Core full node in December 2022. The software allows users to input any
information, such as a string of text or on-image, into the Bitcoin blockchain, and then bind this uploaded information to a specific Satoshi. This ultimately created the possibility of a Satoshi being stored
with information, also known as a Bitcoin NFT. The Ordinals protocol has two parts,
Ordinals and Inscription. Ordinals serializes Satoshis and allows
the tracking and transferring of individual Satoshis.
Once numbered, content can be written into the transactions, segregated witness, segwit, area,
and assigned to the first Satoshi of the transaction output. Inscription is the content
stored in SATs, which could be images, text, audio, video, or even codes, provided they do not exceed the
4MB limit of a Bitcoin block. The Ordinals protocol can not only be used to issue NFTs
but tokens too. Such is the development of new ACID protocols like BRC20 and applications like
Runes. BRC20 originated from a community experiment after a Twitter, ex, user, Domodata who believes
that the Ordinals protocol can be used not only to issue NFTs but tokens as well when
inscriptions are attached in JSON data format. He published what he called, an interesting and
experimental standard, known as BRC20 on Gitbook, based on the Ordinals protocol, and showed that
the standard allows inscriptions to be set in JSON data format to
deploy mint and transfer tokens. Transactions on the Bitcoin blockchain have since accounted
for a significant proportion after BRC20's emergence. The BRC20 standard has rapidly
promoted the development of inscriptions, as the potential of Bitcoin blocks and UTXO has
rarely been deeply explored. This is an interesting experiment based
on Bitcoin UTXO, which has been embraced by the community and users. Source. DOMO2. Gitbook.
IO. UTXO potential raises expectation on the Bitcoin L2 ecosystem. As many active on-chain
transactions were recorded, the foundation for tapping the UTXO model's potential to build applications was laid in 2023. The model has since created heightened
expectations in the market and continues building an ecological model that differs from Ethereum's
Layer 2, L2, which is also eagerly awaited by the market. From the ERC-20 standard that led
to initial coin offerings, ICOs, to the development of
automated market makers, AMMs, that energized DeFi, and the emergence of NFTs in the metaverse,
Ethereum's ecosystem has gradually become richer through fraud with twists and turns.
Meanwhile, as Ethereum's L2 has developed rapidly in recent years and the overall control of
Ethereum's on-chain GAS fees has been achieved amid a thriving ecosystem the nascent bitcoin l2 ecosystem has started receiving significant
market attention particularly relating to the strong market expectation for utxo potentials
bitcoin might not have the smart contract capabilities of ethereum but the utxo model
being able to distinguish every satoshi of Bitcoin promises an ecosystem different from Ethereum's. It also differs in the sense that outputs created by Bitcoin transactions are not
simply public key addresses but scripts. That is, the BTC in AUTXO is not recorded in someone's
account as a balance. Each transaction initiator creates a lock for these BTCs through a script,
and only the owner has the key. A key benefit of
this approach is that it allows all transfer transactions to be viewed from the perspective
of BTC circulation, and different UTXOs can undergo parallel transactions, as UTXOs are
strictly distinguished from each other. With each Satoshi being stamped every time it transfers,
the UTXO mechanism completely records the transfer history of all parts of BTC. The expectation has been further enhanced by the Taproot upgrade which,
as the most significant upgrade since the activation of Segregated Witness,
SegWit, aims to improve the Bitcoin network's privacy and efficiency.
Taproot's most notable change is allowing multiple complex signatures,
such as multi-sig wallets, to be aggregated and verified collectively rather than separately.
The aggregated signatures make the network perform faster, cost less, and save block space.
Taproot provides a new way to execute Bitcoin transactions by enhancing user privacy and
flexibility greatly improving Bitcoin's scalability. UTXO-based BTCL2 is expected to foster a new ecosystem.
The emergence of the Ordinals protocol, inscriptions, and runes has further improved
the Bitcoin ecosystem. As of May 6, the total value locked, TVL, of the Ethereum ecosystem
exceeded $96 billion while the Bitcoin ecosystem grew its TVLBY $1.2 billion in the past year.
Undoubtedly, compared with Ethereum, the development of the Bitcoin ecosystem is
still in its early stages. Without the smart contract capabilities of Ethereum,
Bitcoin is following its different technical routes to explore new possibilities for UTXO.
One such is Bitcoin's L2 networks that use state channels, such as the
Lightning Network, sidechains, rollups, etc. Mostly relying on L2 to extend smart contract
capabilities. Since Bitcoin's main chain would have to be bridged with an L2 in such instances
as a type of sidechain in a cross-chain manner to achieve consensus and shared security,
interacting with Bitcoin's UTXO model is an
unavoidable step. Naturally, asset protocols for fungible tokens, fort, will also become a new
direction. At 8.09 on April 20, 2024, BTC completed its fourth halving at block height 840,000,
reducing the mining reward for each block from 6.25 BTC to 3.125 BTC.
At the same time, Bitcoin runes were officially launched at block height 840,000.
Runes are an improvement on inscriptions, allowing for more flexible and direct deployment of assets
within Bitcoin UTXO, akin to an etching technique as expressed by the Chinese term
runes. The runes protocol deploys token assets directly recorded information onto the Bitcoin
chain written into the op return field of Bitcoin UTXO. The launch of runes immediately drove a
rapid increase in on-chain fees for Bitcoin. Since its launch on April 20, on-chain fees
generated by runes activities that day accounted for 70.1% of total Bitcoin on
chain fees, a clear distinction from traditional Bitcoin transfers which has previously been the
primary source. For block 840,000, the fees generated were 37.626 BTC, more than 10 times
the mining reward, 3.125 BTC. This has been highly sought after by the market.
Runes have made further improvements in design, issuance, and compatibility,
preparing for compatibility with fungible tokens, and interfacing with bridges and DeFi applications.
The evolution of UTXO. Nervous. CKB. Cell model. Meanwhile meanwhile despite the expectations that ecosystem applications are
to have from the utxo model and the unique development potential of the bitcoin l2 ecosystem
bitcoin not using the familiar account model to represent the flow of bitcoin transactions
remains a challenge a scenario in point is when a user receives 100 btc from another user to form a 100 BTC UTXO. It's like putting and locking the 100
BTC in a box with a key that only the user's private key can unlock. In reality, these 100
BTC may be composed of other locked UTXO boxes, e.g. 425 BTC UTXO boxes, or other combinations.
When that is the case, each operation results in a Bitcoin unspent output, UTXO boxes, or other combinations. When that is the case, each operation results in a Bitcoin
unspent output, UTXO, since it can only store the contained value of its BT can't cannot store more
data or have more scalability. This is unlike the account model which simply updates the state of
the balance. Nervous CKB inherits Bitcoin's UTXO architecture and has created the cell model,
a generalized UTXO model for state storage that maintains UTXO's simplicity and consistency.
With CKB, all states are stored in cells while computations are written off-chain,
and nodes perform transaction verification to and publish in-chain.
Inspired by the Bitcoin UTXO model, the cell model defines the behavior
of each cell within NervousCKB and the process of updating the data it contains. Like Bitcoin UTXO,
a cell is immutable once formed. Once cells are added to the chain, no changes can be made.
Updating the data within a cell requires a process called spending, similar to how Bitcoin UTXO transfers are
implemented by spending. This involves using the updated data to create a new cell and then adding
it to the chain, similar to the formation of a new Bitcoin UTXO, fourth spent output. Likewise,
each cell can only be spent once. Unlike Bitcoin's UTXO, a cell can contain various data types, such as CK bytes, tokens, JavaScript code, or JSON strings, which broadens the capabilities of cells, thus extending the potential of UTXO, for instance, enabling smart contracts, even customized ones, such as issuing NFTs, limiting token supply, and setting conditions to meet unique needs.
Put another way, a cell is like a smarter UTXO.
That is, if Bitcoin's UTXO is a box holding a paper ledger, then a cell is like replacing
the paper ledger with an Excel spreadsheet.
It's important to note that the cell model separates the computation and verification
of smart contract execution.
Computation occurs off-chain, generating new data,
which is then verified on-chain by network nodes. In the cell model, the execution of smart contracts
is parallel, i.e. each transaction runs independently in its virtual machine, with multiple virtual
machines running simultaneously. Transactions in the cell model are highly flexible and efficient,
allowing multiple smart contract operations to be batched into a single transaction,
thus minimizing transaction and processing fees. Source. CKB Dapps.com The aforementioned
off-chain computation and on-chain consensus model is quite popular, such as the RGB protocol
in BTC extension protocols, which involves off-chain computation
and submits the consensus transaction results to the Bitcoin chain. This protocol is essentially
similar to the Lightning Network. On this basis, the RGB++ protocol has been developed,
utilizing one-time seals and client-side verification, CSV, technology to manage
state changes and transaction verification.
It isomorphically maps Bitcoin UTXOs to Nervous CKB cells, using the script constraints on the
CKB chain and Bitcoin chain to verify the correctness of state computations and the
validity of ownership changes. This benefits from seamlessly integrating UTXOs features between
Bitcoin and Nervous CKB. RGB++ not only implements enhanced
client-side validation, transaction folding, and shared state across contracts, but also introduces
Turing-complete smart contract scalability and performance extensions to Bitcoin without the
need for cross-chain transactions and without compromising security. UTXO uniqueness to foster a unique Bitcoin ecosystem? There was a time when
Bitcoin's UTXO and Ethereum's ERC-20 seemed to have a classical versus modern difference.
That is changing with Ordinals and Runesmaking ACID deployment based on UTXO possible and Nervous
CKB's upgrade of UTXO further liberating computational power though they are still
at their early stages. These developments hint at the unique potential applications of UTXO further liberating computational power though they are still at their early stages.
These developments hint at the unique potential applications of UTXO,
which seem more interesting and have become a new expectation in the industry.
UTXO is both the root of Bitcoin's security and reliability, anti-double spending,
traceability, etc., and, due to scalability issues, limits the development of the Bitcoin ecosystem, which is still unable to reach the rich ecosystem scenarios of Ethereum's DeFi,
NFT, and Metaverse. However, its uniqueness stands to foster a new ecosystem going by
Bitcoin's recent innovations receiving significant market attention as a bold indicator of market
confidence for UTXO potential. With the fluctuating hype after the emergence of runes and
ordinals, we believe that the characteristics of UTXO have the potential to inspire a different
ecosystem paradigm, and we look forward to the early emergence of such a paradigm soon.
Info Disclaimer The development of blockchain technology and related projects is still in the
early stages, with risks of not meeting expectations. The actual
operation of blockchain and Web3 projects involves various financial, network, and other regulatory
policies. Currently, regulatory policies in various countries are still in the research
and exploration stage without a mature regulatory model, posing risks of regulatory uncertainty.
Tip by Jiajie Song in Hei Ren. Researchers at Guoxing Securities.
Thank you for listening to this HackerNoon story, read by Artificial Intelligence.
Visit HackerNoon.com to read, write, learn and publish.