forked from Git-Gate/smart-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
43 lines (42 loc) · 947 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
require("@nomicfoundation/hardhat-toolbox");
require("dotenv").config();
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: {
version: "0.8.9",
settings: {
optimizer: {
enabled: true,
runs: 1000,
},
},
},
networks: {
hardhat: {
// mining: {
// auto: false,
// interval: [10000, 20000]
// },
forking: {
url: process.env.ALCHEMY_URL,
accounts: [
process.env.PRIVATE_KEY,
// process.env.PRIVATE_KEY2,
// process.env.PRIVATE_KEY3,
// process.env.PRIVATE_KEY4,
],
},
},
mumbai: {
url: process.env.ALCHEMY_URL,
accounts: [process.env.PRIVATE_KEY],
},
development: {
url: "http://127.0.0.1:8545/",
accounts: [`${process.env.PRIVATE_KEY}`],
},
},
etherscan: {
apiKey: "VSDP3JH47RIZJWXYQHI6XFWP9A8M7XDYPQ",
},
};