require("@nomiclabs/hardhat-waffle");
require("@nomiclabs/hardhat-etherscan");
module.exports = {
solidity: "0.8.0",
networks: {
ropsten: {
url: "https://ropsten.infura.io/v3/YOUR_INFURA_PROJECT_ID",
accounts: [`0x${YOUR_PRIVATE_KEY}`]
}
},
etherscan: {
apiKey: "YOUR_ETHERSCAN_API_KEY"
}
};
npx hardhat verify --network ropsten YOUR_DEPLOYED_CONTRACT_ADDRESS "MyToken" "MTK" "1000000000000000000000000"