Lesson 5 Error - Unable to deploy SimpleStorage contract #617
Unanswered
siddhantvats05
asked this question in
Q&A
Replies: 2 comments
-
isn't it suppose to be |
Beta Was this translation helpful? Give feedback.
0 replies
-
@siddhantvats05 when declaring contractFactory you have to use the 'new' keyword too, new Keyword in Solidity const contractFactory = new ethers.ContractFactory(abi, binary, wallet); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am unable to deploy the Simple-Storage contract, when i write deploy.js in the terminal I get the following error:
Can somebody please tell me what to do?
Beta Was this translation helpful? Give feedback.
All reactions