-
Notifications
You must be signed in to change notification settings - Fork 1
/
hardhat.config.ts
60 lines (57 loc) · 1.68 KB
/
hardhat.config.ts
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
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
const optimizerSettings = {
settings: {
optimizer: {
enabled: true,
runs: 200,
},
outputSelection: {
"*": {
"*": ["devdoc", "userdoc", "metadata"],
"": [],
},
},
},
}
const config: HardhatUserConfig = {
solidity: {
compilers: [
{
version: "0.8.18",
...optimizerSettings
}
]
},
defaultNetwork: "devnet",
networks: {
arthera: {
url: 'http://localhost:18545',
chainId: 10244,
accounts: [
"0x163f5f0f9a621d72fedd85ffca3d08d131ab4e812181e0d30ffd1c885d20aac7",
"0x4203c438d4e94bf4a595794b5f5c2882f959face730abb7a7b8acb462c8e138d",
"0x36c62e8094847f3e7aadc5c940cdbb8943d333a59b2774b889fd4a5ef629b51a",
"0x9187fdd9c00ab8e6c9e33480a51e86b7aa46cdb3255aaaf18b8ad3e281a17333",
"0xa466a5e9cc896f41b7b0b890ba630018de426e9ae63da62cdbd2379274a617e1",
"0x5f67cc02a811744ab738ff5e292d966a3c86fc448f680f1020fda2cd4efed431",
"0x594a4d9c0fa4aca3fd0d48045e28c7dc5e421a67a5f79df58379498f2442fd0e",
"0x6daff5042939e44e6928f3e80443b221f7ccbed1263d15613003b8b7a1199778",
"0xa86000de9b6819977be7395e4b1d0d84dd5f321ac0164d4c9c4e478e934c1489",
"0xbaa7872d34f851f1ab7c37161cbadb9ef670ca088d126e1ff2ba7cb135ddf7a6",
"0x967aeec6c484f91a1721bb8662da81c85e6891a70528a7134668e89e89796cd0"
]
},
testnet: {
url: 'https://rpc-test.arthera.net',
chainId: 10243,
accounts: []
},
devnet: {
url: 'https://rpc-dev.arthera.net',
chainId: 10245,
accounts: []
}
},
};
export default config;