banner
CKB 中文

CKB 中文

CKB 是理想的比特币 Layer 2

10 Minute Quick Start Guide to the RGB++ Protocol and Its Gameplay

Since its deployment on the Bitcoin mainnet in early April, in less than a month, over 300 types of encrypted assets have been issued through the RGB++ protocol. The number of holding addresses for the first RGB++ asset, SEAL, has reached 16,850, with a total transaction volume of over 180 BTC.

In addition, the ecosystem development of RGB++ has also begun to take shape, with necessary infrastructure such as wallets, browsers, DEX, Launchpad, and asset managers available.

However, there are still many people who are not familiar enough with the RGB++ protocol and its gameplay, and they don't know where to start if they want to participate. Therefore, this article will be divided into three parts today. The first part will introduce the relevant knowledge of the RGB++ protocol in plain and understandable language. The second part will introduce the ecosystem and gameplay of RGB++. The third part will be a FAQ section, hoping to help everyone get started quickly.

Basic Knowledge of the RGB++ Protocol#

1. What is the RGB++ protocol? Is it the same as the RGB protocol? What is the difference from the recently launched Runes protocol?#

The RGB++ protocol and the RGB protocol are two completely different protocols. The author of the RGB++ protocol is Cipher, who is also a co-founder of CKB, while the RGB protocol is mainly led by Dr. Maxim Orlovsky.

The positioning of RGB++ is a Bitcoin layer-one asset issuance protocol, which means that you can use the RGB++ protocol to issue encrypted assets on the most secure and consensus-strong Bitcoin blockchain. After issuing the assets, when you transfer the assets to others, the recipients do not need to run their own clients for verification. This is because the assets issued through the RGB++ protocol will generate corresponding shadow assets on the CKB blockchain. If we use the analogy of physical body and shadow, transferring RGB++ assets on the Bitcoin blockchain is equivalent to the transfer of the physical body, and the corresponding shadow will also move along with it. The movement of the shadow will be verified by CKB blockchain's PoW miners. Therefore, we can trust that as long as the movement of the shadow is correct, the corresponding transfer of the physical body is also correct (of course, you can choose not to trust CKB miners and verify the transfer of the physical body yourself).

The Runes protocol is also a Bitcoin layer-one asset issuance protocol, but there is not much competition at the moment because the market as a whole is small, and it is most important for everyone to expand the market together. Currently, Runes lacks programmability. If it cooperates with RGB++, it will bring a win-win effect: RGB++ can bring programmability to Runes, and Runes can bring more attention to RGB++.

2. The Bitcoin blockchain is congested and the transaction fees are too high. What solutions does the RGB++ protocol provide?#

When minting RGB++ assets, transactions are generated on both the Bitcoin blockchain and the CKB blockchain. The transaction on the Bitcoin blockchain is used to shape the physical body of the asset, while the transaction on the CKB blockchain is used to generate the corresponding shadow. Therefore, when minting, users need to spend more BTC transaction fees (because a small portion is used to purchase CKB and generate the corresponding shadow).

After minting the assets, if you find the Bitcoin blockchain too congested and the transaction fees too high, you can Leap the physical body of the assets to the CKB blockchain. This way, both the physical body and the shadow will be on the CKB blockchain. The average block time of CKB is about 10 seconds, and the transaction fees are very low. One CKB can normally pay for more than 5000 transfers. Therefore, RGB++ assets Leaped to the CKB blockchain can enjoy the high speed and high performance brought by CKB. After completing thousands or tens of thousands of transfers on CKB, you can Leap back to the Bitcoin blockchain.

In addition, the CKB blockchain is Turing complete and can be used to build various DeFi and GameFi applications. This means that RGB++ assets Leaped to the CKB blockchain can also participate in these applications, earn more profits, and achieve a wider range of use cases.

3. What is Leap operation? Is it a cross-chain bridge?#

No, Leap operation does not use any cross-chain bridge or introduce external trust assumptions to Leap RGB++ assets from the Bitcoin blockchain to the CKB blockchain or vice versa.

Common cross-chain bridges involve sending encrypted assets to a multi-signature wallet or contract on one chain and receiving corresponding asset certificates on another chain. The drawback of this approach is its centralization, and users have to trust the operators of the cross-chain bridge not to act maliciously. If a cross-chain bridge is hacked, users' assets may be at risk. For example, in July 2021, the cross-chain asset bridge project ChainSwap was attacked, resulting in a loss of nearly $8 million in assets. In January 2022, Qubit Finance's cross-chain bridge was attacked, resulting in a loss of over $80 million. In February 2022, Wormhole was attacked, resulting in a loss of over $320 million.

Leap operation is a peer-to-peer transfer of assets from one blockchain to another. It is more secure and decentralized.

The Ecosystem and Gameplay of RGB++#

The Ecosystem of RGB++#

The RGB++ protocol was deployed on the Bitcoin mainnet in early April and has now achieved the core functions that the protocol itself needs to cover, including the issuance and transfer of fungible and non-fungible assets, leap operation, SDK, etc.

The ecosystem development of RGB++ has also begun to take shape:

  • Wallets: JoyID, REI Wallet (plugin wallet), etc.
  • DEX: HueHub, Omiga, DEX built into JoyID, and an upcoming AMM DEX
  • Launchpad: HueHub
  • DID: .bit
  • DeFi: Stable++ (stablecoin protocol)
  • Well-known projects: Nervape, SEAL, etc.
  • Others: Haste (RGB++ asset management tool), Metaforo (voting governance tool that supports RGB++ protocol), etc.

