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

Implement pruning with a secondary issuance for fungible assets RGB schema (RGB-20) #20

Closed
afilini opened this issue Mar 25, 2020 · 2 comments
Labels
proposal New proposals [RGB] Specs related to client-validated state management system

Comments

@afilini
Copy link
Contributor

afilini commented Mar 25, 2020

The current schema for the RGB1 and 2 protocols treats pruning and secondary issuances differently: in order to make a secondary issuance, the issuer would have to spend some "special" seals that would make it obvious to any external observer that a secondary issuance had happened, to prevent the issuer from inflating the supply of an asset undetected.

Pruning, which is essentially a burn-and-then-secondary-issuance, instead is implemented in a different way, that doesn't require the issuer to spend the "secondary issuance" seal, probably to avoid "alterting" all the external observer every time the pruning occurs.

However, since there's no cryptographic "constraint" that forces the issuer to burn and then re-issue the exact same amount of tokens, the issuer could use a pruning operation to inflate the supply of the asset, with the added bonus that it would be able to clain, and cryptographically prove, that it had never spent the secondary issuance seals.

@dr-orlovsky dr-orlovsky added [RGB] Specs related to client-validated state management system proposal New proposals labels May 8, 2020
@dr-orlovsky dr-orlovsky added this to the RGB core: drafts milestone May 8, 2020
@dr-orlovsky dr-orlovsky changed the title Implement pruning with a secondary issuance Implement pruning with a secondary issuance [LNPBP-20] May 8, 2020
@dr-orlovsky dr-orlovsky changed the title Implement pruning with a secondary issuance [LNPBP-20] Implement pruning with a secondary issuance [RGB-20] May 8, 2020
@dr-orlovsky dr-orlovsky changed the title Implement pruning with a secondary issuance [RGB-20] Implement pruning with a secondary issuance for fungible assets RGB schema (RGB-20) May 8, 2020
@dr-orlovsky
Copy link
Member

So am I right that with this proposal in practice when we have pruning enabled the issuer have to define that the supply is unlimited and nobody will know how many assets were actually issued and how many was pruned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal New proposals [RGB] Specs related to client-validated state management system
Projects
None yet
Development

No branches or pull requests

2 participants