forked from orbit-chain/bridge-launch-governance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.js
198 lines (191 loc) · 7.72 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
module.exports = {
// operating chain list
chainList: [
'klaytn-v2',
'xrp',
'orbit',
'avax',
'bsc',
'celo',
'heco',
'fantom',
'harmony',
'matic',
'moonriver',
'oec',
'xdai',
],
// Bridge Addresses
BridgeAddress: {
OrbitHubContract: "0xb5680a55d627c52de992e3ea52a86f19da475399",
KlaytnBridgeContract: "0x1af95905bb0042803f90e36d79d13aea6cd58969",
OrbitBridgeContract: "0x77a49649964a186Fd2b8754758c39c9438a6E9aB",
XrpBridgeContract: "0x4e6c37162021fda832fb95aff42af92c2e8b6257",
XrpAddressBook: "0x215ce2b450bbbab82825df13885851f8ee6234e0",
MessageMultiSigWallet: {
Hub: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
Klaytn: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
Orbit: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
Xrp: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
Avax: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
Bsc: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
Celo: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
Fantom: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
Harmony: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
Heco: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
Matic: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
Moonriver: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
Oec: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
Xdai: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
},
Klay: {
KlaytnMinterContract: "0x917655B6C27A3D831b4193CE18ECe6bfcC806BF8",
MessageMultiSigWallet: "0x22Bef83bABcC1169855D748D13523CA10aD87dF7",
},
Orbit: {
OrbitMinterContract: "0xe288716122c53e8df43884cb06b85cffdaa57546",
MessageMultiSigWallet: "0x1e9f03b3bdcb33bfec6ef504356bcbc72392e3c5",
},
Avax: {
AvaxMinterContract: "0xE38ca00A6FD34B793012Bb9c1471Adc4E98386cF",
MessageMultiSigWallet: "0xfa50391705D2FA7ac47Dd211B78378825bc763e6",
AvaxAdminContract: "0x009071058740276327A393B084eC447b8F0Fc6Ae",
},
Bsc: {
BscMinterContract: "0xE38ca00A6FD34B793012Bb9c1471Adc4E98386cF",
MessageMultiSigWallet: "0xfa50391705D2FA7ac47Dd211B78378825bc763e6",
BscAdminContract: "0x009071058740276327A393B084eC447b8F0Fc6Ae",
},
Celo: {
CeloMinterContract: "0xE38ca00A6FD34B793012Bb9c1471Adc4E98386cF",
MessageMultiSigWallet: "0xfa50391705D2FA7ac47Dd211B78378825bc763e6",
CeloAdminContract: "0x009071058740276327A393B084eC447b8F0Fc6Ae",
},
Fantom: {
FantomMinterContract: "0xE38ca00A6FD34B793012Bb9c1471Adc4E98386cF",
MessageMultiSigWallet: "0xfa50391705D2FA7ac47Dd211B78378825bc763e6",
FantomAdminContract: "0x009071058740276327A393B084eC447b8F0Fc6Ae",
},
Harmony: {
HarmonyMinterContract: "0xE38ca00A6FD34B793012Bb9c1471Adc4E98386cF",
MessageMultiSigWallet: "0xfa50391705D2FA7ac47Dd211B78378825bc763e6",
HarmonyAdminContract: "0x009071058740276327A393B084eC447b8F0Fc6Ae",
},
Heco: {
HecoMinterContract: "0xE38ca00A6FD34B793012Bb9c1471Adc4E98386cF",
MessageMultiSigWallet: "0xfa50391705D2FA7ac47Dd211B78378825bc763e6",
HecoAdminContract: "0x009071058740276327A393B084eC447b8F0Fc6Ae",
},
Matic: {
MaticMinterContract: "0xE38ca00A6FD34B793012Bb9c1471Adc4E98386cF",
MessageMultiSigWallet: "0xfa50391705D2FA7ac47Dd211B78378825bc763e6",
MaticAdminContract: "0x009071058740276327A393B084eC447b8F0Fc6Ae",
},
Moonriver: {
MoonriverMinterContract: "0xE38ca00A6FD34B793012Bb9c1471Adc4E98386cF",
MessageMultiSigWallet: "0xfa50391705D2FA7ac47Dd211B78378825bc763e6",
MoonriverAdminContract: "0x009071058740276327A393B084eC447b8F0Fc6Ae",
},
Oec: {
OecMinterContract: "0xE38ca00A6FD34B793012Bb9c1471Adc4E98386cF",
MessageMultiSigWallet: "0xfa50391705D2FA7ac47Dd211B78378825bc763e6",
OecAdminContract: "0x009071058740276327A393B084eC447b8F0Fc6Ae",
},
Xdai: {
XdaiMinterContract: "0xE38ca00A6FD34B793012Bb9c1471Adc4E98386cF",
MessageMultiSigWallet: "0xfa50391705D2FA7ac47Dd211B78378825bc763e6",
XdaiAdminContract: "0x009071058740276327A393B084eC447b8F0Fc6Ae",
},
Governance: {
Chain: "XRP",
Address: "rLcxBUrZESqHnruY4fX7GQthRjDCDSAWia",
Bytes: "0x00d73701c4123236e2d61d372052eadcc3ede48b06e617b033",
Id: "0xfd13fd208d2a902efdd49dab8b23889bd6fac1141b9b88666c3e4e9c6612b5f1",
},
},
// Node Endpoints
Endpoints : {
Orbit: {
rpc : "https://bridge-en.orbitchain.io:7443",
socket: "wss://bridge-en.orbitchain.io:7444",
},
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"
},
Xrp: {
rpc: "https://s1.ripple.com:51234",
socket: "wss://s1.ripple.com:443",
},
Avax: {
rpc: "https://api.avax.network/ext/bc/C/rpc",
socket: "https://api.avax.network/ext/bc/C/ws",
},
Bsc: {
rpc : "https://bsc-dataseed.binance.org",
socket: "wss://bsc-ws-node.nariox.org:443",
},
Celo: {
rpc: "https://forno.celo.org",
socket: "wss://forno.celo.org/ws",
},
Fantom: {
rpc: "https://rpc.ftm.tools",
socket: "wss://wsapi.fantom.network",
},
Harmony: {
rpc: "https://api.harmony.one",
socket: "wss://ws.s0.t.hmny.io",
},
Heco: {
rpc : ["https://heco.chain-node.orbitchain.io:7643", "https://http-mainnet-node.huobichain.com"],
socket: "wss://ws-mainnet.hecochain.com",
},
Matic: {
rpc: ["https://polygon-rpc.com", "https://matic.chain-node.orbitchain.io:7643",],
socket: "wss://rpc-mainnet.matic.quiknode.pro",
},
Moonriver: {
rpc: "https://moonriver.api.onfinality.io/public",
socket: "wss://moonriver.api.onfinality.io/public-ws",
},
Oec: {
rpc: "https://exchainrpc.okex.org",
socket: "wss://exchainws.okex.org:8443",
},
Xdai: {
rpc: "https://rpc.gnosischain.com",
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,
DEBUG: true,
LOGLEVEL: 'debug',
VALIDATOR_ACCOUNT: {
TYPE: "PK",
DATA: "0000000000000000000000000000000000000000000000000000000000000000",
},
VALIDATOR_MONITOR: {
Ozys: {
Endpoint: "https://bridge-en.orbitchain.io:7743/xrpvault/v1/validator/report",
Interval: 60 * 1000,
},
},
}