-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
49 lines (45 loc) · 996 Bytes
/
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
/** @type import('hardhat/config').HardhatUserConfig */
require("@nomiclabs/hardhat-waffle");
require("dotenv").config({ path: ".env" });
module.exports = {
paths: {
sources: 'contracts',
},
solidity: {
version: '0.8.20',
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
networks: {
hardhat: {
forking: {
url: process.env.ALCHEMY_URL,
// blockNumber: 15000000 // Change accordingly
},
},
dashboard: {
url: 'http://localhost:24012/rpc'
},
/* amoy: {
chainId: 80002,
url: `${process.env.AMOY_PROVIDER}`,
accounts: [`${process.env.AMOY_PRIVATE_KEY}`],
confirmations: 2,
skipDryRun: true,
urls: {
apiURL: 'https://api-amoy.plygonscan.com/api',
browserURL: 'https://amoy.polygonscan.com'
}
} */
},
paths: {
sources: './contracts',
tests: './test',
cache: './cache',
artifacts: './artifacts'
},
};