CKB ecosystem leader Baiyu: The RGB++ protocol is an independent layer protocol, and the future of RGB++ is limitless
On April 2, Baiyu, the head of the CKB ecosystem and the founder of SeeDAO, was invited to participate in an AMA in the official Binance Chinese group. Baiyu provided over 160,000 users in the group with a detailed introduction to the Bitcoin Layer 1 asset issuance protocol RGB++ and CKB's plans for this year. The content was very rich, and we welcome those who missed this AMA to read this written summary.
Here are the main points from the AMA:
1. Why did the team initially decide to create the RGB++ protocol?
We believe that the key to the competition in Bitcoin's Layer 2 lies in Layer 1, and the core of Layer 1 competition is new protocols. We categorize new protocols into two types: one that utilizes UTXO characteristics and one that does not. Based on this, we chose protocols with UTXO characteristics, such as Atomicals, RGB, and Taproot Assets.
We decided to choose the RGB protocol because Cipher has a strong personal interest in RGB and has conducted in-depth research with Teacher Aijian. The RGB protocol is elegant and has many advantages, especially its ability to provide almost uncompromising scalability for Bitcoin. However, after so many years, it has not been widely adopted. The reasons are that the RGB protocol has multiple technical and product issues in practical applications, such as interactive operation issues, data availability (DA) issues, interoperability issues, and smart contract/script execution environment issues, among others.
Then we realized that this is exactly what we at CKB have been working on for the past four years. The difficulties or disadvantages of the RGB protocol can actually be solved directly on the blockchain, such as not relying on anyone's P2P network, sharing data, having a virtual machine that can verify transactions, and providing a non-interactive operational experience. This was also the earliest core idea of RGB++.
2. Can you briefly introduce what the RGB++ protocol is?
First of all, RGB++ is a Layer 1 asset issuance protocol for Bitcoin, at the same level as asset protocols like Ordinals, Runes, and BRC20. Our advantage lies in protocol design and technical level, which is the accumulation of years by the CKB team. The original RGB protocol required exchanging transaction history and data through a P2P network, which included using a new virtual machine and defining interactive logic, making off-chain logic complex and development slow. RGB++ aims to move all "smart" components from the original RGB protocol, such as P2P networks, virtual machines, and smart contracts, onto the chain through isomorphic binding. In other words, RGB++ delegates the tasks that the off-chain client verification of the original RGB protocol needs to do to a Turing-complete, UTXO model-based, PoW consensus mechanism CKB blockchain.
Many people easily confuse RGB++ with the RGB protocol; in fact, they are two different concepts. RGB was initially proposed by Peter and is currently mainly managed by the LNP/BP Association and Dr. Maxim, who expanded it using the concept of one-time sealing. RGB++ introduces the possibility of other UTXO chains serving as RGB++ clients, with its core contribution being the concept of isomorphic binding. From CKB's perspective, we plan to be compatible with more protocols in the future.
3. What are the advantages and disadvantages of the RGB++ protocol?
RGB++ has many advantages, such as:
- Non-interactive transactions: RGB++ utilizes CKB's characteristics as a data hosting and computing platform, allowing both parties in a transaction to complete transfers asynchronously and non-interactively, resulting in a more user-friendly experience.
- Transaction folding: RGB++ can correspond multiple CKB transactions to a single Bitcoin RGB++ transaction, allowing the low-speed, low-throughput Bitcoin chain to be scaled using the high-performance CKB chain.
- BTC assets can interact directly with CKB chain assets without cross-chain: After RGB++ establishes the associative mapping between Bitcoin UTXO and CKB Cell, it can achieve interoperability without asset cross-chain.
There are certainly many areas for improvement. First, the entire UTXO ecosystem is just getting started, as the focus has previously been on EVM, so early developers may find it a bit challenging to adopt Bitcoin programming. However, once they accept BTC script programming, CKB is significantly simpler than Bitcoin. Secondly, RGB++ uses CKB as a client, and its privacy is currently not as good as RGB; we will introduce technologies similar to ZK to add privacy to RGB++ transactions in the future.
4. How friendly is the RGB++ protocol to developers?
In fact, whether it is RGB or RGB++, the main work for developers is done off-chain, not on the Bitcoin chain. For RGB, most of the developer's work involves how to assemble RGB transactions, how to generate RGB proofs, and how to write contracts on RGB, etc. The tasks on RGB++ are similar, but many issues are directly resolved by the CKB blockchain.
Taking DEX as an example, it becomes about how to create a DEX that can accept RGB++ assets on CKB, and the development difficulty is not much different from developing other contracts on CKB. Currently, the development tools on CKB are relatively complete, and a skilled developer can get started after a few days of learning.
The Bitcoin mainnet is not Turing-complete and cannot run complete smart contracts, but CKB is a UTXO-based smart contract platform, so it brings Turing-complete smart contracts to RGB++ assets. It can even implement an AMM similar to Uniswap on CKB, allowing users to create pools and explore various meme gameplay in the BTC ecosystem.
RGB++ assets can operate without cross-chain bridges, so developers do not need to consider cross-chain issues, which is also an advantage. Additionally, in response to many developers wanting to create BTC L2, we are preparing a UTXO Stack around RGB++, similar to OP Stack, which can launch chains with one click and comes with RGB++ asset capabilities, allowing direct interaction with BTC L1.
5. When will the RGB++ protocol go live, and what are the future plans?
The RGB++ protocol has already been deployed on the BTC testnet, and testing is currently very active, with high attention from the inscription community. As far as I know, many friends from studios are preparing for it. We welcome everyone to experience this different BTC protocol. The mainnet launch will happen in the coming days. It is also a coincidence that I am here to share today, as the team is working overtime on development.
In addition, there will be necessary infrastructure such as L2 DEX, wallets, and browsers that support RGB++ assets. After the mainnet launch, we expect many projects to use RGB++ to issue Layer 1 assets for Bitcoin, which may present many good opportunities, so we encourage everyone to stay tuned.
In the future, we will also release a series of SDKs, conduct code audits and open-source initiatives, and carry out scalability research, etc. We have already released the roadmap for RGB++, and specific milestones can be viewed in the roadmap below:
Finally, we welcome everyone to follow the Twitter account of CELL Studio (@ckbcell) to get the latest updates on RGB++ in real-time.
6. What does the isomorphic binding concept proposed by CKB co-founders mean, and how do you plan to implement it?
This is a very good question and is quite technical. I am not a developer, but I can try to briefly introduce it.
Every Bitcoin transaction has an output, and every RGB transaction requires the Bitcoin output to include an OP_RETURN that contains some hash data, referred to as a commitment. If this commitment happens to be the hash of a transaction on another public chain, and the inputs and outputs of that transaction are isomorphic to the inputs and outputs of the Bitcoin transaction, and if the UTXO on that chain has Turing-complete computational and state storage capabilities, then the Bitcoin transaction is completely bound to the transaction on that chain.
The CKB blockchain meets these conditions, so executing a Bitcoin transaction is equivalent to executing that transaction on the CKB chain, and the state change of the Bitcoin transaction is equivalent to the state change of that transaction on the CKB chain, while adhering to the contract constraints on CKB. This is the isomorphic binding technology. Of course, there are many technical details involved, such as how to ensure the consistency of these two transactions and how to prevent double spending, etc. I won't elaborate here, but interested friends can read the RGB++ Light Paper, which contains detailed diagrams and examples: https://talk.nervos.org/t/rgb-protocol-light-paper/7733
7. Can RGB++ be compatible with the Lightning Network, and why did CKB choose to deploy RGB++?
RGB++ can be compatible with the Lightning Network, and we are also considering collaborating with the Lightning Network team, although they mainly focus on payments and limited scripting capabilities. However, this depends on the progress of the BTC Lightning Network protocol, and theoretically, it is easy to integrate RGB++. We believe that bringing these functionalities to CKB and empowering it at the smart contract level is the most appropriate approach.
Additionally, CKB will also build its own Lightning Network, which will later connect with the Lightning Network on Bitcoin.
As for why CKB chose to deploy RGB++, CKB is an open, permissionless public chain where anyone can deploy any protocol. As mentioned in previous answers, RGB++ was inspired by the RGB protocol, and the approach is to replace the client verification in the original RGB protocol with blockchain. So, which blockchain should be used to replace client verification? This blockchain must meet the following requirements: UTXO model, Turing-completeness to support smart contracts, and preferably a PoW mechanism to ensure security. With these criteria, only CKB remains on the market, so RGB++ chose CKB.
It is important to emphasize again that the RGB++ protocol originates from CKB, but it is an independent Layer 1 protocol. The future of RGB++ is limitless, aiming to become the ERC20 standard for Layer 1 of BTC and expand BTC.
8. What are CKB's plans for 2024?
As the head of ecology and market, I will briefly introduce CKB's plans for this year from the product and market perspectives.
Currently, the most important aspect is the RGB++ protocol, whose contract code has been deployed and is undergoing intensive testing. Interested friends can also participate in the testing of the testnet; specific information can be found on CELL Studio's Twitter. After completing RGB++, we may consider supporting other UTXO protocols, such as Atomicals and Taproot Assets. Additionally, we plan to implement support for BRC20 or other assets through the inscription bridge, and we are looking for partners to build these inscription cross-chain bridges.
In addition to RGB++, there is also the Spore protocol for creating digital objects across the entire chain. The first project based on the Spore protocol is Unicorn, launched by the SeeU community, which is about to start its mapping. The Spore protocol will give rise to many gameplay options, so stay tuned. We look forward to bringing a full-chain game to the Bitcoin world, Autonomous Worlds, from DOB------Game------AW.
In the future, we will also launch UTXO Stack services to support one-click launching of UTXO chains, helping other project parties quickly build a Bitcoin L2. Chains launched through UTXO Stack can use RGB++ to interact with Layer 1 assets on BTC.
Furthermore, the team led by Jan is researching the Lightning Network, and we plan to build a Lightning Network on CKB, which will connect with the Lightning Network on Bitcoin. We expect good news to come out by the end of the year, and this progress is currently exceeding expectations. An MVP Demo is expected in the third quarter. The theoretical challenges have been resolved, and what remains are engineering issues.
From a market perspective, we held Bitcoin Singapore in March, and in early April, we will co-host a Bitcoin-themed conference with Wanxiang and Bitcoin Magazine at the Wanxiang Blockchain Summit in Hong Kong. During Token2049, we will also participate in some events in Dubai, hoping to communicate with friends from Binance on-site. We will also hold some events in Korea, Vietnam, Japan, and other places, and we will go to North America to conduct some activities to connect the overseas community with the Chinese community.
9. How can the RGB++ super protocol ensure the security of users' transactions?
The security of RGB++ can be discussed in two scenarios.
The first scenario is Layer 1 transactions, where the "holder" of the RGB++ transaction's UTXO is the Bitcoin UTXO. That is, only by consuming Bitcoin UTXO can one operate or update the RGB++ UTXO. In this case, although each RGB++ transaction synchronously initiates a CKB transaction, its security is unrelated to CKB, which is only used for data availability and state public disclosure. In this scenario, the security of RGB++ Layer 1 transactions fully inherits the security of Bitcoin, which is the longest-running and most secure PoW chain to date.
The second scenario involves leaping assets issued through RGB++ from the Bitcoin chain to the CKB chain. The leap operation is conducted through contracts, not through traditional multi-signature bridges. The risk point of the leap lies in block reorganization, which can be avoided by waiting for a few more block confirmations. On the Bitcoin chain, six block confirmations are considered irreversible. The relationship between PoW confirmations and security is not linear; the difficulty of overturning PoW blocks increases exponentially with the advancement of blocks. Therefore, to achieve the same level of security as six block confirmations on Bitcoin, approximately 24 block confirmations are needed on the CKB blockchain, and the average block time for CKB is about 10 seconds, making the time for 24 block confirmations significantly shorter than that for six block confirmations on Bitcoin.
After the assets leap to CKB, subsequent transactions are referred to as Layer 2 transactions, which occur 100% on CKB, and their security is the responsibility of CKB. CKB has adopted the same, time-tested PoW consensus mechanism as Bitcoin from the beginning, maximizing security and decentralization. Currently, the mining machines used for CKB are produced by Bitmain, the world's largest ASIC mining machine manufacturer, and CKB's current total network hash rate exceeds 300 PH/s, setting a historical high. It is extremely difficult to forge or reconstruct a PoW chain because it requires recalculating the hash power of each block, so we can trust the security of the CKB blockchain.
10. Does RGB++ only serve to connect Layer 1 and Layer 2?
No, RGB++ not only helps users issue assets on Bitcoin Layer 1, but the issued assets can also leap to the CKB chain, which is Turing-complete. Therefore, assets issued through RGB++ can also participate in dApps and DeFi applications on CKB.
The isomorphic binding technology proposed by RGB++ can also bind or map assets issued by Layer 1 asset issuance protocols like Runes, Atomicals, and Taproot Assets to CKB's Cells, providing these assets with Turing-complete contract extensions and performance enhancements without cross-chain and without compromising security.
Open Q&A Session
Q1: What is the vision of RGB++? How does it shape a new model for Bitcoin Layer 2 assets?
The vision of RGB++ is to help BTC become the best asset issuance platform. On the ETH network, the market value of ETH is about 400-500 billion USD, and the value of ERC20 and NFT assets is also in the hundreds of billions. However, due to historical, cultural, and technical reasons, Bitcoin's Layer 1 assets only amount to tens of billions. If we estimate 30%, there is still room for several hundred billion in asset issuance. Therefore, the core of RGB++ is to become a Layer 1 standard, helping projects issue assets and communities launch fairly, easily connecting with other BTC Layer 2s.
RGB++ will soon become independent, with a separate open-source association to update and maintain the RGB++ protocol. We believe that Bitcoin Layer 1 can become the best asset issuance platform!
Q2: What advantages does CKB have in the competition of Bitcoin Layer 2? What are the future plans?
CKB Layer 2 is a native UTXO+PoW solution that utilizes RGB++ to bring a new paradigm to Bitcoin Layer 1. This is the advantage we have accumulated over the past four years, and all our strategies are open and transparent, but they are difficult to replicate in the short term in the market. Our understanding of BTC is as follows, and we have four directions planned for the end of the year:
RGB++ ecosystem. From issuing NFT+FT assets on Layer 1 to developing dApps on CKB Layer 2, similar to Uniswap and PSBT applications, and then using our UTXO Stack to create BTC Layer 2 Appchains. This is a complete product line. We will support the ecosystem. Currently, OpenStamp is using UTXO Stack to launch a BTC Layer 2 chain, and they have just completed financing.
Full-chain gaming ecosystem. Surrounding our innovative Spore DOB protocol, we aim to create a completely different philosophical universe on the entire chain. From digital objects to on-chain games to autonomous worlds. We hope everyone can find meaning and belonging while playing in Web3 games. We will also support this ecosystem.
Integrating social protocols with Nostr, and even combining with RGB++, to incorporate native asset transfer and payment in Web3 social protocols. There are teams developing in this area.
Our biggest move this year, and the crown jewel of the entire Bitcoin world: the Lightning Network + stablecoins. We plan to launch CKB's Layer 2 Lightning Network in the second half of the year.
Q3: Does the CKB team focus more on technological development, or will they promote and market to expand market awareness?
First of all, the Chinese-speaking community, and even the global Web3 community, should not doubt the technical strength of the CKB team. We have survived solely on this advantage until this wave of market growth. We will continue to focus on technology, following the native technical path of Bitcoin and expanding the Bitcoin ecosystem.
Of course, in the past, we have been overly focused on technology, being perceived as too "pure," nerdy, and disconnected from the market. This is something we need to change. We must stand tall! At the beginning of the year, I personally joined CKB as the head of marketing to turn this situation around, finding a balance between technical persistence and market promotion. Good technology paired with good marketing brings value to everyone!
Based on my answers regarding our market arrangements this year, and considering that CKB has increased sevenfold since the beginning of the year, reaching as high as tenfold at one point, I believe everyone is noticing our changes. We look forward to your continued attention to CKB.
Q4: Does CKB have any internal testing or testing activities for upcoming projects?
This question is about how to engage with the CKB ecosystem. It may not be a wealth code, but I want to share some CKB ecosystem projects that I am following.
First, the first token of the RGB++ protocol is currently very popular in the market, and everyone is paying attention. In Bitcoin Layer 1 protocols, "first is first" is very important, so everyone can keep an eye on it.
Secondly, we previously launched the Spore DOB protocol, which is an upgrade similar to NFTs. There are community projects that have created Unicorn Box, totaling 2,105 pieces, and they have many gameplay options. The Nervape white list is also very popular right now.
The UTXO Stack project will soon announce financing news, so everyone can follow its future development. It will be similar to BTC's OP+EigenLayer, with staking and re-staking features.
Finally, of course, keep an eye on the CKB native token, and we welcome everyone to trade it on Binance. By the way, we may also launch a CKB PoW mining pool together with Binance, so stay tuned!
Q5: I am researching NFTs, Web3, virtual worlds, and blockchain games. Can you tell me what advantages CKB will have in this field in the future?
This question seems to be from a developer, which aligns with the developers we need. Please DM me, and I will answer it.
To be honest, I personally had high expectations for Ethereum's biggest opportunity in this bull market, which is AW (Autonomous Worlds). I believe AW is an upgrade of the metaverse and a new world that everyone with Web3 ideals truly wants to build. However, due to Ethereum's overall poor performance in this round and the past emphasis on various financial aspects while neglecting gameplay and genuine social needs, AW is currently very sluggish, but this presents an opportunity for Bitcoin.
CKB has proposed a concept different from NFTs—Digital Objects, abbreviated as DOBs. We believe Bitcoin's uniqueness lies in its UTXO model, which is physical and simulates the physical world. There should also be digital objects on the chain that can exist without relying on additional facilities. Digital objects can be born and die, overcoming the infinite replication characteristic of copies. Spore DOBs will have the latest developments soon, so stay tuned.
In summary, we will focus on issuing DOBs using RGB++ on Bitcoin Layer 1, and these DOBs will build communities similar to Loot, as digital objects are naturally composable, can cross chains, and can build games without permission, ultimately forming diverse AWs where everyone can thrive together.
We will invest resources and energy in the Game and AW tracks, and teams are already developing in this area, so feel free to contact us.