-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathhardhat.config.ts
39 lines (38 loc) · 983 Bytes
/
hardhat.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
require('hardhat-deploy');
require('hardhat-deploy-ethers');
require("@nomiclabs/hardhat-etherscan");
const {NODE_URL,ETHERSCAN_API_KEY,VFAT_MULTISIG_PK} = require("./secret")
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: "0.5.16",
networks: {
hardhat: {
allowUnlimitedContractSize: true,
forking: {
url: NODE_URL,
blockNumber: 11366325
}
},
mainnet: {
url: NODE_URL,
accounts: [VFAT_MULTISIG_PK]
}
},
paths: {
tests: "./recover/test"
},
namedAccounts: {
deployer: {
default: 0, // here this will by default take the first account as deployer
1: 0, // similarly on mainnet it will take the first account as deployer. Note though that depending on how hardhat network are configured, the account 0 on one network can be different than on another
}
},
mocha: {
timeout: 60000
},
etherscan : {
apiKey : ETHERSCAN_API_KEY
}
};