The Good Tech Companies - Seamless Moves: RGB++ Ports Assets Across Blockchains Without Cross-Chain Bridges

Episode Date: June 14, 2024

This story was originally published on HackerNoon at: https://hackernoon.com/seamless-moves-rgb-ports-assets-across-blockchains-without-cross-chain-bridges. RGB++ enable...s secure, decentralized cross-chain asset transfers without traditional bridges, enhancing blockchain interoperability and reducing vulnerabilities. Check more stories related to tech-stories at: https://hackernoon.com/c/tech-stories. You can also check exclusive content about #cross-chain-bridges, #blockchain, #rgb++, #layer1-blockchain, #layer-1-vs-layer-2-solutions, #blockchain-interoprability, #secure-blockchain-transactions, #good-company, and more. This story was written by: @rgbpp. Learn more about this writer by checking @rgbpp's about page, and for more stories, please visit hackernoon.com. Cross-chain bridges exist to solve a major pain point in the blockchain sphere: the lack of interoperability. When exploited, a problem of users’ funds being at risk of fraud and malicious actions arises. RGB++ enables cross-chain transfers without bridges, permissions, or trust assumptions as well as the attendant vulnerabilities.

Transcript
Discussion (0)
Starting point is 00:00:00 This audio is presented by Hacker Noon, where anyone can learn anything about any technology. Seamless Moves. RGB++ ports assets across blockchains without cross-chain bridges by RGB++ protocol. Cross-chain bridges exist to solve a major pain point in the blockchain sphere, the lack of interoperability. That is, due to incompatibility, assets on different blockchains are unable to port into one another. Bridges typically rely on multi-signature, multi-sig setups that require high trust levels to perform their function. As a result, they have opened up new markets and have been crucial to many blockchain platforms for the transfer of crypto assets from one platform to another. However, as useful as cross-chain bridges seem to have become,
Starting point is 00:00:46 so have they struggled with their vulnerability to attacks from evil hackers. When exploited, a problem of users' funds being at risk of fraud and malicious actions arises. Bridges have been frequent targets for hackers, as demonstrated by several high-profile breaches resulting in losses estimated at $2 billion in July 2021, the chain swap cross-chain asset bridge was attacked, losing nearly $8 million. In January 2022, Qubit Finances Bridge suffered a hack, resulting in losses of over $80 million. In February 2022, the wormhole bridge was hacked with losses exceeding $320 million. In August 2022, over $190 million in crypto assets were stolen from the Nomad Bridge. These call to question more decentralized alternatives relying less on trust,
Starting point is 00:01:36 while they suffer from poor user experience and technical complexity. What RGB++, a groundbreaking Bitcoin Layer 1 asset standard does, is offering a unique solution to this significant threat to building trust in blockchain technology. It enables crypto assets on its protocol to move across blockchains without cross-chain bridges and their associated drawbacks. The RGB++ protocol appears as the industry's current single most effective way to issue and transfer crypto assets on the secure Bitcoin blockchain without running a client-side verification. Through its features that give the ability to leap assets directly between L1 Bitcoin blockchain and L2 CKB blockchain or other UTXO-based blockchains, RGB++ enables cross-chain transfers without bridges, permissions,
Starting point is 00:02:24 or trust assumptions as well as the attendant vulnerabilities. This article unpacks the mechanics and benefits of this innovative, bridge-free cross-chain solution. The leap as a bridge-free cross-chain mechanism. The bridge-free cross-chain solution thrives as a leap on the minting and ownership transfer capability of RGB++ assets. The RGB++ protocol issues crypto assets on the Bitcoin blockchain that are tied, or, bound, to Bitcoin's UTXO with 546 Satoshi which, if spent will see the corresponding RGB++ asset spent to. For example, if Alice mints 100 test tokens via RGB++ protocol, there will be a 546 Satoshi UTXO
Starting point is 00:03:07 on the Bitcoin blockchain under her control and associated with the 100 test tokens. Simultaneously, since assets issued via RGB++ create corresponding shadow assets on the CKB blockchain, a cell is created on the CKB blockchain. This essentially produces a smarter UTXO containing the interpretation of the RGB++ assets, I.E. the 100 test tokens, and the IRUN locking condition. Only when Alice's 546 Satoshi UTXO has been spent will the cell be concurrently spent as well. So, when Alice transfers 60 test tokens to Bob, it reflects on the Bitcoin blockchain that she has spent the original UTXO associated with the 100 test tokens.
Starting point is 00:03:51 She will receive a new 546 Satoshi UTXO linked to the remaining 40 test tokens as the original cell on the CKB blockchain creates two new cells, one containing the interpretation of 40 test tokens and another with 60 test tokens. Meanwhile, Bob's address receives a UTXO associated with 60 test tokens. This example shows that the ownership of RGB++ assets is tied to Bitcoin's UCHOs. Only whoever transfers, spends, a particular UTXO can unlock the corresponding RGB++ assets. This is because the unlocking condition set in the cell containing the RGB++ asset interpretation is the transfer of the Bitcoin UTXO. When the unlocking condition of an RGB++ transaction initiated on the Bitcoin blockchain
Starting point is 00:04:38 is set with a UTXO from another blockchain, not Bitcoin, the asset, leaps, to the other blockchain. The next spending of the RGB++ asset would have to be unlocked by a UTXO from that blockchain. This is the basic mechanism of the leap, a bridge-free cross-chain solution that is entirely decentralized and requires no trust assumptions. To dive deeper, watch Cypher's talk on the overview of the BTC Layer 1 Asset Protocol. Benefits of the LEAP feature The LEAP feature stands out for being permissionless, trustless, secure, and efficient permissionless. Unlike multisig bridges that restrict the type of assets they support, the LEAP feature allows any asset minted on the Bitcoin blockchain to move freely to and
Starting point is 00:05:22 from the CKB blockchain. Backslash dot, trustless. It operates without any need for intermediary trust I.E. No assets are held or controlled by a third party. Backslash dot, secure. By avoiding central points of vulnerability like those in multisig bridges, the security of RGB++ assets is greatly enhanced. Backslash dot, efficient. Although requiring multiple block confirmations may take about an hour, this delay is generally acceptable and ensures greater safety and reliability. The Leap also supports both the fungible and non-fungible tokens, such as dobs, or digital objects, issued through the Spore protocol on the CKB blockchain, enhancing its utility across
Starting point is 00:06:06 different asset types tutorial on using the leap feature with the joy id wallet the joy id wallet supports easy leaping of rgb plus plus assets coins and dobs between bitcoin and ckb blockchains here's how one from l1 to l2 btc right-pointing arrow CKB, leaping RGB++ assets, coins and dobs, from L1, Bitcoin blockchain, and L2, CKB blockchain, is quite easy. Follow these steps 1. After logging into the JoyID wallet, switch to the Bitcoin network. 2. Click the, leap, button and select the coins or dobs you want to leap. 3. In the sending interface, select Bitcoin L2, CKB, then enter the CKB address and the quantity. Set the miner fee. 4. Click send and confirm with your touch ID or face ID.
Starting point is 00:07:01 Backslash dot. A video tutorial can be found here. 2. From L2 to L1, CKB right-pointing arrow BTC, leaping RGB++ assets, coins and dobs. From L2 to L1 is in two stages. The prepare and complete stages which require signing BTC and CKB transactions respectively. Prepare the leap. 1. After logging into the JoyID wallet, switch the network to Nervous CKB. 2. Click the leap button. 3. Enter your Bitcoin address. 4. Select the RGB++ assets you want to leap back to L1 and specify the amount. 5. Choose a fee rate. Ensure your Bitcoin wallet has a sufficient UTXO balance for the fee. 6. Click the Leap to Bitcoin L1 button. 7. Click the Prepare button. 8. Sign to confirm the transaction. 9. Click Track Status to monitor the progress.
Starting point is 00:07:59 You can also view it in ongoing leaps. Complete the leap. 1. Wait for the Bitcoin mainnet to confirm the transaction once confirmed click complete two verify the leap details and click complete again wait for the ckb mainnet to confirm the transaction which you can track in settings activity leap three after the ckb mainnet confirmation switch to your bitcoin wallet to view your RGB++ assets. A video tutorial can be found here. 3. NOTIC RGB++ assets are bound to Bitcoin's UTXOs that are sized at 546 satoshis. If this UTXO is spent, the associated RGB++ assets are also spent or burned.
Starting point is 00:08:47 To prevent UTXOs bound to RGB++ assets from being spent accidentally, Joy-I-D wallet has set a threshold, which is currently 1200 Satoshi. UTXOs below this amount will not be spent as miners' fees or normal BTC transfers. To avoid being mistakenly spent, it is recommended that you use a Joy-I-D wallet to store and send, receive RGB++ assets. Avoid using some of the tools made by community members to leap assets from the CKB blockchain to the Bitcoin blockchain. They don't usually adhere to the RGB++ standard when binding to Bitcoin's 546 Satoshi UTXOs. If they bind an asset to a UTXO with more than 1200 Satoshi, then a transaction sent using a JoyID wallet will easily spend the UTXO as the miner's fee or for regular UTXO transactions. It is recommended to use only the JoyID wallet for all leap operations.
Starting point is 00:09:38 For further guidance, refer to the JoyID PASCII wiki. Thank you for listening to this Hackernoon story, read by Artificial Intelligence. Visit hackernoon.com to read, write, learn and publish.

There aren't comments yet for this episode. Click on any sentence in the transcript to leave a comment.