Unable to verify contract #5193
Answered
by
alymurtazamemon
Mayank-Pandey1
asked this question in
Q&A
-
When I try to deploy the Here is the link of github repo: |
Beta Was this translation helpful? Give feedback.
Answered by
alymurtazamemon
Mar 30, 2023
Replies: 1 comment 3 replies
-
@Mayank-Pandey1 you have wrong condition here; if (
!developmentChains.includes(
network.name && process.env.ETHERSCAN_API_KEY
)
) {
await verify(ourToken.address, [INITIAL_SUPPLY]);
} it should be like this; if (
!developmentChains.includes(network.name) && process.env.ETHERSCAN_API_KEY
) {
await verify(ourToken.address, [INITIAL_SUPPLY]);
} |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Mayank-Pandey1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Mayank-Pandey1 you have wrong condition here;
it should be like this;