buidler-labs / hashgraph-venin-js

The, service over-arching, Hedera Stratospheric SDK for JS developers
https://venin.buidlerlabs.com
MIT License
19 stars 1 forks source link

Allow `LiveContract` creation from `FileId`s #92

Open 3Nigma opened 2 years ago

3Nigma commented 2 years ago

Given an existing contract's bytecode hosted at a FileId, we should allow the deployment of a new LiveContract through that FileId.

This one is near and dear to @victorholo's heart. We just hope to get the API right.

3Nigma commented 1 year ago

The following working variants are considered:

In both of the above cases, when deploy-ing the contract to make it live, we would have to make sure to not double-create the File that the contract's bytecode depends on.