RGB Protocol-Tokens built on LN

in busy •  6 years ago 

RGB is a second-layer technology on the base of Bitcoin blockchain and compatible with Lightning network that has an scalable asset tokenization protocol.

Unlike Coloured Coins and other previous attempts to tie tokenized assets to Bitcoin protocol, RGB Protocol, as an addon, is distinguished by its ability to scale and compatibility with Lightning network.

Here is why RGB is better than current tokenization protocol:

A video on how RGB works:

Here the information of RGB protocol:
https://github.com/afilini/RGB/blob/master/00-introduction.md#digital-assets
https://prezi.com/liaz6nsa_cwo/building-on-bitcoin/

The important information from the github to understand RGB+my additional info


Why is RGB protocol better than other bitcoin based ones?

Most “meta-protocols” developed on top of Bitcoin (digital asset protocols that rely on independent validation rules, leveraging Bitcoin’s blockchain just as “proof of publication”, in order to prevent double-spending and audit issuances and reserves), while providing a potential interesting solution, completely miss the standardness/interoperability point, while showing important scalability shortcomings.

Meta protocol in the market right now are Omni or Counterparty. Omni being the one used by Tether and Maidsafe. These protocol suffer when tx fees go up.

The “colored coin” idea (a particular subset of Bitcoin “meta-protocol”, where most of the features of the underlying platform, such as addresses, scripts and amounts, are leveraged to maximize interoperability) has been considered promising by many, but existing implementations still show important limitations. In particular, they inherit and further exacerbate the confidentiality/fungibility shortcomings, as well as the scalability shortcomings, of the “on-chain” Bitcoin layer.

A full colored coin creation protcool does not exist in Bitcoin at a mass scale anymore. They are still used in SPL and Digiasset of other onchain focused coins. However Bisq a decentralized offchain exchange goes use colored coins for it DAO token.
https://bitcoinmagazine.com/articles/five-years-making-bisq-exchange-launches-its-bitcoin-dao

As for confidentiality/fungibility, existent “colored coin” schemes heavily rely on the present serious lack of these features on Bitcoin itself: specific bitcoin amounts (often already not fungible enough in the current setting) are made even less fungible, “coloring” them in ways that greatly facilitate forensic analysis, clustering and “tainting” techniques, often invalidating external confidentiality/fungibility enhancing practices (i.e., coinjoin or other techniques where “order-based coloring” and “value-based coloring” would break) and relegating them to (pseudo)anonymity sets that will necessarily be small-to-irrelevant, for all but major asset-types.

A major bummer for current designs.

As for scalability, they inherit the typical limitations of “on-chain” Bitcoin transaction, making them worse because of the risk of perverse incentives for blockchain bloating, because of the "dust problem" and because of the lack of a trivial support for light-nodes in the form of “SPV”-like solutions (whose effectiveness is anyway seriously questioned for Bitcoin itself).

A major reason why no real token standard has found its way to Bitcoin.

Also, many of the existing implementations require a huge number of “ad hoc” deviation from the standard Bitcoin infrastructure, making their adoption difficult and full of friction and reducing the potential standardness/interoperability/leverage points of strength of the model. It is also possible that many of these first implementations just had their timing wrong (the market was not showing the current strong demand for a digital asset management standard, back when they have been conceived and implemented), and that a new, reviewed proposals could now gather more interest and momentum.

Many token standards are not that Bitcoin friendly and are in some ways their own chain.

How does RGB improve on this?

The “RGB” protocol is mostly aimed to “layer 2” scalability/fungibility strategies, but it relies for its bootstrap on a “layer 1” core, which borrows extensively from existent “colored coin” concepts, maximizing standardness properties, leveraging as much as possible the current Bitcoin infrastructure and interoperating seamlessly with it with minor, modular add-ons.

RGB will be offchain focused.

This part will introduce some new modifications in respect with traditional “colored coin” implementations, aimed to reach “on-chain” levels of confidentiality/fungibility and scalability which could be considered at least close to the ones of Bitcoin itself: the adoption of the "Client Side Validation" model, a set of responsible best practices to limit and disincentivize blockchain-bloating (pay-to-contract instead of op_return), a broad (pseudo-)anonymity set for asset users, a complete independence from output ordering.

This allows more privacy and more ease of adding to LN wallets.

Other modifications of the “layer 1” are introduced as a mean to make this protocol fully compatible with the main “layer 2”/”off-chain” standards, with a particular focus on Lightning Network, in order to seamlessly inherit all their game-changing scalability and confidentiality/fungibility features. Furthermore, the protocol proposal will contain an additional, specific and native “layer 2” solution based on the "Proofmashal" idea.

By using the LN, RGB piggybacks on the power of LN speed and privacy.

