-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhardhat.config.js
More file actions
54 lines (52 loc) · 1.16 KB
/
Copy pathhardhat.config.js
File metadata and controls
54 lines (52 loc) · 1.16 KB
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
require("@nomicfoundation/hardhat-toolbox")
require("hardhat-gas-reporter")
require("solidity-coverage")
require('hardhat-storage-layout')
require('dotenv').config()
module.exports = {
solidity: {
version: "0.8.19",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
evmVersion: "paris" // paris for arbitrum because no PUSH0 support, shanghai for ethereum
}
},
networks: {
hardhat: {
forking: {
url: `https://eth-mainnet.g.alchemy.com/v2/${process.env.ALCHEMY_KEY}`,
blockNumber: 19087444
},
accounts: {
count: 30
}
},
/*hardhat_modulus: {
forking: {
url: process.env.MODULUS_ENDPOINT,
blockNumber: 10617
},
accounts: {
count: 30
}
},
/*base: {
url: process.env.BASE_ENDPOINT,
accounts: [process.env.PRIVATE_KEY],
},
sepolia: {
url: process.env.SEPOLIA_ENDPOINT,
accounts: [process.env.PRIVATE_KEY]
},*/
bsc_testnet:{
url: "https://bsc-prebsc-dataseed.bnbchain.org",
accounts: [process.env.PRIVATE_KEY]
}
},
gasReporter: {
enabled: true
}
}