forked from orbit-chain/bridge-launch-governance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.js
233 lines (225 loc) · 10.1 KB
/
settings.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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
module.exports = {
chainList: [
'avax',
'bsc',
'celo',
'heco',
'fantom',
'harmony',
'klaytn',
'matic',
'moonriver',
'orbit',
'oec',
'xdai',
'eth',
"stacks",
"ton",
],
// Bridge Addresses
BridgeAddress: {
OrbitHubContract: "0xb5680a55d627c52de992e3ea52a86f19da475399",
BscBridgeContract: "0x89c527764f03BCb7dC469707B23b79C1D7Beb780",
HecoBridgeContract: "0xE7688F64e96A733EaDdCb5850392347e67Bb197f",
KlaytnBridgeContract: "0x1af95905bb0042803f90e36d79d13aea6cd58969",
OrbitBridgeContract: "0x77a49649964a186Fd2b8754758c39c9438a6E9aB",
StacksBridgeContract: "0x77d50F8e3A95DC0FE71057E54E4Ee9C86147d861",
TonBridgeContract: "0x25605C6247fDBC95D91275025ed3dc2632936c3a",
MessageMultiSigWallet: {
Hub: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
Orbit: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
Stacks: "0x892E83F7A157Af28271365b59ca0AbC2fe4c1264",
Ton: "0xab53b08dA0454279EEbc8CDa9F5ed0CDBC1821eB",
Avax: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
Bsc: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
Celo: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
Fantom: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
Harmony: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
Heco: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
Klaytn: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
Matic: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
Moonriver: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
Oec: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
Xdai: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
},
Avax: {
AvaxMinterContract: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
MessageMultiSigWallet: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
AvaxAdminContract: "0x3b31c980598f9237d9C14bB44118773b92174720",
},
Bsc: {
BscMinterContract: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
MessageMultiSigWallet: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
BscAdminContract: "0x3b31c980598f9237d9C14bB44118773b92174720",
},
Celo: {
CeloMinterContract: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
MessageMultiSigWallet: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
CeloAdminContract: "0x3b31c980598f9237d9C14bB44118773b92174720",
},
Eth: {
EthMinterContract: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
MessageMultiSigWallet: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
EthAdminContract: "0x3b31c980598f9237d9C14bB44118773b92174720",
},
Fantom: {
FantomMinterContract: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
MessageMultiSigWallet: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
FantomAdminContract: "0x3b31c980598f9237d9C14bB44118773b92174720",
},
Harmony: {
HarmonyMinterContract: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
MessageMultiSigWallet: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
HarmonyAdminContract: "0x3b31c980598f9237d9C14bB44118773b92174720",
},
Heco: {
HecoMinterContract: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
MessageMultiSigWallet: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
HecoAdminContract: "0x3b31c980598f9237d9C14bB44118773b92174720",
},
Klay: {
KlaytnMinterContract: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
MessageMultiSigWallet: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
},
Matic: {
MaticVaultContract: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
MessageMultiSigWallet: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
MaticAdminContract: "0x3b31c980598f9237d9C14bB44118773b92174720",
},
Moonriver: {
MoonriverMinterContract: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
MessageMultiSigWallet: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
MoonriverAdminContract: "0x3b31c980598f9237d9C14bB44118773b92174720",
},
Oec: {
OecMinterContract: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
MessageMultiSigWallet: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
OecAdminContract: "0x3b31c980598f9237d9C14bB44118773b92174720",
},
Oec: {
OecMinterContract: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
MessageMultiSigWallet: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
OecAdminContract: "0x3b31c980598f9237d9C14bB44118773b92174720",
},
Stacks: {
DeployAddress: "SP1TPSNBTKXCYYXK8RPBVRPPZ5K073W178Q24YQYT",
MessageMultiSigWallet: "gov-matic",
"0x0000000000000000000000000000000000000000": "orbit-matic",
"0x82362Ec182Db3Cf7829014Bc61E9BE8a2E82868a": "orbit-mesh",
},
Ton: {
TonMinterContract: "EQCYQXpeslaR0zyZYLFhd8_ZFujE8OtI96NjWkrdjMbL-Tp5",
MessageMultiSigWallet: "EQAT5vlT1ddCCcoWa1InuZVJcYOdHd7dSziIiTjfzeQAzYRQ",
},
Xdai: {
XdaiMinterContract: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
MessageMultiSigWallet: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
XdaiAdminContract: "0x3b31c980598f9237d9C14bB44118773b92174720",
},
Orbit: {
OrbitMinterContract: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
MessageMultiSigWallet: "0x98d729f9bD84AAC94639700e71B7916018A708B1",
},
Governance: {
Chain: "MATIC",
Address: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
Bytes: "0x506DC4c6408813948470a06ef6e4a1DaF228dbd5",
Id: "0xaf9c9bf1d10f96432ef783c6ff34815d5e22e5083554a9940cf5dcbbdce7cfe7",
},
},
// Node Endpoints
Endpoints : {
Orbit: {
rpc : "https://bridge-en.orbitchain.io:7443",
socket: "wss://bridge-en.orbitchain.io:7444",
},
Avax: {
rpc: ["https://api.avax.network/ext/bc/C/rpc", "https://rpc.ankr.com/avalanche", "https://ava-mainnet.public.blastapi.io/ext/bc/C/rpc"],
socket: "https://api.avax.network/ext/bc/C/ws",
},
Bsc: {
rpc : ["https://bsc-dataseed.binance.org", "https://bsc-dataseed1.binance.org", "https://rpc.ankr.com/bsc", "https://bsc.chain-node.orbitchain.io:7643"],
socket: "wss://bsc-ws-node.nariox.org:443",
},
Celo: {
rpc: ["https://forno.celo.org", "https://rpc.ankr.com/celo", "https://celo.chain-node.orbitchain.io:7643"],
socket: "wss://forno.celo.org/ws",
},
Eth: {
rpc: ["https://eth.chain-node.orbitchain.io:7643", "https://rpc.ankr.com/eth", "https://mainnet.infura.io/v3/[PROJECT_ID]"],
socket: "wss://mainnet.infura.io/ws/v3/[PROJECT_ID]",
beacon: "https://beacon.chain-node.orbitchain.io:7643",
},
Fantom: {
rpc: ["https://rpc.ftm.tools", "https://rpc.fantom.network", "https://rpc.ankr.com/fantom"],
socket: "wss://wsapi.fantom.network",
},
Harmony: {
rpc: ["https://api.harmony.one", "https://rpc.ankr.com/harmony", "https://harmony-mainnet.chainstacklabs.com"],
socket: "wss://ws.s0.t.hmny.io",
},
Heco: {
rpc : ["https://heco.chain-node.orbitchain.io:7643", "https://http-mainnet.hecochain.com"],
socket: "wss://ws-mainnet.hecochain.com",
},
Klaytn: {
isKas: true,
Kas: {
// KAS Default
rpc: "https://node-api.klaytnapi.com/v1/klaytn",
chainId: 8217,
// Your Credential
accessKeyId: "",
secretAccessKey: ""
},
rpc: ["https://klaytn-mainnet-rpc.allthatnode.com:8551", "https://klaytn01.fandom.finance", "https://klaytn02.fandom.finance", "https://public-node-api.klaytnapi.com/v1/cypress"],
socket: "wss://public-node-api.klaytnapi.com/v1/cypress/ws"
},
Matic: {
rpc : ["https://polygon-rpc.com", "https://matic.chain-node.orbitchain.io:7643", "https://rpc.ankr.com/polygon"],
socket: "wss://rpc-mainnet.matic.quiknode.pro",
},
Moonriver: {
rpc: ["https://moonriver.public.blastapi.io", "https://rpc.api.moonriver.moonbeam.network"],
socket: "wss://wss.api.moonriver.moonbeam.network",
},
Oec: {
rpc: ["https://exchainrpc.okex.org", "https://okc-mainnet.gateway.pokt.network/v1/lb/6275309bea1b320039c893ff"],
socket: "wss://exchainws.okex.org:8443",
},
Stacks: {
url: "https://stacks-node-api.mainnet.stacks.co",
network: "mainnet",
},
Ton: {
rpc: "https://toncenter.com/api/v2/jsonRPC",
apiKey: "REPLACE THIS STIRING TO ISSUED API TOKEN",
},
Xdai: {
rpc: ["https://rpc.gnosischain.com", "https://rpc.ankr.com/gnosis", "https://gnosis-mainnet.public.blastapi.io"],
socket: "ws://xdai.poanetwork.dev:8546",
},
},
ETH_CHAIN_ID: '0x1',
AVAX_CHAIN_ID: '0xa86a',
CELO_CHAIN_ID: '0xa4ec',
FANTOM_CHAIN_ID: '0xfa',
HARMONY_CHAIN_ID: 1666600000,
HARMONY_GAS_PRICE: 50 * 10 ** 9,
HECO_CHAIN_ID: '0x80',
MATIC_CHAIN_ID: '0x89',
OEC_CHAIN_ID: 66,
ETH_TERMINAL_TOTAL_DIFFICULTY: "58750000000000000000000",
DEBUG: true,
LOGLEVEL: 'debug',
VALIDATOR_ACCOUNT: {
TYPE: "PK",
DATA: "0000000000000000000000000000000000000000000000000000000000000000",
},
VALIDATOR_MONITOR: {
Ozys: {
Endpoint: "https://bridge-en.orbitchain.io:7743/v1/validator/report",
Interval: 60 * 1000,
},
},
}