-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathhardhat.config.ts
More file actions
112 lines (109 loc) · 2.92 KB
/
hardhat.config.ts
File metadata and controls
112 lines (109 loc) · 2.92 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import "hardhat-deploy";
import "hardhat-dependency-compiler";
import "@typechain/hardhat";
import "@nomicfoundation/hardhat-ethers";
import "@nomicfoundation/hardhat-chai-matchers";
import "@nomicfoundation/hardhat-ledger";
const config: HardhatUserConfig = {
solidity: {
compilers: [
{
version: "0.8.17",
settings: {
optimizer: {
enabled: true,
runs: 800,
},
},
},
{
version: "0.8.23",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
],
overrides: {
"contracts/deployer/DeterministicDeployFactory.sol": {
version: "0.8.19",
},
"contracts/modules/KlasterSafeModule.sol": {
version: "0.8.23",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
}
},
},
dependencyCompiler: {
paths: ["@account-abstraction/contracts/core/EntryPoint.sol"],
},
networks: {
ethereum: {
url: "https://eth.llamarpc.com",
ledgerAccounts: [""],
},
arbitrum: {
url: "https://arb1.arbitrum.io/rpc",
ledgerAccounts: [""],
},
optimism: {
url: "https://mainnet.optimism.io",
ledgerAccounts: [""],
},
polygon: {
url: "https://polygon.rpc.blxrbdn.com",
ledgerAccounts: [""],
},
base: {
url: "https://base.llamarpc.com",
ledgerAccounts: [""],
},
avax: {
url: "https://api.avax.network/ext/bc/C/rpc",
ledgerAccounts: [""],
},
bsc: {
url: "https://binance.llamarpc.com",
ledgerAccounts: [""],
},
scroll: {
url: "https://rpc.scroll.io/",
ledgerAccounts: [""],
},
sepolia: {
url: "https://ultra-greatest-vineyard.ethereum-sepolia.quiknode.pro/8e37f80f63e2ddb56463719c8ae0fbdedb026f5a",
ledgerAccounts: ["0x5B2E0b8403d0653994A2024DB133FF92aCa05e2E"],
},
arbitrumsepolia: {
url: "https://young-ancient-frost.arbitrum-sepolia.quiknode.pro/a43c4c762a12440a6ce414e99bb8fc46166a5ce6/",
ledgerAccounts: ["0x5B2E0b8403d0653994A2024DB133FF92aCa05e2E"],
},
optimismsepolia: {
url: "https://alpha-bitter-shadow.optimism-sepolia.quiknode.pro/48c3a410694655fe21e903d21c7f75fec0d2f605/",
ledgerAccounts: ["0x5B2E0b8403d0653994A2024DB133FF92aCa05e2E"],
},
basesepolia: {
url: "https://wiser-tame-hexagon.base-sepolia.quiknode.pro/dcdad68e2c7491110f6eceafc041c7ff980de6e4",
ledgerAccounts: ["0x5B2E0b8403d0653994A2024DB133FF92aCa05e2E"],
},
kamenjak: {
url: "https://rpc-kamenjak-vseathpd2d.t.conduit.xyz",
ledgerAccounts: ["0x5B2E0b8403d0653994A2024DB133FF92aCa05e2E"],
},
hardhat: {
allowUnlimitedContractSize: true,
},
},
etherscan: {
}
};
export default config;