The Gameplay of RGB++#

1. How to issue RGB++ assets?

Currently, you can directly use HueHub to issue RGB++ assets.

Open the HueHub website (https://huehub.xyz), connect your wallet (UniSat, OKX, or JoyID), and make sure you have enough BTC in your wallet. Click "Issue a RGB++ token," then fill in the token name, symbol, total supply, quantity to mint each time, and the number of Bitcoin blocks to start minting. After filling in the information, submit and pay the BTC transaction fee. It's very simple and easy to operate.

1

2. How to mint RGB++ assets issued by others?

If the RGB++ assets issued by others have a dedicated minting website, you can directly open the corresponding website and follow the instructions to complete the minting.

The second method is to open the Fair Mint page of HueHub (https://huehub.xyz/fair-mint), connect your wallet, find the asset you want to mint, and click the mint button next to it to start minting.

3. How to trade RGB++ assets?

If you want to trade RGB++ assets on the Bitcoin layer-one, you can directly use the Marketplace on HueHub. To buy, click "Buy Now" in the Market; to sell, choose "List for sale."

If you want to trade RGB++ assets on the Bitcoin layer-two (CKB chain), there are currently multiple options. One option is to use the DEX built into the JoyID wallet, which can be found in the "Market" section of the wallet. Another option is to use Omiga's Marketplace (https://omiga.io/market). Both of these DEXs are order book-based. Community team members are also developing an AMM-based DEX, which is expected to be launched in the near future.

4. How to Leap RGB++ assets from the Bitcoin blockchain to the CKB blockchain?

JoyID wallet already supports the Leap function for RGB++ assets. After logging into JoyID, switch to the Bitcoin network, then open your RGB++ asset (such as SEAL), select "Bitcoin L2 (CKB)" in the send interface, enter the CKB address and quantity, choose the transaction fee, and finally click "Send" and confirm the signature. Here is a video tutorial: https://x.com/joy_protocol/status/1780505146067448176

It is important to note that to ensure security (to prevent blockchain reorganization), the entire Leap process takes about 1 hour. After completing the Leap, the RGB++ assets will be on the CKB blockchain, and you can trade them using the DEX built into the JoyID wallet or Omiga's Marketplace.

5. How to Leap RGB++ assets from the CKB blockchain to the Bitcoin blockchain?

The current version of the JoyID wallet does not support this feature yet. It will be available in the near future, expected before the end of May.

Also, it is currently not recommended to use some tools developed by community members to Leap assets from the CKB blockchain to the Bitcoin blockchain because there is a risk of burning the assets (specific details will be explained later in the article).

FAQ#

1. Why is my transaction not showing in the mempool when minting RGB++ assets or transferring BTC?#

One reason is that the node has not completed broadcasting, which is quite common. If this is the case, just wait for a while.

Another reason is that the transaction fee is set too low. Mining nodes prioritize transactions with higher fees when queuing them, so if the fee is too low, after a certain period of time, such as three days, if it hasn't been included, mining nodes will generally remove such low-fee transactions from their mempool. When a node removes your transaction, it won't notify your wallet, and the transaction won't be refunded. Your wallet also cannot automatically display the balance before sending the transaction. If this is the case, you can only use "transaction acceleration services" provided by some mining pools, which require additional fees.

2. Why are RGB++ assets burned?#

RGB++ assets issued through the RGB++ protocol are "parasitic" or "bound" to Bitcoin UTXOs, more specifically, they are bound to UTXOs with a size of 546 satoshis. If this UTXO is spent, the corresponding RGB++ assets will also be spent.

How to avoid accidentally spending UTXOs bound with RGB++ assets? The JoyID wallet has set a threshold, which is currently 1200 satoshis. UTXOs below this threshold will not be spent as miner fees or normal BTC transfers. Of course, different wallets may have different threshold settings. Therefore, to avoid accidental spending, it is recommended to use the JoyID wallet to store and send/receive RGB++ assets.

As mentioned earlier, it is currently not recommended to use some tools developed by community members to Leap assets from the CKB blockchain to the Bitcoin blockchain because some of these tools did not follow the RGB++ standard when binding Bitcoin UTXOs. If they bind assets to UTXOs larger than 1200 satoshis, when users send BTC transactions using the JoyID wallet, the wallet may easily spend this UTXO as a miner fee or a normal UTXO.

3. Since the JoyID wallet plays such an important role in the RGB++ ecosystem, how can I improve the security of my wallet?#

The current version of the JoyID wallet does not support mnemonic phrase backup, so to prevent accidental deletion of the wallet or passkey, it is recommended to perform account upgrade. After upgrading, you can associate multiple devices of different brands with your wallet.

After logging into the JoyID wallet, go to Settings, select "Security," click the "+" button next to "Trusted Devices," click "Upgrade," and then pay 150 CKB or another amount of tokens to complete the account upgrade. After the upgrade is completed, click the "+" button next to "Trusted Devices" to add devices of different brands. For example, you can add an Android phone as a backup login device for a JoyID wallet created on an iPhone.

For more information about the JoyID wallet, please read: https://nervina.notion.site/JoyID-FAQ-2fcae5726fee4c298f6e5efdb2d1ed3d

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.