rgb-archive / spec

[OLD!] RGB Protocol specifications for Bitcoin-based digital assets
https://rgb-org.github.io/
148 stars 26 forks source link

Proposed Spectrum tx structure #95

Closed dr-orlovsky closed 5 years ago

dr-orlovsky commented 5 years ago

Graphical specification for funding and commitment transactions with RGB proofs:

RGB Specifications

Notes:

dr-orlovsky commented 5 years ago

After discussion with @giacomozucco we came to the (preliminary) conclusion that:

  1. OP_RETURN commitments are not needed in Spectrum (due to the reason mentioned in the original comment)
  2. UTXO-binding of the RGB assets would not be used in Spectrum (also see the reasons above)
  3. P2(W)SH within the commitment and funding transactions should not be used for P2C commitments
  4. While from the clarity point in the spect it will be nice to describe RGB-only channels first and than adding bitcoin transfers to them later, in the real-world wallets we should not enforce this kind of separation and shall promote joint RGB/Bitcoin channels in order to enable future DEX functionality.
  5. A rationale section should be added to the future Spectrum spec clarifying arguments for a such design decisions.
dr-orlovsky commented 5 years ago

An updated complete version:

image

Key facts:

dr-orlovsky commented 5 years ago

Now part of #105