-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
78 lines (76 loc) · 2.11 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import "hardhat-contract-sizer";
import "hardhat-gas-reporter";
const config: HardhatUserConfig = {
solidity: {
version: "0.8.19",
settings: {
optimizer: {
enabled: true,
runs: 10000000,
},
},
},
defaultNetwork: "hardhat",
contractSizer: {
runOnCompile: true,
},
networks: {
hardhat: {
// these are the Remix IDE accounts
// https://github.com/ethereum/remix-project/blob/d13fea7e8429436de6622d855bf75688c664a956/libs/remix-simulator/src/methods/accounts.ts#L22
accounts: [
{
balance: "1000000000000000000000",
privateKey:
"0x503f38a9c967ed597e47fe25643985f032b072db8075426a92110f82df48dfcb",
},
{
balance: "1000000000000000000000",
privateKey:
"0x7e5bfb82febc4c2c8529167104271ceec190eafdca277314912eaabdb67c6e5f",
},
{
balance: "1000000000000000000000",
privateKey:
"0xcc6d63f85de8fef05446ebdd3c537c72152d0fc437fd7aa62b3019b79bd1fdd4",
},
{
balance: "1000000000000000000000",
privateKey:
"0x3e8c49e06a07dae1601ee50f10de0dcc6ef73afae1edca85ba7d598f139cfc9d",
}
],
},
polygon: {
chainId: 80001,
accounts: [
"0x3e8c49e06a07dae1601ee50f10de0dcc6ef73afae1edca85ba7d598f139cfc9d",
],
url: "https://rpc-mumbai.maticvigil.com/",
},
bnb: {
chainId: 97,
accounts: [
"0x3e8c49e06a07dae1601ee50f10de0dcc6ef73afae1edca85ba7d598f139cfc9d",
],
url: "https://data-seed-prebsc-1-s1.binance.org:8545/",
},
okt: {
chainId: 65,
accounts: [
"0x3e8c49e06a07dae1601ee50f10de0dcc6ef73afae1edca85ba7d598f139cfc9d",
],
url: "https://exchaintestrpc.okex.org/",
},
sepolia: {
chainId: 11155111,
accounts: [
"0x3e8c49e06a07dae1601ee50f10de0dcc6ef73afae1edca85ba7d598f139cfc9d",
],
url: "https://rpc2.sepolia.org/",
},
},
};
export default config;