An asset-specific implementation of the “Proofmarshal” concept, based on “Single-Use-Seals” and “Proof-of-Publication-Ledgers”. In this integration, a Publisher Server might also act as “sealer”, with the ability to censor transactions but not to manipulate/forge/falsify them by committing multiple proofs from different anonymous users to a single UTXO. This could decouple the anti-double-spending function of the Bitcoin blockchain from the specific asset transations, making possible to "seal" a huge number of them spending a single Bitcoin UTXO.

This is useful for centralized asset such as stocks or stablecoin.

Being the protocol UTXO-based, it will be possible to link one or more assets to a Lightning Network channel, which becomes colored, exchanging state updates which are compliant to the asset scheme, with strong guarantees that asset distribution will be preserved also in case of non-consensual closures. In this way, it will be possible to leverage the scalability and privacy features of the Lightning Network, as well as LN-enabled atomic swaps and LN-based path discovery for decentralized asset exchange.

This allows multi tokens to use the same channel. This can be improved even more.
image.png
image.png
RGB protocol can do Multisig an application method that can mirror alot of smart contract functions.

In theory RGB can also do smart contracts. However the answer of such is not known.
Counterparty at one point was able to do eth based smart contacts. As such it can be done just not yet.

Another way RGB can scale is by using Statechains:
https://medium.com/@RubenSomsen/statechains-non-custodial-off-chain-bitcoin-transfer-1ae4845a4a39

Non-fungible colored coins on the Bitcoin blockchain can be transferred off-chain via Statechains

This is great and all when is it coming? Well by the end of the year.

The RGB protcool will be used by Spectrum.
https://www.coindesk.com/startups-debut-first-protocol-for-issuing-tokens-via-bitcoins-lightning-network

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Lightning is a complete game changer. It's everything I hoped I was getting into on Bitcoin's base layer but 100x better.

I think if Steem seeks to survive we should be spending less time debating the stuff that's making it into HF21 and more time finding devs to propose a HF include a BTC peg tied into a protocol like Lightning or Liquid. That would be real innovation vs changing a few sliders on the economics and integrating a WPS that's existed on other platforms for years.

I agree with you for the most part.
LN is a game changer. However until some few things that can really scale LN(to workable use) such as Watchtower, Eltoo, Bidirectional channel and some type of batching maybe atleast Hyperloop or Channel factory?
But whatever the case it a game changer. Honestly at the rate we are going a HF to inc blockchain size might not even be needed. I read some estimates that Hyperloop can scale LN to serve 3 Billion people a year!

Indeed. DPOS was meant to make HF much easier to do but when you really do it lol
HF are just to hard and can be beyond messy. As such I like SMT/Steem Engine it allowing content to scale offchain ie palnet and weedcash. Trying diff stuff out without affecting mainchain while not hurting the main chain the same time!
Pegging is hard. Federation model exists for centralized services so it good for them. Liquid some call a glorified hot wallet.
But whatever the case Steem will need to follow and embrace offchain solution more.

I'm actually not up to date on Hyperloop but after reading that estimate I will have to look at it more now! With all of the activity I see being offloaded to Lightning/Liquid/ETC I have to agree with Luke and believe we may even face a situation in the future where we'll need to SF to lower the blocksize. I'm hopeful that lots of layer 1 solutions will help ensure that fees remain high enough to be able to support our currently block size. Regardless those are issues for far enough in the future that we don't have to be concerned yet.

I really like the SE model of existing on top of Steem but still have fears of how centralized it is right now. I'm sure that will change in the future. It's an extremely innovative way to get the ball rolling for SMTs at the very least.

I don't think I remember seeing you ever really write a lot about SPORTS but would still like to offer you to join our Tribe on SE. It's just getting started but I think we'll grow and hopefully bring new content producers to Steem. It's based around the SPORTS token and you can find our condenser at sportstalk.social. I sent you some seed tokens to start voting if you have any interest. I hope to see you around if you do!

This is the estimate where I got :

Throwing this on the Chromecast now!

You might want to go back a bit to get the whole talk :P
I just timestamped to the part where it says it.

Interesting. Never hear of Sports. Will check it out.

Yeah mining sustainable is the hard part.
There are some alt than just pure Tx fee.
https://twitter.com/bitmaster177/status/1103851483068592128

I have a feeling lightning network is going to play a huge part in this rally coming up. Its faster to scale and gives people an option where in 2017 it just died out because of the high fees.

Happy to be running my own lightning node at the moment and contributing to that network and vision.

Hi, @sames!

You just got a 1.83% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Hi @sames!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 4.802 which ranks you at #1384 across all Steem accounts.
Your rank has dropped 11 places in the last three days (old rank 1373).

In our last Algorithmic Curation Round, consisting of 179 contributions, your post is ranked at #35.

Evaluation of your UA score:
  • Some people are already following you, keep going!
  • The readers appreciate your great work!
  • Good user engagement!

Feel free to join our @steem-ua Discord server

!