@lifi/types 1.5.0 → 1.7.0

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