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

Accept uploaded package of Ownable with event chain #62

Open
jasny opened this issue Mar 27, 2023 · 0 comments
Open

Accept uploaded package of Ownable with event chain #62

jasny opened this issue Mar 27, 2023 · 0 comments

Comments

@jasny
Copy link
Member

jasny commented Mar 27, 2023

When transferring an Ownable, the package is offered as a download. In addition to the package files, the zip also contains a chain.json file with the event chain.

When importing a new package, check if it contains a chain.json file. If so, extract it before storing the package. After the package is stored, instantiate the ownable using the imported event chain.

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