changed hardhat.config.ts

This commit is contained in:
bhavik 2021-12-23 00:40:36 +05:30 committed by Ishan Jain
parent 61686a585f
commit 25519fc9c4

View File

@ -118,8 +118,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",