hello-world
), and then select continue..env
file to include your Etherscan API Key.hardhat-etherscan
plugin to automatically verify your smart contract's source code and ABI on Etherscan. In your hello-world
project directory run:hardhat.config.js
, and add the Etherscan config options:.env
variables are properly configured.verify
task, passing the address of the contract, and the first message argument string that we deployed it with:DEPLOYED_CONTRACT_ADDRESS
is the address of your deployed smart contract on the Ropsten test network. Also, the last argument,'Hello World!'
must be the same string value that you used during the deploy step in Part 1.truffle-plugin-verify
plugintruffle-plugin-verify
plugin to automatically verify your truffle smart contract's source code and ABI on Etherscan. In your project directory run:truffle-config.js
file. Your file should look similar to this.truffle-config.js
file to include your Etherscan API key. See the bottom of the code below for reference: