facebook_sharetelegram_sharetwitter_shareline_share

加密快訊

Why Should You Care About Bitcoin』s OP_CAT? The Biggest Narrative After Lightning Network

2024.09.20 10:39

Written by: Jaleel plus six, BlockBeats


At the beginning of this year, when I wrote "13 lines of code to help Bitcoin realize smart contracts? Read OP_CAT soft fork", OP_CAT was still an unfamiliar term to many people. If it weren't for the Bitcoin NFT project Taproot Wizards using meme culture to launch the Quantum Cat series NFT to promote OP_CAT, few people would know this seemingly boring technical concept.


But just half a year later, OP_CAT has become very popular and is even regarded as the next "Lightning Network". The recently popular Fractal Bitcoin network is actually the code implementation of OP_CAT in Bitcoin. The token FB tripled or quadrupled in a few days after it went online. Therefore, in the Bitcoin ecosystem, multiple OP_CAT-based protocols were born in just one day, such as CAT20 on the Fractal Network, which also focuses on the concept of OP_CAT. During the days of casting, the GAS of the Fractal Network was once pulled to more than 5,000. At present, the price of a CAT in the over-the-counter market is around $5.5, and there are even very few orders without a market. Early minters have achieved 5 to 20 times of increase. And Quantum Cat has been able to maintain a price of 0.25BTC, becoming a blue chip of Bitcoin NFT.


It seems that as long as it touches OP_CAT, this thing can pull the market.


Not only is the community "self-entertained", the OP_CAT technology is also discussed a lot among Bitcoin developers. I looked through this year's Bitcoin Optech newsletter and Bitcoin developer conferences, and OP_CAT frequently appeared in the discussion and is a regular.


Currently, the OP_CAT Bitcoin BIP draft jointly released by Bitcoin Core developers Ethan Heilman and Armin Sabouri has now been officially named BIP347. Many heavyweights in the Bitcoin field, such as Lightning Network white paper author Tadge Dryja, Lightning Labs CTO Olaoluwa Osuntokun, the main developer of the Lightning Network, and Blockstream Research Director Andrew Poelstra, have shown great support for OP_CAT.


Why do Lightning Network developers favor OP_CAT?


To understand this phenomenon, we have to start with the Lightning Network. In 2011, Satoshi Nakamoto mentioned the prototype of the Lightning Network in an email. As a key solution for Bitcoin expansion and payment speed improvement, the Lightning Network has attracted a lot of attention from developers since its birth.


In the past two years, the concept of "Bitcoin ecology" has gradually gained momentum, and various Bitcoin expansion solutions such as side chains and virtual machines have sprung up, attracting many investors, but in the eyes of those senior Bitcoin developers, they are not mainstream and difficult to be accepted by the public. After all, the Lightning Network is currently the best "payment channel" in Bitcoin in the eyes of the public, and it is also one of the few "posthumous children" of Satoshi Nakamoto and the "son of orthodoxy" in the spirit of the Bitcoin community. Related reading: Seven years of hard work, the origin and challenge of the orthodoxy of the Lightning Network.


However, things have changed dramatically in the past year. Several developers have announced their withdrawal from work related to the Lightning Network, and voices denying the Lightning Network have been heard one after another, especially from some senior developers. Fiatjaf, the founder of Nostr, is even more blunt: "The Lightning Network is defrauding Bitcoin users of their time, energy and money for six years."



Against this background, some developers are looking for the next "Lightning Network". And OP_CAT, is believed by many Bitcoin developers to be the next major breakthrough for Bitcoin after the Lightning Network. Because OP_CAT is very technical, before discussing what OP_CAT is and what OP_CAT can do, let's first get to know the Bitcoin developers who favor OP_CAT.


Bitcoin developers who support OP_CAT


Lightning Network White Paper Authors


Tadge Dryja is one of the authors of the Lightning Network White Paper. In 2015, Tadge Dryja and another Lightning Network White Paper author, Joseph Poon, founded Lightning Labs under the leadership of Elizabeth Stark. Standing on equal footing with another Bitcoin Lightning Network company, BlockStream, the biggest difference between the two is that Lightning Labs uses the Go programming language, while Blockstream uses the C programming language.


However, at the end of 2016, Tadge Dryja had disagreements and quarrels with the Lightning Labs team, so just one year after Lightning Labs was founded, Tadge Dryja chose to leave and joined the Digital Currency Initiative Community (DCI) at MIT to continue his research on the Lightning Network. At MIT DCI, he participated in multiple research projects, mainly focusing on the scalability and interoperability of cryptocurrencies and smart contracts. This included the development of the Utreexo project, a new Bitcoin scalability technology designed to make Bitcoin nodes smaller and faster. In 2022, Tadge Dryja joined Lightspark as a senior research scientist. At Lightspark, he continued to solve the scalability problems of Bitcoin and blockchain, using his expertise as a co-inventor of the Lightning Network.


It is precisely because of his profound attainments in Bitcoin smart contracts and scalability technology that Tadge Dryja discovered the potential of OP_CAT early on, and has been supporting the testing of OP_CAT on the Bitcoin test network, and encouraging developers to try to "break" OP_CAT to discover its potential problems.



Lightning Labs CTO


Olaoluwa Osuntokun (Roasbeef) is another co-founder and CTO of Lightning Labs, and is also an outstanding Bitcoin developer who has made important contributions to the research and development of the Lightning Network. It can be said that the early team of Lightning Labs is not inferior to Blockstream.



Speaking of Olaoluwa Osuntokun, we have to mention the "gentleman's dispute" between him and Tadge Dryja. Interestingly, a big reason why Tadge Dryja left Lightning Labs was Olaoluwa. When Tadge Dryja worked at Lightning Labs, the first version of the protocol he developed was called LIT, which was not compatible with BOLT developed by Blockstream, but Olaoluwa's was compatible, so it gradually gained recognition and favor from more developers, completing the latecomer's victory, which to some extent accelerated Dryja's departure.


However, history is always full of drama. Today, these two "arch-enemies" from Lightning Labs are now jointly supporting OP_CAT.


Blockstream Research Director


There seems to be a rumor among the people that Blockstream is the "talker" behind Bitcoin. Such rumors are not groundless. In 2014, Adam Back, the "Father of PoW", gathered many well-known early Bitcoin developers such as Matt Corallo, Greg Maxwell, and Pieter Wuille to establish Blockstream, and in the subsequent Bitcoin expansion war, he clearly stood on the platform and promoted the Lightning Network, which gave the Lightning Network its current status.


And currently, in the discussion about OP_CAT, Andrew Poelstra, the head of research at Blockstream, is also a person who can never be avoided. Andrew Poelstra is the director of research at Blockstream and a senior Bitcoin cryptography script developer. His influence in the industry is self-evident. As early as January 30, 2021, he wrote an article titled "CAT and Schnorr Tricks I" in which he discussed OP_CAT, pointing out that combining OP_CAT with CHECKSIGFROMSTACK can provide a clever way to introspect transactions.



Although Blockstream has not created a separate blockchain for OP_CAT, they have provided support for the testing of OP_CAT through Bitcoin Inquisition, a test network for evaluating new Bitcoin features. This is like building a safe "training ground" for OP_CAT, allowing researchers to carefully observe its performance under real-world conditions.


Andrew Poelstra also compared OP_CAT with other solutions such as OP_CTV, pointing out that OP_CAT provides broader flexibility, while OP_CTV is more narrowly focused on non-recursive smart contracts.


BIP 347 Proposal Writer


In the promotion of OP_CAT, Bitcoin developers Ethan Heilman and Armin Sabouri have made a significant contribution. They jointly wrote and promoted the OP_CAT proposal, which has been formally designated as BIP 347. This proposal aims to redefine the opcode OP_SUCCESS126 through a soft fork in order to re-enable OP_CAT.


Armin Sabouri has focused on the improvement of Bitcoin script and consensus layer in the past. He believes that although OP_CAT is not the final solution, it provides the possibility of realizing various new functions and is an important step in the improvement of Bitcoin script.


And Ethan Heilman is also the one who influenced Andrew Poelstra's ideas. It was in a private communication in the fall of 2019 that they changed their minds about the so-called Bitcoin smart contract function that did not support Andrew Poelstra. Ethan Heilman pointed out that despite people's concerns about the so-called Bitcoin smart contract functions, these smart contracts that are considered harmful can actually be implemented through CHECKMULTISIG. To prove this, Ethan Heilman launched a challenge on social media, encouraging people to come up with feasible "dark" smart contracts, but no one has succeeded so far.


StarkWare


StarkWare is a company focused on developing blockchain expansion technology, and is particularly good at using zero-knowledge proof (ZKPs) technology to enhance the privacy and efficiency of transactions. The company is committed to outsourcing complex calculations from main chains (such as Ethereum) to secondary networks without sacrificing security and decentralized features. In this way, StarkWare solves the scalability problem of blockchain while maintaining the transparency and verifiability of transactions.


StarkWare's activities to promote OP_CAT stem from its interest in Bitcoin network expansion and smart contract functions. OP_CAT is a Bitcoin opcode that allows more complex transactions and contracts to be executed on the Bitcoin network through the concatenation of data. By enabling OP_CAT, StarkWare attempts to implement Ethereum-like smart contract capabilities on Bitcoin, thereby expanding Bitcoin's use cases and enhancing its functionality.


In July 2022, StarkWare launched a $1 million research fund specifically for studying the pros and cons of enabling OP_CAT on Bitcoin. This fund is intended to fund researchers and developers who have insights into how to safely and efficiently implement OP_CAT on Bitcoin.


