Skip to content

Commit d9dba33

Browse files
committed
etherscan api key added for contract verification
1 parent 14b1a70 commit d9dba33

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

hardhat.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require("@nomiclabs/hardhat-waffle");
1010
const GOERLI_RPC_URL = process.env.GOERLI_RPC_URL
1111
const PRIVATE_KEY = process.env.PRIVATE_KEY
1212
const POLYGON_MUMBAI_RPC_URL = process.env.POLYGON_MUMBAI_RPC_URL
13-
13+
const ETHERSCAN_API_KEY = process.env.ETHERSCAN_API_KEY
1414
module.exports = {
1515
solidity: "0.8.17",
1616
defaultNetwork: "hardhat",
@@ -31,6 +31,9 @@ module.exports = {
3131
url: "http://127.0.0.1:8545/",
3232
chainId: 31337,
3333
}
34+
},
35+
etherscan: {
36+
apiKey: ETHERSCAN_API_KEY,
3437
},
3538
// namedAccounts: {
3639
// deployer: {

0 commit comments

Comments
 (0)