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

Manifest Upgradability over Marm #33

Open
Gh0stts0hg opened this issue Feb 26, 2023 · 0 comments
Open

Manifest Upgradability over Marm #33

Gh0stts0hg opened this issue Feb 26, 2023 · 0 comments

Comments

@Gh0stts0hg
Copy link

Proposal to add manifest upgradability to native Marmalade.

Transformation list model is slightly open, but that isn't necessarily a bad thing i believe. Can define different operations on the manifest : Add Datum, Remove Datum, Replace Datum, Modify URI

We ingest initial manifest version + max version (index) at first upgrade (ideally at token create). + init certificate for it. stored under (NFT_ID + Max version) key

We then upgrade and create a timestamped certificate of the changes, includes hash (transform list) + transform list + manifest + block-height. We tie this certificate to previous by hash.

And Boom we return upgraded manifest.

Thoughts, concerns, comments ?

  1. Ledger upgrade : https://tinyurl.com/ledger-upgrade
  2. versioning manifest : https://tinyurl.com/manifest-vers
  3. modifying manifest : https://tinyurl.com/upgr-provider

Ref https://www.winlab.rutgers.edu/~pkamat/cis06.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant