-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
45 lines (43 loc) · 1004 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
require("@nomicfoundation/hardhat-toolbox");
require("dotenv").config();
const PRIVATE_KEY = process.env.PK;
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: {
compilers: [{
version: "0.8.9",
settings: {
optimizer: {
enabled: true,
runs: 200,
}
}
}]
},
networks: {
hardhat: {
forking: {
// url: "https://sepolia.mode.network",
// url: "https://optimism-goerli.publicnode.com",
// url: "https://testnet.rpc.zora.com",
url: "https://1rpc.io/base-goerli",
}
},
mode: {
url: "https://sepolia.mode.network",
accounts: [PRIVATE_KEY],
},
opti: {
url: "https://optimism-goerli.publicnode.com",
accounts: [PRIVATE_KEY],
},
zora: {
url: "https://testnet.rpc.zora.com",
accounts: [PRIVATE_KEY],
},
base: {
url: "https://1rpc.io/base-goerli",
accounts: [PRIVATE_KEY],
},
}
};