@lifi/data-types 2.3.0-alpha.1 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1304 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getChainById = exports.getChainByKey = exports.supportedChains = exports.supportedUXTOChains = exports.supportedSolanaChains = exports.supportedEVMChains = void 0;
4
- const types_1 = require("@lifi/types");
5
- const multicall_1 = require("../multicall");
6
- const utils_1 = require("./utils");
7
- // chainNames aligned with https://github.com/ethereum-lists/chains/tree/master/_data/chains
8
- exports.supportedEVMChains = [
9
- // 1 - Ethereum
10
- {
11
- key: types_1.ChainKey.ETH,
12
- chainType: types_1.ChainType.EVM,
13
- name: 'Ethereum',
14
- coin: types_1.CoinKey.ETH,
15
- id: 1,
16
- mainnet: true,
17
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum.svg',
18
- tokenlistUrl: 'https://gateway.ipfs.io/ipns/tokens.uniswap.org',
19
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.ETH],
20
- metamask: {
21
- chainId: (0, utils_1.prefixChainId)(1),
22
- blockExplorerUrls: ['https://etherscan.io/'],
23
- chainName: 'Ethereum Mainnet',
24
- nativeCurrency: {
25
- name: 'ETH',
26
- symbol: 'ETH',
27
- decimals: 18,
28
- },
29
- rpcUrls: [
30
- 'https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161',
31
- ],
32
- },
33
- },
34
- // 137 - Polygon
35
- {
36
- key: types_1.ChainKey.POL,
37
- chainType: types_1.ChainType.EVM,
38
- name: 'Polygon',
39
- coin: types_1.CoinKey.MATIC,
40
- id: 137,
41
- mainnet: true,
42
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/polygon.svg',
43
- tokenlistUrl: 'https://unpkg.com/quickswap-default-token-list@1.0.71/build/quickswap-default.tokenlist.json',
44
- faucetUrls: ['https://stakely.io/faucet/polygon-matic'],
45
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.POL],
46
- // https://docs.matic.network/docs/develop/metamask/config-matic/
47
- metamask: {
48
- chainId: (0, utils_1.prefixChainId)(137),
49
- blockExplorerUrls: [
50
- 'https://polygonscan.com/',
51
- 'https://explorer-mainnet.maticvigil.com/',
52
- ],
53
- chainName: 'Matic(Polygon) Mainnet',
54
- nativeCurrency: {
55
- name: 'MATIC',
56
- symbol: 'MATIC',
57
- decimals: 18,
58
- },
59
- rpcUrls: [
60
- 'https://polygon-rpc.com/',
61
- 'https://rpc-mainnet.maticvigil.com/',
62
- ],
63
- },
64
- },
65
- // 56 - Binance Smart Chain
66
- {
67
- key: types_1.ChainKey.BSC,
68
- chainType: types_1.ChainType.EVM,
69
- name: 'BSC',
70
- coin: types_1.CoinKey.BNB,
71
- id: 56,
72
- mainnet: true,
73
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/bsc.svg',
74
- tokenlistUrl: 'https://tokens.pancakeswap.finance/pancakeswap-extended.json',
75
- faucetUrls: ['https://stakely.io/faucet/bsc-chain-bnb'],
76
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.BSC],
77
- // https://docs.binance.org/smart-chain/wallet/metamask.html
78
- metamask: {
79
- chainId: (0, utils_1.prefixChainId)(56),
80
- blockExplorerUrls: ['https://bscscan.com/'],
81
- chainName: 'Binance Smart Chain Mainnet',
82
- nativeCurrency: {
83
- name: 'BNB',
84
- symbol: 'BNB',
85
- decimals: 18,
86
- },
87
- rpcUrls: [
88
- 'https://bsc-dataseed.binance.org/',
89
- 'https://bsc-dataseed1.defibit.io/',
90
- 'https://bsc-dataseed1.ninicoin.io/',
91
- ],
92
- },
93
- },
94
- // 100 - Gnosis
95
- {
96
- key: types_1.ChainKey.DAI,
97
- chainType: types_1.ChainType.EVM,
98
- name: 'Gnosis',
99
- coin: types_1.CoinKey.DAI,
100
- id: 100,
101
- mainnet: true,
102
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/gnosis.svg',
103
- tokenlistUrl: 'https://tokens.honeyswap.org/',
104
- faucetUrls: ['https://stakely.io/faucet/xdai-chain'],
105
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.DAI],
106
- // https://www.xdaichain.com/for-users/wallets/metamask/metamask-setup
107
- metamask: {
108
- chainId: (0, utils_1.prefixChainId)(100),
109
- blockExplorerUrls: ['https://blockscout.com/xdai/mainnet/'],
110
- chainName: 'Gnosis Chain',
111
- nativeCurrency: {
112
- name: 'xDai',
113
- symbol: 'xDai',
114
- decimals: 18,
115
- },
116
- rpcUrls: [
117
- 'https://rpc.gnosis.gateway.fm',
118
- 'https://rpc.gnosischain.com',
119
- 'https://rpc.ankr.com/gnosis',
120
- ],
121
- },
122
- },
123
- // 250 - Fantom
124
- {
125
- key: types_1.ChainKey.FTM,
126
- chainType: types_1.ChainType.EVM,
127
- name: 'Fantom',
128
- coin: types_1.CoinKey.FTM,
129
- id: 250,
130
- mainnet: true,
131
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fantom.svg',
132
- tokenlistUrl: 'https://raw.githubusercontent.com/SpookySwap/spooky-info/master/src/constants/token/spookyswap.json',
133
- faucetUrls: [
134
- 'https://stakely.io/faucet/fantom-blockchain-ftm',
135
- 'https://docs.spookyswap.finance/getting-started/how-to-get-fantom-gas',
136
- ],
137
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.FTM],
138
- // https://docs.fantom.foundation/tutorials/set-up-metamask
139
- metamask: {
140
- chainId: (0, utils_1.prefixChainId)(250),
141
- blockExplorerUrls: ['https://ftmscan.com/'],
142
- chainName: 'Fantom Opera',
143
- nativeCurrency: {
144
- name: 'FTM',
145
- symbol: 'FTM',
146
- decimals: 18,
147
- },
148
- rpcUrls: ['https://rpc.ftm.tools/', 'https://rpcapi.fantom.network'],
149
- },
150
- },
151
- // 66 - OKXChain
152
- {
153
- key: types_1.ChainKey.OKT,
154
- chainType: types_1.ChainType.EVM,
155
- name: 'OKXChain',
156
- coin: types_1.CoinKey.OKT,
157
- id: 66,
158
- mainnet: true,
159
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/okx.svg',
160
- tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/okex.json',
161
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.OKT],
162
- // https://okc-docs.readthedocs.io/en/latest/developers/quick-start-for-mainnet.html
163
- metamask: {
164
- chainId: (0, utils_1.prefixChainId)(66),
165
- blockExplorerUrls: ['https://www.oklink.com/en/okc/'],
166
- chainName: 'OKXChain Mainnet',
167
- nativeCurrency: {
168
- name: 'OKT',
169
- symbol: 'OKT',
170
- decimals: 18,
171
- },
172
- rpcUrls: ['https://exchainrpc.okex.org'],
173
- },
174
- },
175
- // 43114 - Avalanche
176
- {
177
- key: types_1.ChainKey.AVA,
178
- chainType: types_1.ChainType.EVM,
179
- name: 'Avalanche',
180
- coin: types_1.CoinKey.AVAX,
181
- id: 43114,
182
- mainnet: true,
183
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/avalanche.svg',
184
- tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/avalanche.json',
185
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.AVA],
186
- // https://support.avax.network/en/articles/4626956-how-do-i-set-up-metamask-on-avalanche
187
- metamask: {
188
- chainId: (0, utils_1.prefixChainId)(43114),
189
- blockExplorerUrls: ['https://cchain.explorer.avax.network/'],
190
- chainName: 'Avalanche Mainnet',
191
- nativeCurrency: {
192
- name: 'AVAX',
193
- symbol: 'AVAX',
194
- decimals: 18,
195
- },
196
- rpcUrls: ['https://api.avax.network/ext/bc/C/rpc'],
197
- },
198
- },
199
- // 42161 - Arbitrum
200
- {
201
- key: types_1.ChainKey.ARB,
202
- chainType: types_1.ChainType.EVM,
203
- name: 'Arbitrum',
204
- coin: types_1.CoinKey.ETH,
205
- id: 42161,
206
- mainnet: true,
207
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/arbitrum.svg',
208
- tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/arbitrum.json',
209
- faucetUrls: ['https://bridge.arbitrum.io/'],
210
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.ARB],
211
- metamask: {
212
- chainId: (0, utils_1.prefixChainId)(42161),
213
- blockExplorerUrls: ['https://arbiscan.io/'],
214
- chainName: 'Arbitrum',
215
- nativeCurrency: {
216
- name: 'AETH',
217
- symbol: 'AETH',
218
- decimals: 18, // check
219
- },
220
- rpcUrls: ['https://arb1.arbitrum.io/rpc'],
221
- },
222
- },
223
- // 128 - Huobi ECO Chain Mainnet
224
- {
225
- key: types_1.ChainKey.HEC,
226
- chainType: types_1.ChainType.EVM,
227
- name: 'Huobi ECO Chain Mainnet',
228
- coin: types_1.CoinKey.HT,
229
- id: 128,
230
- mainnet: true,
231
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/heco.png',
232
- tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/heco.json',
233
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.HEC],
234
- metamask: {
235
- chainId: (0, utils_1.prefixChainId)(128),
236
- blockExplorerUrls: ['https://hecoinfo.com/'],
237
- chainName: 'Huobi ECO Chain Mainnet',
238
- nativeCurrency: {
239
- name: 'HT',
240
- symbol: 'HT',
241
- decimals: 18,
242
- },
243
- rpcUrls: ['https://http-mainnet.hecochain.com'],
244
- },
245
- },
246
- // 10 - Optimism
247
- {
248
- key: types_1.ChainKey.OPT,
249
- chainType: types_1.ChainType.EVM,
250
- name: 'Optimism',
251
- coin: types_1.CoinKey.ETH,
252
- id: 10,
253
- mainnet: true,
254
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/optimism.svg',
255
- tokenlistUrl: 'https://static.optimism.io/optimism.tokenlist.json',
256
- faucetUrls: ['https://gateway.optimism.io/'],
257
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.OPT],
258
- metamask: {
259
- chainId: (0, utils_1.prefixChainId)(10),
260
- blockExplorerUrls: ['https://optimistic.etherscan.io/'],
261
- chainName: 'Optimism',
262
- nativeCurrency: {
263
- name: 'ETH',
264
- symbol: 'ETH',
265
- decimals: 18,
266
- },
267
- rpcUrls: ['https://mainnet.optimism.io/'],
268
- },
269
- },
270
- // 32659 - Fusion (anyswap)
271
- {
272
- key: types_1.ChainKey.FSN,
273
- chainType: types_1.ChainType.EVM,
274
- name: 'Fusion Mainnet',
275
- coin: types_1.CoinKey.FSN,
276
- id: 32659,
277
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fusion.png',
278
- mainnet: true,
279
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.FSN],
280
- // https://support.avax.network/en/articles/4626956-how-do-i-set-up-metamask-on-avalanche
281
- metamask: {
282
- chainId: (0, utils_1.prefixChainId)(32659),
283
- blockExplorerUrls: ['https://fsnex.com/'],
284
- chainName: 'Fusion Mainnet',
285
- nativeCurrency: {
286
- name: 'FSN',
287
- symbol: 'FSN',
288
- decimals: 18,
289
- },
290
- rpcUrls: ['https://fsnmainnet2.anyswap.exchange'],
291
- },
292
- },
293
- // 1666600000 - Harmony Mainnet Shard 0
294
- {
295
- key: types_1.ChainKey.ONE,
296
- chainType: types_1.ChainType.EVM,
297
- name: 'Harmony',
298
- coin: types_1.CoinKey.ONE,
299
- id: 1666600000,
300
- mainnet: true,
301
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/harmony.svg',
302
- tokenlistUrl: 'https://d1xrz6ki9z98vb.cloudfront.net/venomswap/lists/venomswap-default.tokenlist.json',
303
- faucetUrls: ['https://stakely.io/faucet/harmony-one'],
304
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.ONE],
305
- // https://docs.harmony.one/home/developers/wallets/metamask/connect-metamask-to-the-harmony-chain
306
- metamask: {
307
- chainId: (0, utils_1.prefixChainId)(1666600000),
308
- blockExplorerUrls: ['https://explorer.harmony.one/'],
309
- chainName: 'Harmony Mainnet Shard 0',
310
- nativeCurrency: {
311
- name: 'ONE',
312
- symbol: 'ONE',
313
- decimals: 18,
314
- },
315
- rpcUrls: ['https://api.harmony.one'],
316
- },
317
- },
318
- // 1285 - Moonriver
319
- {
320
- key: types_1.ChainKey.MOR,
321
- chainType: types_1.ChainType.EVM,
322
- name: 'Moonriver',
323
- coin: types_1.CoinKey.MOVR,
324
- id: 1285,
325
- mainnet: true,
326
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/moonriver.svg',
327
- tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/moonriver.json',
328
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.MOR],
329
- metamask: {
330
- chainId: (0, utils_1.prefixChainId)(1285),
331
- blockExplorerUrls: ['https://blockscout.moonriver.moonbeam.network/'],
332
- chainName: 'Moonriver',
333
- nativeCurrency: {
334
- name: 'Moonriver',
335
- symbol: 'MOVR',
336
- decimals: 18,
337
- },
338
- rpcUrls: ['https://rpc.api.moonriver.moonbeam.network'],
339
- },
340
- },
341
- // 1284 Moonbeam
342
- {
343
- key: types_1.ChainKey.MOO,
344
- chainType: types_1.ChainType.EVM,
345
- name: 'Moonbeam',
346
- coin: types_1.CoinKey.GLMR,
347
- id: 1284,
348
- mainnet: true,
349
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/moonbeam.svg',
350
- tokenlistUrl: 'https://raw.githubusercontent.com/BeamSwap/beamswap-tokenlist/main/tokenlist.json',
351
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.MOO],
352
- metamask: {
353
- chainId: (0, utils_1.prefixChainId)(1284),
354
- blockExplorerUrls: ['https://blockscout.moonbeam.network/'],
355
- chainName: 'Moonbeam',
356
- nativeCurrency: {
357
- name: 'GLMR',
358
- symbol: 'GLMR',
359
- decimals: 18,
360
- },
361
- rpcUrls: ['https://rpc.api.moonbeam.network'],
362
- },
363
- },
364
- // 2 - Expanse Network
365
- {
366
- key: types_1.ChainKey.EXP,
367
- chainType: types_1.ChainType.EVM,
368
- name: 'Expanse Network',
369
- coin: types_1.CoinKey.EXP,
370
- id: 2,
371
- mainnet: true,
372
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/expanse.png',
373
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.EXP],
374
- metamask: {
375
- chainId: (0, utils_1.prefixChainId)(2),
376
- blockExplorerUrls: ['https://expanse.tech/'],
377
- chainName: 'Expanse Network',
378
- nativeCurrency: {
379
- name: 'EXP',
380
- symbol: 'EXP',
381
- decimals: 18,
382
- },
383
- rpcUrls: ['https://node.expanse.tech'],
384
- },
385
- },
386
- // 7 - ThaiChain
387
- {
388
- key: types_1.ChainKey.TCH,
389
- chainType: types_1.ChainType.EVM,
390
- name: 'ThaiChain',
391
- coin: types_1.CoinKey.TCH,
392
- id: 7,
393
- mainnet: true,
394
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.TCH],
395
- metamask: {
396
- chainId: (0, utils_1.prefixChainId)(7),
397
- blockExplorerUrls: ['https://thaichain.io/'],
398
- chainName: 'ThaiChain',
399
- nativeCurrency: {
400
- name: 'TCH',
401
- symbol: 'TCH',
402
- decimals: 18,
403
- },
404
- rpcUrls: ['https://rpc.dome.cloud/'],
405
- },
406
- },
407
- // 8 - Ubiq
408
- {
409
- key: types_1.ChainKey.UBQ,
410
- chainType: types_1.ChainType.EVM,
411
- name: 'Ubiq',
412
- coin: types_1.CoinKey.UBQ,
413
- id: 8,
414
- mainnet: true,
415
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.UBQ],
416
- metamask: {
417
- chainId: (0, utils_1.prefixChainId)(8),
418
- blockExplorerUrls: ['https://ubiqscan.io/'],
419
- chainName: 'Ubiq',
420
- nativeCurrency: {
421
- name: 'UBQ',
422
- symbol: 'UBQ',
423
- decimals: 18,
424
- },
425
- rpcUrls: ['https://rpc.octano.dev/'],
426
- },
427
- },
428
- // 11 - Metadium Mainnet
429
- {
430
- key: types_1.ChainKey.MET,
431
- chainType: types_1.ChainType.EVM,
432
- name: 'Metadium Mainnet',
433
- coin: types_1.CoinKey.META,
434
- id: 11,
435
- mainnet: true,
436
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.MET],
437
- metamask: {
438
- chainId: (0, utils_1.prefixChainId)(11),
439
- blockExplorerUrls: ['https://metadium.com/'],
440
- chainName: 'Metadium Mainnet',
441
- nativeCurrency: {
442
- name: 'META',
443
- symbol: 'META',
444
- decimals: 18,
445
- },
446
- rpcUrls: ['https://api.metadium.com/prod'],
447
- },
448
- },
449
- // 15 - Diode Prenet
450
- {
451
- key: types_1.ChainKey.DIO,
452
- chainType: types_1.ChainType.EVM,
453
- name: 'DIODE',
454
- coin: types_1.CoinKey.DIODE,
455
- id: 15,
456
- mainnet: true,
457
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.DIO],
458
- metamask: {
459
- chainId: (0, utils_1.prefixChainId)(15),
460
- blockExplorerUrls: ['https://diode.io/prenet/'],
461
- chainName: 'Diode Prenet',
462
- nativeCurrency: {
463
- name: 'Diodes',
464
- symbol: 'DIODE',
465
- decimals: 18,
466
- },
467
- rpcUrls: ['https://prenet.diode.io:8443/'],
468
- },
469
- },
470
- // 42220 Celo Mainnet
471
- {
472
- key: types_1.ChainKey.CEL,
473
- chainType: types_1.ChainType.EVM,
474
- name: 'CELO',
475
- coin: types_1.CoinKey.CELO,
476
- id: 42220,
477
- mainnet: true,
478
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/celo.svg',
479
- tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/celo.json',
480
- faucetUrls: [
481
- 'https://stakely.io/faucet/celo-platform',
482
- 'https://free-online-app.com/faucet-for-eth-evm-chains/',
483
- ],
484
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.CEL],
485
- metamask: {
486
- chainId: (0, utils_1.prefixChainId)(42220),
487
- blockExplorerUrls: ['https://explorer.celo.org/'],
488
- chainName: 'Celo Mainnet',
489
- nativeCurrency: {
490
- name: 'CELO',
491
- symbol: 'CELO',
492
- decimals: 18,
493
- },
494
- rpcUrls: ['https://forno.celo.org'],
495
- },
496
- },
497
- // 122 Fuse Mainnet
498
- {
499
- key: types_1.ChainKey.FUS,
500
- chainType: types_1.ChainType.EVM,
501
- name: 'FUSE',
502
- coin: types_1.CoinKey.FUSE,
503
- id: 122,
504
- mainnet: true,
505
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fuse.svg',
506
- tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/fuse.json',
507
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.FUS],
508
- metamask: {
509
- chainId: (0, utils_1.prefixChainId)(122),
510
- blockExplorerUrls: ['https://explorer.fuse.io/'],
511
- chainName: 'Fuse Mainnet',
512
- nativeCurrency: {
513
- name: 'FUSE',
514
- symbol: 'FUSE',
515
- decimals: 18,
516
- },
517
- rpcUrls: ['https://rpc.fuse.io'],
518
- },
519
- },
520
- // 40 Telos EVM Mainnet
521
- {
522
- key: types_1.ChainKey.TLO,
523
- chainType: types_1.ChainType.EVM,
524
- name: 'Telos',
525
- coin: types_1.CoinKey.TLOS,
526
- id: 40,
527
- mainnet: true,
528
- tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/telos.json',
529
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.TLO],
530
- metamask: {
531
- chainId: (0, utils_1.prefixChainId)(40),
532
- blockExplorerUrls: ['https://telos.net/'],
533
- chainName: 'Telos EVM Mainnet',
534
- nativeCurrency: {
535
- name: 'Telos',
536
- symbol: 'TLOS',
537
- decimals: 18,
538
- },
539
- rpcUrls: ['https://mainnet.telos.net/evm'],
540
- },
541
- },
542
- // 25 Cronos Mainnet Beta
543
- {
544
- key: types_1.ChainKey.CRO,
545
- chainType: types_1.ChainType.EVM,
546
- name: 'Cronos',
547
- coin: types_1.CoinKey.CRO,
548
- id: 25,
549
- mainnet: true,
550
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/cronos.svg',
551
- tokenlistUrl: 'https://raw.githubusercontent.com/cronaswap/cronaswap-tokenlists/main/cronaswap-default.tokenlist.json',
552
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.CRO],
553
- metamask: {
554
- chainId: (0, utils_1.prefixChainId)(25),
555
- blockExplorerUrls: ['https://cronos.crypto.org/explorer/'],
556
- chainName: 'Cronos',
557
- nativeCurrency: {
558
- name: 'Crypto.org Coin',
559
- symbol: 'CRO',
560
- decimals: 18,
561
- },
562
- rpcUrls: ['https://evm-cronos.crypto.org'],
563
- },
564
- },
565
- // 288 Boba Network
566
- {
567
- key: types_1.ChainKey.BOB,
568
- chainType: types_1.ChainType.EVM,
569
- name: 'Boba',
570
- coin: types_1.CoinKey.ETH,
571
- id: 288,
572
- mainnet: true,
573
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/boba.png',
574
- // TODO: we should update token list url to latest one
575
- tokenlistUrl: 'https://raw.githubusercontent.com/OolongSwap/boba-community-token-list/main/build/boba.tokenlist.json',
576
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.BOB],
577
- metamask: {
578
- chainId: (0, utils_1.prefixChainId)(288),
579
- blockExplorerUrls: ['https://blockexplorer.boba.network/'],
580
- chainName: 'Boba',
581
- nativeCurrency: {
582
- name: 'ETH',
583
- symbol: 'ETH',
584
- decimals: 18,
585
- },
586
- rpcUrls: ['https://mainnet.boba.network/'],
587
- },
588
- },
589
- // 27 ShibaChain
590
- {
591
- key: types_1.ChainKey.SHI,
592
- chainType: types_1.ChainType.EVM,
593
- name: 'Shiba',
594
- coin: types_1.CoinKey.SHIB,
595
- id: 27,
596
- mainnet: true,
597
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.SHI],
598
- metamask: {
599
- chainId: (0, utils_1.prefixChainId)(27),
600
- blockExplorerUrls: ['https://exp.shibachain.net/'],
601
- chainName: 'Shiba',
602
- nativeCurrency: {
603
- name: 'SHIB',
604
- symbol: 'SHIB',
605
- decimals: 18,
606
- },
607
- rpcUrls: ['https://rpc.shibachain.net'],
608
- },
609
- },
610
- // 29 Genesis L1
611
- {
612
- key: types_1.ChainKey.GL1,
613
- chainType: types_1.ChainType.EVM,
614
- name: 'Genesis L1',
615
- coin: types_1.CoinKey.L1,
616
- id: 29,
617
- mainnet: true,
618
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.GL1],
619
- metamask: {
620
- chainId: (0, utils_1.prefixChainId)(29),
621
- blockExplorerUrls: ['https://explorer.genesisl1.org/'],
622
- chainName: 'Genesis L1',
623
- nativeCurrency: {
624
- name: 'L1',
625
- symbol: 'L1',
626
- decimals: 18,
627
- },
628
- rpcUrls: ['https://rpc.genesisl1.org'],
629
- },
630
- },
631
- // 30 RSK Mainnet
632
- {
633
- key: types_1.ChainKey.RSK,
634
- chainType: types_1.ChainType.EVM,
635
- name: 'RSK Mainnet',
636
- coin: types_1.CoinKey.RBTC,
637
- id: 30,
638
- mainnet: true,
639
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.RSK],
640
- metamask: {
641
- chainId: (0, utils_1.prefixChainId)(30),
642
- blockExplorerUrls: ['https://explorer.rsk.co/'],
643
- chainName: 'RSK Mainnet',
644
- nativeCurrency: {
645
- name: 'RBTC',
646
- symbol: 'RBTC',
647
- decimals: 18,
648
- },
649
- rpcUrls: ['https://public-node.rsk.co'],
650
- },
651
- },
652
- // 35 TBWG Chain
653
- {
654
- key: types_1.ChainKey.TBW,
655
- chainType: types_1.ChainType.EVM,
656
- name: 'TBWG',
657
- coin: types_1.CoinKey.TBG,
658
- id: 35,
659
- mainnet: true,
660
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.TBW],
661
- metamask: {
662
- chainId: (0, utils_1.prefixChainId)(35),
663
- blockExplorerUrls: ['https://tbwg.io/'],
664
- chainName: 'TBWG',
665
- nativeCurrency: {
666
- name: 'TBG',
667
- symbol: 'TBG',
668
- decimals: 18,
669
- },
670
- rpcUrls: ['https://rpc.tbwg.io'],
671
- },
672
- },
673
- // 106 Velas EVM Mainnet
674
- {
675
- key: types_1.ChainKey.VEL,
676
- chainType: types_1.ChainType.EVM,
677
- name: 'Velas',
678
- coin: types_1.CoinKey.VLX,
679
- id: 106,
680
- mainnet: true,
681
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.VEL],
682
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/velas.png',
683
- faucetUrls: ['https://stakely.io/faucet/velas-vlx'],
684
- metamask: {
685
- chainId: (0, utils_1.prefixChainId)(106),
686
- blockExplorerUrls: ['https://evmexplorer.velas.com/'],
687
- chainName: 'Velas',
688
- nativeCurrency: {
689
- name: 'VLX',
690
- symbol: 'VLX',
691
- decimals: 18,
692
- },
693
- rpcUrls: ['https://evmexplorer.velas.com/rpc'],
694
- },
695
- },
696
- // 1088 Metis Andromeda Mainnet
697
- {
698
- key: types_1.ChainKey.MAM,
699
- chainType: types_1.ChainType.EVM,
700
- name: 'Metis',
701
- coin: types_1.CoinKey.METIS,
702
- id: 1088,
703
- mainnet: true,
704
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/metis.png',
705
- tokenlistUrl: 'https://raw.githubusercontent.com/digitalnativeinc/default-token-list/dnf/tokens/metis.json',
706
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.MAM],
707
- metamask: {
708
- chainId: (0, utils_1.prefixChainId)(1088),
709
- blockExplorerUrls: ['https://andromeda-explorer.metis.io/'],
710
- chainName: 'Metis',
711
- nativeCurrency: {
712
- name: 'METIS',
713
- symbol: 'METIS',
714
- decimals: 18,
715
- },
716
- rpcUrls: ['https://andromeda.metis.io/?owner=1088'],
717
- },
718
- },
719
- // 1313161554 Aurora Mainnet
720
- {
721
- key: types_1.ChainKey.AUR,
722
- chainType: types_1.ChainType.EVM,
723
- name: 'Aurora',
724
- coin: types_1.CoinKey.ETH,
725
- id: 1313161554,
726
- mainnet: true,
727
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/aurora.png',
728
- tokenlistUrl: 'https://aurora.dev/tokens.json',
729
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.AUR],
730
- metamask: {
731
- chainId: (0, utils_1.prefixChainId)(1313161554),
732
- blockExplorerUrls: ['https://aurorascan.dev/'],
733
- chainName: 'Aurora',
734
- nativeCurrency: {
735
- name: 'ETH',
736
- symbol: 'ETH',
737
- decimals: 18,
738
- },
739
- rpcUrls: ['https://mainnet.aurora.dev'],
740
- },
741
- },
742
- // EVM = 9001,
743
- {
744
- key: types_1.ChainKey.EVM,
745
- chainType: types_1.ChainType.EVM,
746
- name: 'Evmos',
747
- coin: types_1.CoinKey.EVM,
748
- id: 9001,
749
- mainnet: true,
750
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/evmos.svg',
751
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.EVM],
752
- metamask: {
753
- chainId: (0, utils_1.prefixChainId)(9001),
754
- blockExplorerUrls: ['https://evm.evmos.org/'],
755
- chainName: 'Evmos',
756
- nativeCurrency: {
757
- name: 'EVMOS',
758
- symbol: 'EVMOS',
759
- decimals: 18,
760
- },
761
- rpcUrls: ['https://eth.bd.evmos.org:8545'],
762
- },
763
- },
764
- // 324 - zksync ERA
765
- {
766
- key: types_1.ChainKey.ERA,
767
- chainType: types_1.ChainType.EVM,
768
- name: 'zkSync Era',
769
- coin: types_1.CoinKey.ETH,
770
- id: 324,
771
- mainnet: true,
772
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/zksync.svg',
773
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.ERA],
774
- metamask: {
775
- chainId: (0, utils_1.prefixChainId)(324),
776
- blockExplorerUrls: ['https://explorer.zksync.io/'],
777
- chainName: 'zkSync Era Mainnet',
778
- nativeCurrency: {
779
- name: 'ETH',
780
- symbol: 'ETH',
781
- decimals: 18,
782
- },
783
- rpcUrls: ['https://mainnet.era.zksync.io'],
784
- },
785
- },
786
- // 1101 - Polygon zkEVM
787
- {
788
- key: types_1.ChainKey.PZE,
789
- chainType: types_1.ChainType.EVM,
790
- name: 'Polygon zkEVM',
791
- coin: types_1.CoinKey.ETH,
792
- id: 1101,
793
- mainnet: true,
794
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/zkevm.png',
795
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.PZE],
796
- metamask: {
797
- chainId: (0, utils_1.prefixChainId)(1101),
798
- blockExplorerUrls: ['https://zkevm.polygonscan.com/'],
799
- chainName: 'Polygon zkEVM',
800
- nativeCurrency: {
801
- name: 'ETH',
802
- symbol: 'ETH',
803
- decimals: 18,
804
- },
805
- rpcUrls: ['https://zkevm-rpc.com'],
806
- },
807
- },
808
- {
809
- key: types_1.ChainKey.BAS,
810
- chainType: types_1.ChainType.EVM,
811
- name: 'BASE',
812
- coin: types_1.CoinKey.ETH,
813
- id: types_1.ChainId.BAS,
814
- mainnet: true,
815
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/base.svg',
816
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.BAS],
817
- metamask: {
818
- chainId: (0, utils_1.prefixChainId)(types_1.ChainId.BAS),
819
- blockExplorerUrls: ['https://basescan.org/'],
820
- chainName: 'BASE',
821
- nativeCurrency: {
822
- name: 'Ethereum',
823
- symbol: 'ETH',
824
- decimals: 18,
825
- },
826
- rpcUrls: ['https://mainnet.base.org'],
827
- },
828
- },
829
- {
830
- key: types_1.ChainKey.LNA,
831
- chainType: types_1.ChainType.EVM,
832
- name: 'Linea',
833
- coin: types_1.CoinKey.ETH,
834
- id: 59144,
835
- mainnet: true,
836
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/linea.svg',
837
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.LNA],
838
- metamask: {
839
- chainId: (0, utils_1.prefixChainId)(59144),
840
- blockExplorerUrls: ['https://lineascan.build/'],
841
- chainName: 'LINEA',
842
- nativeCurrency: {
843
- name: 'ETH',
844
- symbol: 'ETH',
845
- decimals: 18,
846
- },
847
- rpcUrls: ['https://rpc.linea.build'],
848
- },
849
- },
850
- // TESTNETS
851
- // 5 - Goerli
852
- {
853
- key: types_1.ChainKey.GOR,
854
- chainType: types_1.ChainType.EVM,
855
- name: 'Goerli',
856
- coin: types_1.CoinKey.ETH,
857
- id: 5,
858
- mainnet: false,
859
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum_goerli.png',
860
- tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
861
- faucetUrls: ['https://goerli-faucet.slock.it/'],
862
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.GOR],
863
- metamask: {
864
- chainId: (0, utils_1.prefixChainId)(5),
865
- blockExplorerUrls: ['https://goerli.etherscan.io/'],
866
- chainName: 'Ethereum Testnet Görli',
867
- nativeCurrency: {
868
- name: 'ETH',
869
- symbol: 'ETH',
870
- decimals: 18,
871
- },
872
- rpcUrls: ['https://rpc.ankr.com/eth_goerli'],
873
- },
874
- },
875
- // 12 - Metadium Testnet
876
- {
877
- key: types_1.ChainKey.METT,
878
- chainType: types_1.ChainType.EVM,
879
- name: 'Metadium Testnet',
880
- coin: types_1.CoinKey.KAL,
881
- id: 12,
882
- mainnet: false,
883
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.METT],
884
- metamask: {
885
- chainId: (0, utils_1.prefixChainId)(12),
886
- blockExplorerUrls: ['https://metadium.com/'],
887
- chainName: 'Metadium Testnet',
888
- nativeCurrency: {
889
- name: 'KAL',
890
- symbol: 'KAL',
891
- decimals: 18,
892
- },
893
- rpcUrls: ['https://api.metadium.com/dev'],
894
- },
895
- },
896
- // 13 - Diode Testnet Staging
897
- {
898
- key: types_1.ChainKey.DIOT,
899
- chainType: types_1.ChainType.EVM,
900
- name: 'DIODE',
901
- coin: types_1.CoinKey.SDIODE,
902
- id: 13,
903
- mainnet: false,
904
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.DIOT],
905
- metamask: {
906
- chainId: (0, utils_1.prefixChainId)(13),
907
- blockExplorerUrls: ['https://diode.io/staging/'],
908
- chainName: 'Diode Testnet Staging',
909
- nativeCurrency: {
910
- name: 'Staging Diodes',
911
- symbol: 'sDIODE',
912
- decimals: 18,
913
- },
914
- rpcUrls: ['https://staging.diode.io:8443/'],
915
- },
916
- },
917
- // 80001 - Mumbai Polygon Testnet
918
- {
919
- key: types_1.ChainKey.MUM,
920
- chainType: types_1.ChainType.EVM,
921
- name: 'Polygon Testnet',
922
- coin: types_1.CoinKey.MATIC,
923
- id: 80001,
924
- mainnet: false,
925
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/polygon_test.png',
926
- tokenlistUrl: 'https://raw.githubusercontent.com/elkfinance/tokens/main/mumbai.tokenlist.json',
927
- faucetUrls: ['https://faucet.matic.network/'],
928
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.MUM],
929
- metamask: {
930
- chainId: (0, utils_1.prefixChainId)(80001),
931
- blockExplorerUrls: ['https://explorer-mumbai.maticvigil.com/'],
932
- chainName: 'Matic(Polygon) Testnet Mumbai',
933
- nativeCurrency: {
934
- name: 'MATIC',
935
- symbol: 'tMATIC',
936
- decimals: 18,
937
- },
938
- rpcUrls: ['https://rpc-mumbai.matic.today'],
939
- },
940
- },
941
- {
942
- key: types_1.ChainKey.ARBG,
943
- chainType: types_1.ChainType.EVM,
944
- name: 'Arbitrum Görli',
945
- coin: types_1.CoinKey.ETH,
946
- id: 421613,
947
- mainnet: false,
948
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/arbitrum_test.png',
949
- faucetUrls: ['https://bridge.arbitrum.io/'],
950
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.ARBG],
951
- metamask: {
952
- chainId: (0, utils_1.prefixChainId)(421613),
953
- blockExplorerUrls: ['https://goerli-rollup-explorer.arbitrum.io/'],
954
- chainName: 'Arbitrum Görli',
955
- nativeCurrency: {
956
- name: 'AGOR',
957
- symbol: 'AGOR',
958
- decimals: 18,
959
- },
960
- rpcUrls: ['https://goerli-rollup.arbitrum.io/rpc/ '],
961
- },
962
- },
963
- // 420 - Optimistic Ethereum (Goerli)
964
- {
965
- key: types_1.ChainKey.OPTG,
966
- chainType: types_1.ChainType.EVM,
967
- name: 'Optimistic Ethereum Testnet Goerli',
968
- coin: types_1.CoinKey.ETH,
969
- id: 420,
970
- mainnet: false,
971
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/optimism_test.png',
972
- faucetUrls: ['https://gateway.optimism.io/'],
973
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.OPTG],
974
- metamask: {
975
- chainId: (0, utils_1.prefixChainId)(420),
976
- blockExplorerUrls: ['https://blockscout.com/optimism/goerli/'],
977
- chainName: 'Optimistic Ethereum Testnet Goerli',
978
- nativeCurrency: {
979
- name: 'tETH',
980
- symbol: 'tETH',
981
- decimals: 18,
982
- },
983
- rpcUrls: ['https://goerli.optimism.io/'],
984
- },
985
- },
986
- // 97 - Binance Smart Chain Testnet
987
- {
988
- key: types_1.ChainKey.BSCT,
989
- chainType: types_1.ChainType.EVM,
990
- name: 'Binance Smart Chain Testnet',
991
- coin: types_1.CoinKey.BNB,
992
- id: 97,
993
- mainnet: false,
994
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/bsc_test.png',
995
- faucetUrls: ['https://testnet.binance.org/faucet-smart'],
996
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.BSCT],
997
- metamask: {
998
- chainId: (0, utils_1.prefixChainId)(97),
999
- blockExplorerUrls: ['https://testnet.bscscan.com/'],
1000
- chainName: 'Binance Smart Chain Testnet',
1001
- nativeCurrency: {
1002
- name: 'tBNB',
1003
- symbol: 'tBNB',
1004
- decimals: 18,
1005
- },
1006
- rpcUrls: ['https://data-seed-prebsc-1-s1.binance.org:8545/'],
1007
- },
1008
- },
1009
- // 256 - Huobi ECO Chain Testnet
1010
- {
1011
- key: types_1.ChainKey.HECT,
1012
- chainType: types_1.ChainType.EVM,
1013
- name: 'Huobi ECO Chain Testnet',
1014
- coin: 'HTT',
1015
- id: 256,
1016
- mainnet: false,
1017
- faucetUrls: ['https://scan-testnet.hecochain.com/faucet'],
1018
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.HECT],
1019
- metamask: {
1020
- chainId: (0, utils_1.prefixChainId)(256),
1021
- blockExplorerUrls: ['https://scan-testnet.hecochain.com/'],
1022
- chainName: 'Huobi ECO Chain Testnet',
1023
- nativeCurrency: {
1024
- name: 'HT',
1025
- symbol: 'HT',
1026
- decimals: 18,
1027
- },
1028
- rpcUrls: ['https://http-testnet.hecochain.com'],
1029
- },
1030
- },
1031
- // 1666700000 - Harmony Testnet 0
1032
- {
1033
- key: types_1.ChainKey.ONET,
1034
- chainType: types_1.ChainType.EVM,
1035
- name: 'Harmony Testnet',
1036
- coin: types_1.CoinKey.ONE,
1037
- id: 1666700000,
1038
- mainnet: false,
1039
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/harmony_test.png',
1040
- // https://docs.harmony.one/home/developers/wallets/metamask/connect-metamask-to-the-harmony-chain
1041
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.ONET],
1042
- metamask: {
1043
- chainId: (0, utils_1.prefixChainId)(1666700000),
1044
- blockExplorerUrls: [
1045
- 'https://explorer.pops.one/',
1046
- 'https://explorer.testnet.harmony.one/',
1047
- ],
1048
- chainName: 'Harmony Testnet Shard 0',
1049
- nativeCurrency: {
1050
- name: 'ONE',
1051
- symbol: 'ONE',
1052
- decimals: 18,
1053
- },
1054
- rpcUrls: ['https://api.s0.b.hmny.io'],
1055
- },
1056
- },
1057
- // 123 Fuse Sparknet
1058
- {
1059
- key: types_1.ChainKey.FUST,
1060
- chainType: types_1.ChainType.EVM,
1061
- name: 'SPARK',
1062
- coin: types_1.CoinKey.SPARK,
1063
- id: 123,
1064
- mainnet: false,
1065
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.FUST],
1066
- metamask: {
1067
- chainId: (0, utils_1.prefixChainId)(123),
1068
- blockExplorerUrls: ['https://explorer.fusespark.io/'],
1069
- chainName: 'Fuse Sparknet',
1070
- nativeCurrency: {
1071
- name: 'Spark',
1072
- symbol: 'SPARK',
1073
- decimals: 18,
1074
- },
1075
- rpcUrls: ['https://rpc.fusespark.io'],
1076
- },
1077
- },
1078
- // 41 Telos EVM Testnet
1079
- {
1080
- key: types_1.ChainKey.TLOT,
1081
- chainType: types_1.ChainType.EVM,
1082
- name: 'Telos Testnet',
1083
- coin: types_1.CoinKey.TLOS,
1084
- id: 41,
1085
- mainnet: false,
1086
- faucetUrls: ['https://app.telos.net/testnet/developers'],
1087
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.TLOT],
1088
- metamask: {
1089
- chainId: (0, utils_1.prefixChainId)(41),
1090
- blockExplorerUrls: ['https://telos.net/'],
1091
- chainName: 'Telos EVM Mainnet',
1092
- nativeCurrency: {
1093
- name: 'Telos',
1094
- symbol: 'TLOS',
1095
- decimals: 18,
1096
- },
1097
- rpcUrls: ['https://testnet.telos.net/evm'],
1098
- },
1099
- },
1100
- // 31 RSK Testnet
1101
- {
1102
- key: types_1.ChainKey.RSKT,
1103
- chainType: types_1.ChainType.EVM,
1104
- name: 'RSK Testnet',
1105
- coin: types_1.CoinKey.TRBTC,
1106
- id: 31,
1107
- mainnet: true,
1108
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.RSKT],
1109
- metamask: {
1110
- chainId: (0, utils_1.prefixChainId)(31),
1111
- blockExplorerUrls: ['https://rsk.co/'],
1112
- chainName: 'RSK Testnet',
1113
- nativeCurrency: {
1114
- name: 'tRBTC',
1115
- symbol: 'TRBTC',
1116
- decimals: 18,
1117
- },
1118
- rpcUrls: ['https://public-node.testnet.rsk.co'],
1119
- },
1120
- },
1121
- // 43113 - Avalanche Fuji Testnet
1122
- {
1123
- key: types_1.ChainKey.AVAT,
1124
- chainType: types_1.ChainType.EVM,
1125
- name: 'Avalanche Fuji Testnet',
1126
- coin: types_1.CoinKey.AVAX,
1127
- id: 43113,
1128
- mainnet: false,
1129
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/avalanche_test.png',
1130
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.AVAT],
1131
- faucetUrls: ['https://faucet.avax-test.network/'],
1132
- // https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-43113.json
1133
- metamask: {
1134
- chainId: (0, utils_1.prefixChainId)(43113),
1135
- blockExplorerUrls: ['https://testnet.snowtrace.io/'],
1136
- chainName: 'Avalanche Fuji Testnet',
1137
- nativeCurrency: {
1138
- name: 'AVAX',
1139
- symbol: 'AVAX',
1140
- decimals: 18,
1141
- },
1142
- rpcUrls: ['https://api.avax-test.network/ext/bc/C/rpc'],
1143
- },
1144
- },
1145
- // 59140 - Linea (formerly ConsenSys zkEVM) Testnet
1146
- {
1147
- key: types_1.ChainKey.LNAT,
1148
- chainType: types_1.ChainType.EVM,
1149
- name: 'Linea Testnet',
1150
- coin: types_1.CoinKey.ETH,
1151
- id: 59140,
1152
- mainnet: false,
1153
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/linea.svg',
1154
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.LNAT],
1155
- faucetUrls: ['https://faucetlink.to/goerli'],
1156
- metamask: {
1157
- chainId: (0, utils_1.prefixChainId)(59140),
1158
- blockExplorerUrls: ['https://explorer.goerli.linea.build/'],
1159
- chainName: 'Linea Testnet',
1160
- nativeCurrency: {
1161
- name: 'crETH',
1162
- symbol: 'crETH',
1163
- decimals: 18,
1164
- },
1165
- rpcUrls: ['https://rpc.goerli.linea.build'],
1166
- },
1167
- },
1168
- // TODO: Add
1169
- // EVMT = 9000,
1170
- // MORT = 1287,
1171
- // FTMT = 4002,
1172
- // https://faucet.buni.finance/
1173
- // kucoin faucet: https://stakely.io/faucet/kucoin-kcc-kcs
1174
- ];
1175
- exports.supportedSolanaChains = [
1176
- {
1177
- key: types_1.ChainKey.SOL,
1178
- chainType: types_1.ChainType.SVM,
1179
- name: 'Solana',
1180
- coin: types_1.CoinKey.SOL,
1181
- id: types_1.ChainId.SOL,
1182
- mainnet: true,
1183
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/solana.svg',
1184
- faucetUrls: ['https://stakely.io/faucet/solana-sol'],
1185
- metamask: {
1186
- chainId: types_1.ChainId.SOL.toString(),
1187
- blockExplorerUrls: [
1188
- 'https://explorer.solana.com/',
1189
- 'https://solscan.io/',
1190
- 'https://solana.fm/',
1191
- ],
1192
- chainName: 'Solana',
1193
- nativeCurrency: {
1194
- name: 'SOL',
1195
- symbol: 'SOL',
1196
- decimals: 9,
1197
- },
1198
- rpcUrls: ['https://api.mainnet-beta.solana.com'],
1199
- },
1200
- },
1201
- ];
1202
- exports.supportedUXTOChains = [
1203
- {
1204
- key: types_1.ChainKey.BTC,
1205
- chainType: types_1.ChainType.UTXO,
1206
- name: 'Bitcoin',
1207
- coin: types_1.CoinKey.BTC,
1208
- id: types_1.ChainId.BTC,
1209
- mainnet: true,
1210
- logoURI: 'https://assets.coingecko.com/coins/images/1/standard/bitcoin.png',
1211
- // 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/bitcoin.svg',
1212
- faucetUrls: [],
1213
- metamask: {
1214
- chainId: types_1.ChainId.BTC.toString(),
1215
- blockExplorerUrls: [
1216
- 'https://blockchair.com/bitcoin',
1217
- 'https://bitcoinexplorer.org/',
1218
- ],
1219
- chainName: 'Bitcoin',
1220
- nativeCurrency: {
1221
- name: 'BTC',
1222
- symbol: 'BTC',
1223
- decimals: 8,
1224
- },
1225
- rpcUrls: ['https://node-router.thorswap.net/bitcoin'],
1226
- },
1227
- },
1228
- {
1229
- key: types_1.ChainKey.BCH,
1230
- chainType: types_1.ChainType.UTXO,
1231
- name: 'Bitcoin Cash',
1232
- coin: types_1.CoinKey.BCH,
1233
- id: types_1.ChainId.BCH,
1234
- mainnet: true,
1235
- logoURI: 'https://assets.coingecko.com/coins/images/780/standard/bitcoin-cash-circle.png',
1236
- // 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/bitcoincash.svg',
1237
- faucetUrls: [],
1238
- metamask: {
1239
- chainId: types_1.ChainId.BCH.toString(),
1240
- blockExplorerUrls: ['https://www.blockchair.com/bitcoin-cash'],
1241
- chainName: 'Bitcoin Cash',
1242
- nativeCurrency: {
1243
- name: 'BCH',
1244
- symbol: 'BCH',
1245
- decimals: 8,
1246
- },
1247
- rpcUrls: ['https://node-router.thorswap.net/bitcoin-cash'],
1248
- },
1249
- },
1250
- {
1251
- key: types_1.ChainKey.LTC,
1252
- chainType: types_1.ChainType.UTXO,
1253
- name: 'Litecoin',
1254
- coin: types_1.CoinKey.LTC,
1255
- id: types_1.ChainId.LTC,
1256
- mainnet: true,
1257
- logoURI: 'https://assets.coingecko.com/coins/images/2/standard/litecoin.png',
1258
- // 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/litecoin.svg',
1259
- faucetUrls: [],
1260
- metamask: {
1261
- chainId: types_1.ChainId.LTC.toString(),
1262
- blockExplorerUrls: ['https://blockchair.com/litecoin'],
1263
- chainName: 'Litecoin',
1264
- nativeCurrency: {
1265
- name: 'LTC',
1266
- symbol: 'LTC',
1267
- decimals: 8,
1268
- },
1269
- rpcUrls: ['https://node-router.thorswap.net/litecoin'],
1270
- },
1271
- },
1272
- {
1273
- key: types_1.ChainKey.DGE,
1274
- chainType: types_1.ChainType.UTXO,
1275
- name: 'Dogecoin',
1276
- coin: types_1.CoinKey.DOGE,
1277
- id: types_1.ChainId.DGE,
1278
- mainnet: true,
1279
- logoURI: 'https://assets.coingecko.com/coins/images/5/standard/dogecoin.png',
1280
- // 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/dogecoin.svg',
1281
- faucetUrls: [],
1282
- metamask: {
1283
- chainId: types_1.ChainId.DGE.toString(),
1284
- blockExplorerUrls: ['https://blockchair.com/dogecoin'],
1285
- chainName: 'Dogecoin',
1286
- nativeCurrency: {
1287
- name: 'DODGE',
1288
- symbol: 'DOGE',
1289
- decimals: 8,
1290
- },
1291
- rpcUrls: ['https://node-router.thorswap.net/dogecoin'],
1292
- },
1293
- },
1294
- ];
3
+ exports.getChainById = exports.getChainByKey = exports.supportedChains = void 0;
4
+ const supportedChains_evm_1 = require("./supportedChains.evm");
5
+ const supportedChains_svm_1 = require("./supportedChains.svm");
6
+ const supportedChains_utxo_1 = require("./supportedChains.utxo");
1295
7
  // This assignment is required to avoid breaking
1296
8
  // changes with the new non EVM support types release
1297
9
  // This will be removed in the future
1298
10
  exports.supportedChains = [
1299
- ...exports.supportedEVMChains,
1300
- ...exports.supportedSolanaChains,
1301
- ...exports.supportedUXTOChains,
11
+ ...supportedChains_evm_1.supportedEVMChains,
12
+ ...supportedChains_svm_1.supportedSolanaChains,
13
+ ...supportedChains_utxo_1.supportedUXTOChains,
1302
14
  ];
1303
15
  const getChainByKey = (chainKey) => {
1304
16
  const chain = exports.supportedChains.find((c) => c.key === chainKey);