Skip to content

Commit c12c494

Browse files
Configure Etherscan API key for use with @nomiclabs/hardhat-etherscan
In PR #126 (#126) we've upgraded the `hardhat-deploy` plugin to latest version (^0.11.15). As part of this change, the way of storing Etherscan API key has changed - to be different from how the key is stored for @nomiclabs/hardhat-etherscan plugin use. When we merged those changes from `main` to the current feature branch, we no longer had a correct format of the Etherscan API key config to use it with the `@nomiclabs/hardhat-etherscan` plugin. As we don't want to verify contracts using `hardhat-deploy` plugin anymore, we need to adjust the config to fit `@nomiclabs/hardhat-etherscan`'s syntax.
1 parent 6eb97fb commit c12c494

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

hardhat.config.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,8 @@ const config: HardhatUserConfig = {
7070
username: "thesis",
7171
project: "thesis/threshold-network",
7272
},
73-
verify: {
74-
etherscan: {
75-
apiKey: process.env.ETHERSCAN_API_KEY,
76-
},
73+
etherscan: {
74+
apiKey: process.env.ETHERSCAN_API_KEY,
7775
},
7876
external: {
7977
contracts: [

0 commit comments

Comments
 (0)