-
Notifications
You must be signed in to change notification settings - Fork 3
/
hardhat.config.js
60 lines (52 loc) · 1.12 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
50
51
52
53
54
55
56
57
58
59
60
//const { hardhatArguments } = require('hardhat');
/**
* @type import('hardhat/config').HardhatUserConfig
*/
require('dotenv').config();
require("@nomiclabs/hardhat-waffle")
require("@nomiclabs/hardhat-etherscan")
require("@openzeppelin/hardhat-upgrades")
require("@nomiclabs/hardhat-ethers")
task("accounts", "Prints the list of accounts", async (taskArgs, hre) => {
const accounts = await hre.ethers.getSigners();
for (const account of accounts) {
console.log(account.address);
}
});
module.exports = {
solidity: {
compilers: [
{
version: "0.8.13",
settings: {
optimizer: {
enabled: true,
runs: 200,
}
}
},
{
version: "0.5.16"
},
{
version: "0.6.12"
}
],
},
mocha: {
timeout: 10000000000
},
networks: {
hardhat: {
accounts: {
accountsBalance: '5000000000000000000000000000000'
},
allowUnlimitedContractSize: true,
forking: {
// url: process.env.ALCHEMY_OPTIMISM,
// blockNumber: 15057989,
// enabled: false
}
},
}
};