We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
verify
etherscan-verify
at the end of each deploy script, we should add verify task based on which network we are on
Using hardhat-etherscan plugin's verify task:
await hre.run("verify:verify", { address: contractAddress, constructorArguments: [ 50, "a string argument", { x: 10, y: 5, }, "0xabcdef", ], libraries: { SomeLibrary: "0x...", } });
Using hardhat-deploy's etherscan-verify task:
await hre.run("etherscan-verify", { contractName: deploymentName, });
The text was updated successfully, but these errors were encountered:
Is it better to have a line at the end of each deploy script or to have a separate script to verify everything after its deployed like here?
Sorry, something went wrong.
No branches or pull requests
at the end of each deploy script, we should add verify task based on which network we are on
Using hardhat-etherscan plugin's verify task:
Using hardhat-deploy's etherscan-verify task:
The text was updated successfully, but these errors were encountered: