-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
49 lines (47 loc) · 1.13 KB
/
hardhat.config.js
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
40
41
42
43
44
45
46
47
48
49
require("@nomicfoundation/hardhat-toolbox");
require("@nomicfoundation/hardhat-chai-matchers");
require("@nomiclabs/hardhat-ethers");
require("hardhat-deploy");
require("hardhat-gas-reporter");
/**
* @type import('hardhat/config').HardhatUserConfig
*/
const accounts = {
count: 50,
mnemonic: "test test test test test test test test test test test junk",
accountsBalance: "100000000000000000000000000",
};
module.exports = {
networks: {
local: {
url: "http://localhost:8545",
},
hardhat: {
allowUnlimitedContractSize: true,
accounts
},
},
solidity: {
compilers: [
{
version: "0.8.28",
settings: {
optimizer: {
enabled: true,
runs: 100,
},
},
evmVersion: "cancun"
},
{
version: "0.5.16", // uniswap
},
{
version: "0.6.6", // uniswap
}
]
},
gasReporter: {
enabled: true
}
};