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
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
andfromArchive
methods on theTemplateInstance
classContext