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

Create a contract Instance directly from an archive #677

Open
jeromesimeon opened this issue Jun 15, 2021 · 1 comment
Open

Create a contract Instance directly from an archive #677

jeromesimeon opened this issue Jun 15, 2021 · 1 comment

Comments

@jeromesimeon
Copy link
Member

Feature Request ๐Ÿ›๏ธ

Currently templates can be stored in an archive (./cta) and distributed but contract instances cannot. It would be very useful to give the ability to support instance-level archives for storage, exchange, etc.

Use Case

Ability to package a contract instance for distribution / reuse.

Possible Solution

toArchive and fromArchive methods on the TemplateInstance class

Context

@Hrushi20
Copy link

Hrushi20 commented Feb 5, 2022

Hey! Can I work on this issue?
What exactly are contract instances and how are they different from ./cta archive files?
Thank You

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

No branches or pull requests

2 participants