-
|
Hi, I can't seem to deploy my "00-deploy-mocks.js" file using Here's the output. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
|
@Mumtaz503 you forgot this line add this const { network } = require("hardhat")above |
Beta Was this translation helpful? Give feedback.
-
|
@Mumtaz503 Make sure your deploy scripts are inside the deploy folder. Leave your repository link so I can see other things. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, put your deployer variable inside { } |
Beta Was this translation helpful? Give feedback.
-
|
@Mumtaz503 to this, since you are using network names not chainIds. if you want to use chainId you can do this also there is a typo in your hardhat.config.js you've misspelled defaultNetwork |
Beta Was this translation helpful? Give feedback.
@Mumtaz503
change this
to this, since you are using network names not chainIds.
if you want to use chainId you can do this
also there is a typo in your hardhat.config.js you've misspelled defaultNetwork