Skip to content

Lesson12: Error to verify my deployed smart contract in etherscan #635

Answered by JimmyG37
gab0071 asked this question in Q&A
Discussion options

You must be logged in to vote

Try adding contract: "contracts/OurToken.sol:OurToken" in your helper-functions.js file. So it'll look something like this:

 await run("verify:verify", {
      contract: "contracts/OurToken.sol:OurToken",
      address: contractAddress,
      constructorArguments: args,
    })

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gab0071
Comment options

@ManuWeb3
Comment options

Answer selected by gab0071
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants