Skip to content

Commit 3412d52

Browse files
committedMay 27, 2020
Fix config
1 parent cd40e96 commit 3412d52

File tree

1 file changed

+164
-30
lines changed

1 file changed

+164
-30
lines changed
 

‎src/config.ts

+164-30
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const EmbedChainInfos: ChainInfo[] = [
2020
rpc: "http://goz.chainapsis.com:80",
2121
// Will not work.
2222
rest: "http://goz.chainapsis.com:80/rest",
23-
chainId: "chainapsis-1a",
23+
chainId: "chainapsis-2",
2424
chainName: "ChainApsis",
2525
nativeCurrency: "apsis",
2626
walletUrl:
@@ -34,36 +34,89 @@ export const EmbedChainInfos: ChainInfo[] = [
3434
faucetUrl: "http://goz.chainapsis.com:8000"
3535
},
3636
{
37-
rpc: "http://34.83.0.237:26657",
37+
rpc: "http://ibc.bharvest.io:26657",
3838
// Will not work.
39-
rest: "http://34.83.0.237:26657/rest",
40-
chainId: "gameofzoneshub-1a",
41-
chainName: "GoZ Hub",
42-
nativeCurrency: "doubloons",
39+
rest: "http://ibc.bharvest.io:26657/rest",
40+
chainId: "B-Harvest-2",
41+
chainName: "B-Harvest",
42+
nativeCurrency: "bhcoin",
4343
walletUrl:
4444
process.env.NODE_ENV === "production"
4545
? "https://wallet.keplr.app/#/cosmoshub-3"
4646
: "http://localhost:8081/#/cosmoshub-3",
4747
bip44: new BIP44(44, 118, 0),
4848
bech32Config: defaultBech32Config("cosmos"),
49-
currencies: ["doubloons"],
50-
feeCurrencies: ["doubloons"]
49+
currencies: ["bhcoin"],
50+
feeCurrencies: ["bhcoin"],
51+
faucetUrl: "http://34.64.105.250:8000"
52+
},
53+
{
54+
rpc: "http://95.217.180.90:26657",
55+
// Will not work.
56+
rest: "http://95.217.180.90:26657/rest",
57+
chainId: "p2p-org-2",
58+
chainName: "P2P",
59+
nativeCurrency: "ptp",
60+
walletUrl:
61+
process.env.NODE_ENV === "production"
62+
? "https://wallet.keplr.app/#/cosmoshub-3"
63+
: "http://localhost:8081/#/cosmoshub-3",
64+
bip44: new BIP44(44, 118, 0),
65+
bech32Config: defaultBech32Config("cosmos"),
66+
currencies: ["ptp"],
67+
feeCurrencies: ["ptp"],
68+
faucetUrl: "http://95.217.180.90:8000"
5169
},
5270
{
5371
rpc: "http://goz.desmos.network:80",
54-
// will not work.
72+
// Will not work.
5573
rest: "http://goz.desmos.network:80/rest",
56-
chainId: "morpheus-goz-1a",
74+
chainId: "morpheus-goz-2",
5775
chainName: "Morpheus",
5876
nativeCurrency: "daric",
5977
walletUrl:
6078
process.env.NODE_ENV === "production"
6179
? "https://wallet.keplr.app/#/cosmoshub-3"
6280
: "http://localhost:8081/#/cosmoshub-3",
6381
bip44: new BIP44(44, 118, 0),
64-
bech32Config: defaultBech32Config("desmos"),
82+
bech32Config: defaultBech32Config("cosmos"),
6583
currencies: ["daric"],
66-
feeCurrencies: ["daric"]
84+
feeCurrencies: ["daric"],
85+
faucetUrl: "http://34.64.105.250:8001"
86+
},
87+
{
88+
rpc: "http://goz.val.network:26657",
89+
// Will not work.
90+
rest: "http://goz.val.network:26657/rest",
91+
chainId: "Compass-2",
92+
chainName: "Compass",
93+
nativeCurrency: "compass",
94+
walletUrl:
95+
process.env.NODE_ENV === "production"
96+
? "https://wallet.keplr.app/#/cosmoshub-3"
97+
: "http://localhost:8081/#/cosmoshub-3",
98+
bip44: new BIP44(44, 118, 0),
99+
bech32Config: defaultBech32Config("cosmos"),
100+
currencies: ["compass"],
101+
feeCurrencies: ["compass"],
102+
faucetUrl: "http://goz.val.network:8000"
103+
},
104+
{
105+
rpc: "http://3.112.29.150:26657",
106+
// Will not work.
107+
rest: "http://3.112.29.150:26657/rest",
108+
chainId: "okchain-2",
109+
chainName: "OKchain",
110+
nativeCurrency: "okt",
111+
walletUrl:
112+
process.env.NODE_ENV === "production"
113+
? "https://wallet.keplr.app/#/cosmoshub-3"
114+
: "http://localhost:8081/#/cosmoshub-3",
115+
bip44: new BIP44(44, 118, 0),
116+
bech32Config: defaultBech32Config("cosmos"),
117+
currencies: ["okt"],
118+
feeCurrencies: ["okt"],
119+
faucetUrl: "http://3.112.29.150:8000"
67120
}
68121
];
69122

