rgb-archive / spec

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

Why does contract deployment require OP_RETURN? #66

Closed Sjors closed 5 years ago

Sjors commented 5 years ago

The [spec says](https://github.com/rgb-org/spec/blob/master/01-rgb.md#commitment-scheme:

Every contract MUST be deployed using the OP_RETURN scheme, independently from which commitment_scheme is set.

Why is this? Is this expected to change in a future version? This would be useful to clarify in the spec.

dr-orlovsky commented 5 years ago

Have to note, that the actual code in pay-to-contract branch provides the functionality to deploy the contract also in P2C scheme

dr-orlovsky commented 5 years ago

Closing since the issue is fixed with the PR #71