[SDK] use zksync-ethers with typechain #348
-
EnvironmentTestnet Acknowledgement
Issue DescriptionHow to use zksync-ethers with typechain? typechain generate export class TimelockController__factory extends ContractFactory { however, I should use ContractFactory from zksync-ethers in the second argument of return this.multiProvider.handleDeploy(
chain,
new TimelockController__factory(),
// delay, [proposers], [executors], admin
[
timelockConfig.delay,
[timelockConfig.roles.proposer],
[timelockConfig.roles.executor],
ethers.constants.AddressZero,
],
); Should I use a wrapper to make the typechain generated factory compatible with zksync-ethers or there're other standardized way to handle such cases? Expected BehaviorN/A Code ExampleN/A Repo Link (Optional)No response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @NOOMA-42 👋 ! Thank you for the question, but this question is best suited for the Typechain GitHub repo : https://github.com/dethcrypto/TypeChain/issues Thank you! |
Beta Was this translation helpful? Give feedback.
Hi @NOOMA-42 👋 !
Thank you for the question, but this question is best suited for the Typechain GitHub repo : https://github.com/dethcrypto/TypeChain/issues
Thank you!