#12 Generates the interacts using typechain package. This interact doesn't have deploy method.
Generated interacts are extended from web3.eth.Contracts class which has deploy method. Theoretically, deploy should be available to the interact.
-
This ticket is about finding if the deploy method can be used to deploy interacts by using web3 types and implementing it.
-
If the deploy method can't be used, research how other projects are deploying contracts using type chain. Select and implement the best approach.
If nothing works, then write a simple utility to deploy contracts.
References:
https://www.npmjs.com/package/@types/web3
https://www.npmjs.com/package/web3-typescript-typings
#12 Generates the interacts using typechain package. This interact doesn't have deploy method.
Generated interacts are extended from web3.eth.Contracts class which has deploy method. Theoretically, deploy should be available to the interact.
This ticket is about finding if the
deploymethod can be used to deploy interacts by using web3 types and implementing it.If the
deploymethod can't be used, research how other projects are deploying contracts using type chain. Select and implement the best approach.If nothing works, then write a simple utility to deploy contracts.
References:
https://www.npmjs.com/package/@types/web3
https://www.npmjs.com/package/web3-typescript-typings