changed hardhat.config.ts

This commit is contained in:
bhavik 2021-12-23 00:40:36 +05:30
parent 03984d6ee8
commit 66f6eade57

View File

@ -112,8 +112,8 @@ const config: HardhatUserConfig = {
sources: "./contracts",
tests: "./test",
},
etherscan: {
apiKey: getScanApiKey(String(process.env.networkType)),
etherscan: {
apiKey: getScanApiKey(getNetworkUrl(String(process.env.networkType))),
},
typechain: {
outDir: "typechain",