In addition, StarkWare has demonstrated the potential of implementing zero-knowledge proofs with OP_CAT in Bitcoin』s test environment, specifically on Signet. This work shows how OP_CAT can be used to implement more complex operations on the Bitcoin network, such as the application of zero-knowledge proofs, which are key parts of smart contract functionality. StarkWare has also recently established a partnership with sCrypt to explore the design of a PoC (proof of concept) bridge built on OP_CAT and ZK magic, which shows that StarkWare may also launch an OP_CAT-related protocol in the near future.


Others


Several other developers are not so well-known, so we will talk about them together.


Salvatore Ingala, who has been deeply involved in Bitcoin payment pools and smart contracts, proposed a solution to use OP_CAT to optimize the payment pool exit process, believing that this can significantly reduce on-chain data and operation costs. Ingala sees OP_CAT as a potential plug-in for other Bitcoin scaling strategies, such as Arc and Coinpools, and even future Bitcoin Optimistic rollups, to improve efficiency and security.


Anthony Towns is one of the lead developers of Bitcoin Inquisition, a testnet-like but more flexible tool for testing Bitcoin protocol changes that are not yet widely accepted. Towns pushed for the activation of OP_CAT on the Inquisition platform, providing a safe "testing ground" for OP_CAT. Although Towns recognizes the importance of OP_CAT in testing new features and exploring the capabilities of Bitcoin Script, he is cautious about adding too much programmability to Bitcoin, fearing that it could increase the risk of Bitcoin being censored or controlled.


Robin Linus, the creator of BitVM, believes that the reintroduction of OP_CAT provides a powerful tool for Bitcoin, especially to support projects like BitVM, which make it easier and more efficient to verify arbitrary computations on Bitcoin. With the implementation of OP_CAT, the Bitcoin ecosystem is able to create more general and expressive smart contracts, promoting a more functional and practical blockchain environment. Related reading: "To calculate anything on Bitcoin, what do senior developers think of BitVM? "


Why is the development of the Lightning Network so concerned?


The developers of the Lightning Network have shown such a strong interest in OP_CAT. What is the mystery behind this? To understand this, we need to first understand the nature of OP_CAT.


What is OP_CAT?


OP_CAT is an opcode in Bitcoin script that is used to splice data fragments on two stacks into a larger element. Although its function seems simple, it can provide more smart contract capabilities for the Bitcoin network, allowing developers to create and process more complex data and transaction logic.


OP_CAT is not a new opcode. It existed in the early versions of Bitcoin, but it was disabled in later versions due to security and complexity concerns. However, as Bitcoin continues to develop, more and more developers believe that it is time to re-enable OP_CAT. For more information, see: 13 lines of code to help Bitcoin realize smart contracts? Understanding OP_CAT soft fork


But why does this seemingly simple operation cause such a big discussion among Bitcoin developers? One of the key reasons is that it can significantly improve the smart contract capabilities of the Bitcoin network, allowing developers to implement some functions that are more complex or even impossible to achieve in the current Bitcoin script.


OP_CAT's application potential in payment


OP_CAT has shown great application potential in payment systems, especially in off-chain protocols and payment channel networks. Its re-enabling will greatly improve the operating efficiency of these systems and reduce the burden of on-chain transactions. The main functions of OP_CAT after implementation include:


Multisig optimization: In multi-signature scenarios, OP_CAT can help users merge multiple signatures and combine them into a single data block, reducing the number of signatures that need to be submitted. This not only saves on-chain space, but also reduces transaction fees. Multi-signature is very important in Bitcoin's payment security and shared account management, especially in applications such as the Lightning Network, OP_CAT can make this process more efficient.


State Contracts: OP_CAT can also be used for state contracts. This type of contract is a form of smart contract that can maintain status across multiple transactions. Through OP_CAT, developers can splice together the status information of different transactions to implement more complex contract logic on Bitcoin. For example, some complex payment protocols or distributed applications (such as lotteries, gambling, or other complex financial products) need to maintain a certain state between multiple on-chain transactions, which can be achieved through OP_CAT.


Expandability of payment channel network: Another important application scenario of OP_CAT is a payment channel network similar to the Lightning Network. In a payment channel network, users usually make a large number of micropayments off-chain, and only on-chain for final settlement. The splicing function of OP_CAT can make the intermediate transactions in the payment channel more effectively managed and verified. By splicing different payment requests together, users can perform more complex payment operations without increasing the burden on the chain. In this way, the throughput and efficiency of the payment channel can be significantly improved.


With the advancement of the BIP347 proposal, and more developers and researchers joining the exploration of OP_CAT, we have reason to believe that this once-shelved opcode will bring new vitality to the Bitcoin network. Just as the Lightning Network has gone from concept to mainstream, the re-enabling of OP_CAT may also become the next key milestone in Bitcoin expansion and payment innovation.

你可能想知道