Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How safety (tech-wise) is reached in RGB? #4

Closed
UkolovaOlga opened this issue May 11, 2020 · 2 comments
Closed

How safety (tech-wise) is reached in RGB? #4

UkolovaOlga opened this issue May 11, 2020 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation FAQ Question about LNP/BP tech stack

Comments

@UkolovaOlga
Copy link
Member

  1. Most part of RGB is relying on Bitcoin and Lightning safety on L1.
  2. State isolation: state is isolated between different smart contracts and they can interact only through special protocols (Spectrum) inside channels.
  3. Formal verification: contract properties can be proven with formal models.
@UkolovaOlga UkolovaOlga added documentation Improvements or additions to documentation FAQ Question about LNP/BP tech stack labels May 11, 2020
@UkolovaOlga UkolovaOlga self-assigned this May 11, 2020
@UkolovaOlga
Copy link
Member Author

  1. State isolation: state is isolated between different smart contracts and they can interact only through special protocols (Spectrum) inside channels.

If you have two assets issued by different issuers, these assets don't interact directly, their data is never mixed and they cannot be cross-validated.

There is a way to exchange one asset for another one using Spectrum protocol, but it was created as a layer on top of Lightning Network and it is not related to RGB itself. Spectrum uses LN cooperation between different transaction graphs. When you make a multihop payment with Lightning, one transaction graph of one state channel is not directly affected by the data from the transaction graph of the other channel, they all communicate through the messaging P2P onion routing protocol. Spectrum works the same way for RGB in this regard.

@UkolovaOlga
Copy link
Member Author

Added to the FAQ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation FAQ Question about LNP/BP tech stack
Projects
LNP/BP FAQ board
  
In progress
Development

No branches or pull requests

1 participant