@@ -83,15 +136,30 @@ export const Currencies: {
83136
coinMinimalDenom: "uapsis",
84137
coinDecimals: 6
85138
},
86-
doubloons: {
87-
coinDenom: "DBL",
88-
coinMinimalDenom: "doubloons",
139+
bhcoin: {
140+
coinDenom: "BHCOIN",
141+
coinMinimalDenom: "bhcoin",
89142
coinDecimals: 6
90143
},
91144
daric: {
92145
coinDenom: "DARIC",
93146
coinMinimalDenom: "udaric",
94147
coinDecimals: 6
148+
},
149+
compass: {
150+
coinDenom: "COMPASS",
151+
coinMinimalDenom: "compass",
152+
coinDecimals: 6
153+
},
154+
ptp: {
155+
coinDenom: "PTP",
156+
coinMinimalDenom: "ptp",
157+
coinDecimals: 6
158+
},
159+
okt: {
160+
coinDenom: "OKT",
161+
coinMinimalDenom: "okt",
162+
coinDecimals: 6
95163
}
96164
};
97165

@@ -143,48 +211,114 @@ export interface IBCPathInfo {
143211
}
144212

145213
export const EmbedIBCPathInfo: IBCPathInfo = {
146-
["chainapsis-1a"]: {
147-
["gameofzoneshub-1a"]: {
214+
["chainapsis-2"]: {
215+
["B-Harvest-2"]: {
216+
src: {
217+
channelId: "keplrchanbhdst",
218+
portId: "transfer"
219+
},
220+
dst: {
221+
channelId: "keplrchanbhsrc",
222+
portId: "transfer"
223+
}
224+
},
225+
["p2p-org-2"]: {
226+
src: {
227+
channelId: "keplrchanptpdst",
228+
portId: "transfer"
229+
},
230+
dst: {
231+
channelId: "keplrchanptpsrc",
232+
portId: "transfer"
233+
}
234+
},
235+
["morpheus-goz-2"]: {
236+
src: {
237+
channelId: "keplrchanmordst",
238+
portId: "transfer"
239+
},
240+
dst: {
241+
channelId: "keplrchanmorsrc",
242+
portId: "transfer"
243+
}
244+
},
245+
["Compass-2"]: {
148246
src: {
149-
channelId: "keplrgozsrc",
247+
channelId: "keplrchancomdst",
150248
portId: "transfer"
151249
},
152250
dst: {
153-
channelId: "keplrgozdst",
251+
channelId: "keplrchancomsrc",
154252
portId: "transfer"
155253
}
156254
},
157-
["morpheus-goz-1a"]: {
255+
["okchain-2"]: {
256+
src: {
257+
channelId: "keplrchanokdst",
258+
portId: "transfer"
259+
},
260+
dst: {
261+
channelId: "keplrchanoksrc",
262+
portId: "transfer"
263+
}
264+
}
265+
},
266+
["B-Harvest-2"]: {
267+
["chainapsis-2"]: {
268+
src: {
269+
channelId: "keplrchanbhsrc",
270+
portId: "transfer"
271+
},
272+
dst: {
273+
channelId: "keplrchanbhdst",
274+
portId: "transfer"
275+
}
276+
}
277+
},
278+
["p2p-org-2"]: {
279+
["chainapsis-2"]: {
280+
src: {
281+
channelId: "keplrchanptpsrc",
282+
portId: "transfer"
283+
},
284+
dst: {
285+
channelId: "keplrchanptpdst",
286+
portId: "transfer"
287+
}
288+
}
289+
},
290+
["morpheus-goz-2"]: {
291+
["chainapsis-2"]: {
158292
src: {
159-
channelId: "fiocxrsnjz",
293+
channelId: "keplrchanmorsrc",
160294
portId: "transfer"
161295
},
162296
dst: {
163-
channelId: "sgxgjsihiq",
297+
channelId: "keplrchanmordst",
164298
portId: "transfer"
165299
}
166300
}
167301
},
168-
["morpheus-goz-1a"]: {
169-
["chainapsis-1a"]: {
302+
["Compass-2"]: {
303+
["chainapsis-2"]: {
170304
src: {
171-
channelId: "sgxgjsihiq",
305+
channelId: "keplrchancomsrc",
172306
portId: "transfer"
173307
},
174308
dst: {
175-
channelId: "fiocxrsnjz",
309+
channelId: "keplrchancomdst",
176310
portId: "transfer"
177311
}
178312
}
179313
},
180-
["gameofzoneshub-1a"]: {
181-
["chainapsis-1a"]: {
314+
["okchain-2"]: {
315+
["chainapsis-2"]: {
182316
src: {
183-
channelId: "keplrgozdst",
317+
channelId: "keplrchanoksrc",
184318
portId: "transfer"
185319
},
186320
dst: {
187-
channelId: "keplrgozsrc",
321+
channelId: "keplrchanokdst",
188322
portId: "transfer"
189323
}
190324
}

0 commit comments

Comments
 (0)
Please sign in to comment.