@lifi/types 10.0.0-beta.0 → 10.0.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 (153) hide show
  1. package/README.md +5 -27
  2. package/{src/_types → dist}/api.d.ts +23 -52
  3. package/{src/_esm → dist}/api.js +0 -1
  4. package/{src/_types/errors.d.ts → dist/apiErrors.d.ts} +9 -1
  5. package/{src/_esm/errors.js → dist/apiErrors.js} +0 -1
  6. package/dist/base.d.ts +231 -0
  7. package/{src/_esm/chains → dist}/base.js +63 -1
  8. package/dist/bridges.d.ts +34 -0
  9. package/dist/bridges.js +167 -0
  10. package/{src/_types → dist}/chains/Chain.d.ts +1 -3
  11. package/{src/_esm → dist}/chains/Chain.js +0 -3
  12. package/{src/_types → dist}/chains/EVMChain.d.ts +2 -2
  13. package/dist/chains/EVMChain.js +4 -0
  14. package/{src/_types → dist}/chains/SolanaChain.d.ts +2 -3
  15. package/dist/chains/SolanaChain.js +1 -0
  16. package/dist/chains/chain.utils.d.ts +4 -0
  17. package/dist/chains/chain.utils.js +21 -0
  18. package/dist/chains/index.d.ts +5 -0
  19. package/dist/chains/index.js +5 -0
  20. package/dist/chains/supported.chains.d.ts +5 -0
  21. package/dist/chains/supported.chains.js +1208 -0
  22. package/dist/cjs/api.d.ts +355 -0
  23. package/{src/_cjs → dist/cjs}/api.js +17 -1
  24. package/dist/cjs/apiErrors.d.ts +23 -0
  25. package/{src/_cjs/errors.js → dist/cjs/apiErrors.js} +2 -2
  26. package/dist/cjs/base.d.ts +231 -0
  27. package/{src/_cjs/chains → dist/cjs}/base.js +68 -4
  28. package/dist/cjs/bridges.d.ts +34 -0
  29. package/dist/cjs/bridges.js +170 -0
  30. package/dist/cjs/chains/Chain.d.ts +15 -0
  31. package/{src/_cjs → dist/cjs}/chains/Chain.js +2 -2
  32. package/dist/cjs/chains/EVMChain.d.ts +19 -0
  33. package/dist/cjs/chains/EVMChain.js +8 -0
  34. package/dist/cjs/chains/SolanaChain.d.ts +7 -0
  35. package/{src/_cjs/tokens/token.js → dist/cjs/chains/SolanaChain.js} +0 -1
  36. package/dist/cjs/chains/chain.utils.d.ts +4 -0
  37. package/dist/cjs/chains/chain.utils.js +26 -0
  38. package/dist/cjs/chains/index.d.ts +5 -0
  39. package/dist/cjs/chains/index.js +21 -0
  40. package/dist/cjs/chains/supported.chains.d.ts +5 -0
  41. package/dist/cjs/chains/supported.chains.js +1211 -0
  42. package/dist/cjs/coins.d.ts +9 -0
  43. package/dist/cjs/coins.js +1898 -0
  44. package/dist/cjs/exchanges.d.ts +50 -0
  45. package/dist/cjs/exchanges.js +1104 -0
  46. package/dist/cjs/index.d.ts +10 -0
  47. package/dist/cjs/index.js +26 -0
  48. package/dist/cjs/multicall.d.ts +3 -0
  49. package/dist/cjs/multicall.js +80 -0
  50. package/{src/_types → dist/cjs}/quests.d.ts +0 -1
  51. package/{src/_cjs → dist/cjs}/quests.js +0 -1
  52. package/{src/_types → dist/cjs}/step.d.ts +9 -11
  53. package/{src/_cjs → dist/cjs}/step.js +1 -1
  54. package/dist/coins.d.ts +9 -0
  55. package/dist/coins.js +1891 -0
  56. package/dist/exchanges.d.ts +50 -0
  57. package/dist/exchanges.js +1100 -0
  58. package/dist/index.d.ts +10 -0
  59. package/dist/index.js +10 -0
  60. package/dist/multicall.d.ts +3 -0
  61. package/dist/multicall.js +77 -0
  62. package/{src/quests.ts → dist/quests.d.ts} +15 -21
  63. package/dist/quests.js +1 -0
  64. package/dist/step.d.ts +129 -0
  65. package/{src/_esm → dist}/step.js +0 -1
  66. package/package.json +74 -22
  67. package/src/_cjs/api.js.map +0 -1
  68. package/src/_cjs/bridges.js +0 -3
  69. package/src/_cjs/bridges.js.map +0 -1
  70. package/src/_cjs/chains/Chain.js.map +0 -1
  71. package/src/_cjs/chains/EVMChain.js +0 -3
  72. package/src/_cjs/chains/EVMChain.js.map +0 -1
  73. package/src/_cjs/chains/SolanaChain.js +0 -3
  74. package/src/_cjs/chains/SolanaChain.js.map +0 -1
  75. package/src/_cjs/chains/base.js.map +0 -1
  76. package/src/_cjs/chains/index.js +0 -8
  77. package/src/_cjs/chains/index.js.map +0 -1
  78. package/src/_cjs/errors.js.map +0 -1
  79. package/src/_cjs/exchanges.js +0 -3
  80. package/src/_cjs/exchanges.js.map +0 -1
  81. package/src/_cjs/index.js +0 -12
  82. package/src/_cjs/index.js.map +0 -1
  83. package/src/_cjs/package.json +0 -1
  84. package/src/_cjs/quests.js.map +0 -1
  85. package/src/_cjs/step.js.map +0 -1
  86. package/src/_cjs/tokens/base.js +0 -63
  87. package/src/_cjs/tokens/base.js.map +0 -1
  88. package/src/_cjs/tokens/index.js +0 -6
  89. package/src/_cjs/tokens/index.js.map +0 -1
  90. package/src/_cjs/tokens/token.js.map +0 -1
  91. package/src/_esm/api.js.map +0 -1
  92. package/src/_esm/bridges.js +0 -2
  93. package/src/_esm/bridges.js.map +0 -1
  94. package/src/_esm/chains/Chain.js.map +0 -1
  95. package/src/_esm/chains/EVMChain.js +0 -2
  96. package/src/_esm/chains/EVMChain.js.map +0 -1
  97. package/src/_esm/chains/SolanaChain.js +0 -2
  98. package/src/_esm/chains/SolanaChain.js.map +0 -1
  99. package/src/_esm/chains/base.js.map +0 -1
  100. package/src/_esm/chains/index.js +0 -5
  101. package/src/_esm/chains/index.js.map +0 -1
  102. package/src/_esm/errors.js.map +0 -1
  103. package/src/_esm/exchanges.js +0 -2
  104. package/src/_esm/exchanges.js.map +0 -1
  105. package/src/_esm/index.js +0 -9
  106. package/src/_esm/index.js.map +0 -1
  107. package/src/_esm/package.json +0 -1
  108. package/src/_esm/quests.js +0 -2
  109. package/src/_esm/quests.js.map +0 -1
  110. package/src/_esm/step.js.map +0 -1
  111. package/src/_esm/tokens/base.js +0 -64
  112. package/src/_esm/tokens/base.js.map +0 -1
  113. package/src/_esm/tokens/index.js +0 -3
  114. package/src/_esm/tokens/index.js.map +0 -1
  115. package/src/_esm/tokens/token.js +0 -3
  116. package/src/_esm/tokens/token.js.map +0 -1
  117. package/src/_types/api.d.ts.map +0 -1
  118. package/src/_types/bridges.d.ts +0 -29
  119. package/src/_types/bridges.d.ts.map +0 -1
  120. package/src/_types/chains/Chain.d.ts.map +0 -1
  121. package/src/_types/chains/EVMChain.d.ts.map +0 -1
  122. package/src/_types/chains/SolanaChain.d.ts.map +0 -1
  123. package/src/_types/chains/base.d.ts +0 -125
  124. package/src/_types/chains/base.d.ts.map +0 -1
  125. package/src/_types/chains/index.d.ts +0 -5
  126. package/src/_types/chains/index.d.ts.map +0 -1
  127. package/src/_types/errors.d.ts.map +0 -1
  128. package/src/_types/exchanges.d.ts +0 -25
  129. package/src/_types/exchanges.d.ts.map +0 -1
  130. package/src/_types/index.d.ts +0 -9
  131. package/src/_types/index.d.ts.map +0 -1
  132. package/src/_types/quests.d.ts.map +0 -1
  133. package/src/_types/step.d.ts.map +0 -1
  134. package/src/_types/tokens/base.d.ts +0 -59
  135. package/src/_types/tokens/base.d.ts.map +0 -1
  136. package/src/_types/tokens/index.d.ts +0 -3
  137. package/src/_types/tokens/index.d.ts.map +0 -1
  138. package/src/_types/tokens/token.d.ts +0 -30
  139. package/src/_types/tokens/token.d.ts.map +0 -1
  140. package/src/api.ts +0 -510
  141. package/src/bridges.ts +0 -30
  142. package/src/chains/Chain.ts +0 -20
  143. package/src/chains/EVMChain.ts +0 -25
  144. package/src/chains/SolanaChain.ts +0 -8
  145. package/src/chains/base.ts +0 -129
  146. package/src/chains/index.ts +0 -4
  147. package/src/errors.ts +0 -15
  148. package/src/exchanges.ts +0 -27
  149. package/src/index.ts +0 -8
  150. package/src/step.ts +0 -195
  151. package/src/tokens/base.ts +0 -66
  152. package/src/tokens/index.ts +0 -2
  153. package/src/tokens/token.ts +0 -34
@@ -0,0 +1,1211 @@
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.ankr.com/gnosis',
125
+ 'https://xdai-rpc.gateway.pokt.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
206
+ {
207
+ key: base_1.ChainKey.ARB,
208
+ chainType: Chain_1.ChainType.EVM,
209
+ name: 'Arbitrum',
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',
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
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/velas.png',
689
+ faucetUrls: ['https://stakely.io/faucet/velas-vlx'],
690
+ metamask: {
691
+ chainId: (0, EVMChain_1.prefixChainId)(106),
692
+ blockExplorerUrls: ['https://evmexplorer.velas.com/'],
693
+ chainName: 'Velas',
694
+ nativeCurrency: {
695
+ name: 'VLX',
696
+ symbol: 'VLX',
697
+ decimals: 18,
698
+ },
699
+ rpcUrls: ['https://evmexplorer.velas.com/rpc'],
700
+ },
701
+ },
702
+ // 1088 Metis Andromeda Mainnet
703
+ {
704
+ key: base_1.ChainKey.MAM,
705
+ chainType: Chain_1.ChainType.EVM,
706
+ name: 'Metis',
707
+ coin: base_1.CoinKey.METIS,
708
+ id: 1088,
709
+ mainnet: true,
710
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/metis.png',
711
+ tokenlistUrl: 'https://raw.githubusercontent.com/digitalnativeinc/default-token-list/dnf/tokens/metis.json',
712
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.MAM],
713
+ metamask: {
714
+ chainId: (0, EVMChain_1.prefixChainId)(1088),
715
+ blockExplorerUrls: ['https://andromeda-explorer.metis.io/'],
716
+ chainName: 'Metis',
717
+ nativeCurrency: {
718
+ name: 'METIS',
719
+ symbol: 'METIS',
720
+ decimals: 18,
721
+ },
722
+ rpcUrls: ['https://andromeda.metis.io/?owner=1088'],
723
+ },
724
+ },
725
+ // 1313161554 Aurora Mainnet
726
+ {
727
+ key: base_1.ChainKey.AUR,
728
+ chainType: Chain_1.ChainType.EVM,
729
+ name: 'Aurora',
730
+ coin: base_1.CoinKey.ETH,
731
+ id: 1313161554,
732
+ mainnet: true,
733
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/aurora.png',
734
+ tokenlistUrl: 'https://aurora.dev/tokens.json',
735
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.AUR],
736
+ metamask: {
737
+ chainId: (0, EVMChain_1.prefixChainId)(1313161554),
738
+ blockExplorerUrls: ['https://aurorascan.dev/'],
739
+ chainName: 'Aurora',
740
+ nativeCurrency: {
741
+ name: 'ETH',
742
+ symbol: 'ETH',
743
+ decimals: 18,
744
+ },
745
+ rpcUrls: ['https://mainnet.aurora.dev'],
746
+ },
747
+ },
748
+ // EVM = 9001,
749
+ {
750
+ key: base_1.ChainKey.EVM,
751
+ chainType: Chain_1.ChainType.EVM,
752
+ name: 'Evmos',
753
+ coin: base_1.CoinKey.EVM,
754
+ id: 9001,
755
+ mainnet: true,
756
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/evmos.svg',
757
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.EVM],
758
+ metamask: {
759
+ chainId: (0, EVMChain_1.prefixChainId)(9001),
760
+ blockExplorerUrls: ['https://evm.evmos.org/'],
761
+ chainName: 'Evmos',
762
+ nativeCurrency: {
763
+ name: 'EVMOS',
764
+ symbol: 'EVMOS',
765
+ decimals: 18,
766
+ },
767
+ rpcUrls: ['https://eth.bd.evmos.org:8545'],
768
+ },
769
+ },
770
+ // 324 - zksync ERA
771
+ {
772
+ key: base_1.ChainKey.ERA,
773
+ chainType: Chain_1.ChainType.EVM,
774
+ name: 'zkSync Era',
775
+ coin: base_1.CoinKey.ETH,
776
+ id: 324,
777
+ mainnet: true,
778
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/zksync.svg',
779
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.ERA],
780
+ metamask: {
781
+ chainId: (0, EVMChain_1.prefixChainId)(324),
782
+ blockExplorerUrls: ['https://explorer.zksync.io/'],
783
+ chainName: 'zkSync Era Mainnet',
784
+ nativeCurrency: {
785
+ name: 'ETH',
786
+ symbol: 'ETH',
787
+ decimals: 18,
788
+ },
789
+ rpcUrls: ['https://mainnet.era.zksync.io'],
790
+ },
791
+ },
792
+ // 1101 - Polygon zkEVM
793
+ {
794
+ key: base_1.ChainKey.PZE,
795
+ chainType: Chain_1.ChainType.EVM,
796
+ name: 'Polygon zkEVM',
797
+ coin: base_1.CoinKey.ETH,
798
+ id: 1101,
799
+ mainnet: true,
800
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/zkevm.png',
801
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.PZE],
802
+ metamask: {
803
+ chainId: (0, EVMChain_1.prefixChainId)(1101),
804
+ blockExplorerUrls: ['https://zkevm.polygonscan.com/'],
805
+ chainName: 'Polygon zkEVM',
806
+ nativeCurrency: {
807
+ name: 'ETH',
808
+ symbol: 'ETH',
809
+ decimals: 18,
810
+ },
811
+ rpcUrls: ['https://zkevm-rpc.com'],
812
+ },
813
+ },
814
+ {
815
+ key: base_1.ChainKey.BAS,
816
+ chainType: Chain_1.ChainType.EVM,
817
+ name: 'BASE',
818
+ coin: base_1.CoinKey.ETH,
819
+ id: 8453,
820
+ mainnet: true,
821
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/base.svg',
822
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.BAS],
823
+ metamask: {
824
+ chainId: (0, EVMChain_1.prefixChainId)(8453),
825
+ blockExplorerUrls: ['https://basescan.org/'],
826
+ chainName: 'BASE',
827
+ nativeCurrency: {
828
+ name: 'Ethereum',
829
+ symbol: 'ETH',
830
+ decimals: 18,
831
+ },
832
+ rpcUrls: ['https://mainnet.base.org'],
833
+ },
834
+ },
835
+ {
836
+ key: base_1.ChainKey.LNA,
837
+ chainType: Chain_1.ChainType.EVM,
838
+ name: 'Linea',
839
+ coin: base_1.CoinKey.ETH,
840
+ id: 59144,
841
+ mainnet: true,
842
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/linea.svg',
843
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.LNA],
844
+ metamask: {
845
+ chainId: (0, EVMChain_1.prefixChainId)(59144),
846
+ blockExplorerUrls: ['https://lineascan.build/'],
847
+ chainName: 'LINEA',
848
+ nativeCurrency: {
849
+ name: 'ETH',
850
+ symbol: 'ETH',
851
+ decimals: 18,
852
+ },
853
+ rpcUrls: ['https://rpc.linea.build'],
854
+ },
855
+ },
856
+ // TESTNETS
857
+ // 5 - Goerli
858
+ {
859
+ key: base_1.ChainKey.GOR,
860
+ chainType: Chain_1.ChainType.EVM,
861
+ name: 'Goerli',
862
+ coin: base_1.CoinKey.ETH,
863
+ id: 5,
864
+ mainnet: false,
865
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum_goerli.png',
866
+ tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
867
+ faucetUrls: ['https://goerli-faucet.slock.it/'],
868
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.GOR],
869
+ metamask: {
870
+ chainId: (0, EVMChain_1.prefixChainId)(5),
871
+ blockExplorerUrls: ['https://goerli.etherscan.io/'],
872
+ chainName: 'Ethereum Testnet Görli',
873
+ nativeCurrency: {
874
+ name: 'ETH',
875
+ symbol: 'ETH',
876
+ decimals: 18,
877
+ },
878
+ rpcUrls: ['https://rpc.ankr.com/eth_goerli'],
879
+ },
880
+ },
881
+ // 12 - Metadium Testnet
882
+ {
883
+ key: base_1.ChainKey.METT,
884
+ chainType: Chain_1.ChainType.EVM,
885
+ name: 'Metadium Testnet',
886
+ coin: base_1.CoinKey.KAL,
887
+ id: 12,
888
+ mainnet: false,
889
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.METT],
890
+ metamask: {
891
+ chainId: (0, EVMChain_1.prefixChainId)(12),
892
+ blockExplorerUrls: ['https://metadium.com/'],
893
+ chainName: 'Metadium Testnet',
894
+ nativeCurrency: {
895
+ name: 'KAL',
896
+ symbol: 'KAL',
897
+ decimals: 18,
898
+ },
899
+ rpcUrls: ['https://api.metadium.com/dev'],
900
+ },
901
+ },
902
+ // 13 - Diode Testnet Staging
903
+ {
904
+ key: base_1.ChainKey.DIOT,
905
+ chainType: Chain_1.ChainType.EVM,
906
+ name: 'DIODE',
907
+ coin: base_1.CoinKey.SDIODE,
908
+ id: 13,
909
+ mainnet: false,
910
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.DIOT],
911
+ metamask: {
912
+ chainId: (0, EVMChain_1.prefixChainId)(13),
913
+ blockExplorerUrls: ['https://diode.io/staging/'],
914
+ chainName: 'Diode Testnet Staging',
915
+ nativeCurrency: {
916
+ name: 'Staging Diodes',
917
+ symbol: 'sDIODE',
918
+ decimals: 18,
919
+ },
920
+ rpcUrls: ['https://staging.diode.io:8443/'],
921
+ },
922
+ },
923
+ // 80001 - Mumbai Polygon Testnet
924
+ {
925
+ key: base_1.ChainKey.MUM,
926
+ chainType: Chain_1.ChainType.EVM,
927
+ name: 'Polygon Testnet',
928
+ coin: base_1.CoinKey.MATIC,
929
+ id: 80001,
930
+ mainnet: false,
931
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/polygon_test.png',
932
+ tokenlistUrl: 'https://raw.githubusercontent.com/elkfinance/tokens/main/mumbai.tokenlist.json',
933
+ faucetUrls: ['https://faucet.matic.network/'],
934
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.MUM],
935
+ metamask: {
936
+ chainId: (0, EVMChain_1.prefixChainId)(80001),
937
+ blockExplorerUrls: ['https://explorer-mumbai.maticvigil.com/'],
938
+ chainName: 'Matic(Polygon) Testnet Mumbai',
939
+ nativeCurrency: {
940
+ name: 'MATIC',
941
+ symbol: 'tMATIC',
942
+ decimals: 18,
943
+ },
944
+ rpcUrls: ['https://rpc-mumbai.matic.today'],
945
+ },
946
+ },
947
+ {
948
+ key: base_1.ChainKey.ARBG,
949
+ chainType: Chain_1.ChainType.EVM,
950
+ name: 'Arbitrum Görli',
951
+ coin: base_1.CoinKey.ETH,
952
+ id: 421613,
953
+ mainnet: false,
954
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/arbitrum_test.png',
955
+ faucetUrls: ['https://bridge.arbitrum.io/'],
956
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.ARBG],
957
+ metamask: {
958
+ chainId: (0, EVMChain_1.prefixChainId)(421613),
959
+ blockExplorerUrls: ['https://goerli-rollup-explorer.arbitrum.io/'],
960
+ chainName: 'Arbitrum Görli',
961
+ nativeCurrency: {
962
+ name: 'AGOR',
963
+ symbol: 'AGOR',
964
+ decimals: 18,
965
+ },
966
+ rpcUrls: ['https://goerli-rollup.arbitrum.io/rpc/ '],
967
+ },
968
+ },
969
+ // 420 - Optimistic Ethereum (Goerli)
970
+ {
971
+ key: base_1.ChainKey.OPTG,
972
+ chainType: Chain_1.ChainType.EVM,
973
+ name: 'Optimistic Ethereum Testnet Goerli',
974
+ coin: base_1.CoinKey.ETH,
975
+ id: 420,
976
+ mainnet: false,
977
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/optimism_test.png',
978
+ faucetUrls: ['https://gateway.optimism.io/'],
979
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.OPTG],
980
+ metamask: {
981
+ chainId: (0, EVMChain_1.prefixChainId)(420),
982
+ blockExplorerUrls: ['https://blockscout.com/optimism/goerli/'],
983
+ chainName: 'Optimistic Ethereum Testnet Goerli',
984
+ nativeCurrency: {
985
+ name: 'tETH',
986
+ symbol: 'tETH',
987
+ decimals: 18,
988
+ },
989
+ rpcUrls: ['https://goerli.optimism.io/'],
990
+ },
991
+ },
992
+ // 97 - Binance Smart Chain Testnet
993
+ {
994
+ key: base_1.ChainKey.BSCT,
995
+ chainType: Chain_1.ChainType.EVM,
996
+ name: 'Binance Smart Chain Testnet',
997
+ coin: base_1.CoinKey.BNB,
998
+ id: 97,
999
+ mainnet: false,
1000
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/bsc_test.png',
1001
+ faucetUrls: ['https://testnet.binance.org/faucet-smart'],
1002
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.BSCT],
1003
+ metamask: {
1004
+ chainId: (0, EVMChain_1.prefixChainId)(97),
1005
+ blockExplorerUrls: ['https://testnet.bscscan.com/'],
1006
+ chainName: 'Binance Smart Chain Testnet',
1007
+ nativeCurrency: {
1008
+ name: 'tBNB',
1009
+ symbol: 'tBNB',
1010
+ decimals: 18,
1011
+ },
1012
+ rpcUrls: ['https://data-seed-prebsc-1-s1.binance.org:8545/'],
1013
+ },
1014
+ },
1015
+ // 256 - Huobi ECO Chain Testnet
1016
+ {
1017
+ key: base_1.ChainKey.HECT,
1018
+ chainType: Chain_1.ChainType.EVM,
1019
+ name: 'Huobi ECO Chain Testnet',
1020
+ coin: 'HTT',
1021
+ id: 256,
1022
+ mainnet: false,
1023
+ faucetUrls: ['https://scan-testnet.hecochain.com/faucet'],
1024
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.HECT],
1025
+ metamask: {
1026
+ chainId: (0, EVMChain_1.prefixChainId)(256),
1027
+ blockExplorerUrls: ['https://scan-testnet.hecochain.com/'],
1028
+ chainName: 'Huobi ECO Chain Testnet',
1029
+ nativeCurrency: {
1030
+ name: 'HT',
1031
+ symbol: 'HT',
1032
+ decimals: 18,
1033
+ },
1034
+ rpcUrls: ['https://http-testnet.hecochain.com'],
1035
+ },
1036
+ },
1037
+ // 1666700000 - Harmony Testnet 0
1038
+ {
1039
+ key: base_1.ChainKey.ONET,
1040
+ chainType: Chain_1.ChainType.EVM,
1041
+ name: 'Harmony Testnet',
1042
+ coin: base_1.CoinKey.ONE,
1043
+ id: 1666700000,
1044
+ mainnet: false,
1045
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/harmony_test.png',
1046
+ // https://docs.harmony.one/home/developers/wallets/metamask/connect-metamask-to-the-harmony-chain
1047
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.ONET],
1048
+ metamask: {
1049
+ chainId: (0, EVMChain_1.prefixChainId)(1666700000),
1050
+ blockExplorerUrls: [
1051
+ 'https://explorer.pops.one/',
1052
+ 'https://explorer.testnet.harmony.one/',
1053
+ ],
1054
+ chainName: 'Harmony Testnet Shard 0',
1055
+ nativeCurrency: {
1056
+ name: 'ONE',
1057
+ symbol: 'ONE',
1058
+ decimals: 18,
1059
+ },
1060
+ rpcUrls: ['https://api.s0.b.hmny.io'],
1061
+ },
1062
+ },
1063
+ // 123 Fuse Sparknet
1064
+ {
1065
+ key: base_1.ChainKey.FUST,
1066
+ chainType: Chain_1.ChainType.EVM,
1067
+ name: 'SPARK',
1068
+ coin: base_1.CoinKey.SPARK,
1069
+ id: 123,
1070
+ mainnet: false,
1071
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.FUST],
1072
+ metamask: {
1073
+ chainId: (0, EVMChain_1.prefixChainId)(123),
1074
+ blockExplorerUrls: ['https://explorer.fusespark.io/'],
1075
+ chainName: 'Fuse Sparknet',
1076
+ nativeCurrency: {
1077
+ name: 'Spark',
1078
+ symbol: 'SPARK',
1079
+ decimals: 18,
1080
+ },
1081
+ rpcUrls: ['https://rpc.fusespark.io'],
1082
+ },
1083
+ },
1084
+ // 41 Telos EVM Testnet
1085
+ {
1086
+ key: base_1.ChainKey.TLOT,
1087
+ chainType: Chain_1.ChainType.EVM,
1088
+ name: 'Telos Testnet',
1089
+ coin: base_1.CoinKey.TLOS,
1090
+ id: 41,
1091
+ mainnet: false,
1092
+ faucetUrls: ['https://app.telos.net/testnet/developers'],
1093
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.TLOT],
1094
+ metamask: {
1095
+ chainId: (0, EVMChain_1.prefixChainId)(41),
1096
+ blockExplorerUrls: ['https://telos.net/'],
1097
+ chainName: 'Telos EVM Mainnet',
1098
+ nativeCurrency: {
1099
+ name: 'Telos',
1100
+ symbol: 'TLOS',
1101
+ decimals: 18,
1102
+ },
1103
+ rpcUrls: ['https://testnet.telos.net/evm'],
1104
+ },
1105
+ },
1106
+ // 31 RSK Testnet
1107
+ {
1108
+ key: base_1.ChainKey.RSKT,
1109
+ chainType: Chain_1.ChainType.EVM,
1110
+ name: 'RSK Testnet',
1111
+ coin: base_1.CoinKey.TRBTC,
1112
+ id: 31,
1113
+ mainnet: true,
1114
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.RSKT],
1115
+ metamask: {
1116
+ chainId: (0, EVMChain_1.prefixChainId)(31),
1117
+ blockExplorerUrls: ['https://rsk.co/'],
1118
+ chainName: 'RSK Testnet',
1119
+ nativeCurrency: {
1120
+ name: 'tRBTC',
1121
+ symbol: 'TRBTC',
1122
+ decimals: 18,
1123
+ },
1124
+ rpcUrls: ['https://public-node.testnet.rsk.co'],
1125
+ },
1126
+ },
1127
+ // 43113 - Avalanche Fuji Testnet
1128
+ {
1129
+ key: base_1.ChainKey.AVAT,
1130
+ chainType: Chain_1.ChainType.EVM,
1131
+ name: 'Avalanche Fuji Testnet',
1132
+ coin: base_1.CoinKey.AVAX,
1133
+ id: 43113,
1134
+ mainnet: false,
1135
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/avalanche_test.png',
1136
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.AVAT],
1137
+ faucetUrls: ['https://faucet.avax-test.network/'],
1138
+ // https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-43113.json
1139
+ metamask: {
1140
+ chainId: (0, EVMChain_1.prefixChainId)(43113),
1141
+ blockExplorerUrls: ['https://testnet.snowtrace.io/'],
1142
+ chainName: 'Avalanche Fuji Testnet',
1143
+ nativeCurrency: {
1144
+ name: 'AVAX',
1145
+ symbol: 'AVAX',
1146
+ decimals: 18,
1147
+ },
1148
+ rpcUrls: ['https://api.avax-test.network/ext/bc/C/rpc'],
1149
+ },
1150
+ },
1151
+ // 59140 - Linea (formerly ConsenSys zkEVM) Testnet
1152
+ {
1153
+ key: base_1.ChainKey.LNAT,
1154
+ chainType: Chain_1.ChainType.EVM,
1155
+ name: 'Linea Testnet',
1156
+ coin: base_1.CoinKey.ETH,
1157
+ id: 59140,
1158
+ mainnet: false,
1159
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/linea.svg',
1160
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.LNAT],
1161
+ faucetUrls: ['https://faucetlink.to/goerli'],
1162
+ metamask: {
1163
+ chainId: (0, EVMChain_1.prefixChainId)(59140),
1164
+ blockExplorerUrls: ['https://explorer.goerli.linea.build/'],
1165
+ chainName: 'Linea Testnet',
1166
+ nativeCurrency: {
1167
+ name: 'crETH',
1168
+ symbol: 'crETH',
1169
+ decimals: 18,
1170
+ },
1171
+ rpcUrls: ['https://rpc.goerli.linea.build'],
1172
+ },
1173
+ },
1174
+ // TODO: Add
1175
+ // EVMT = 9000,
1176
+ // MORT = 1287,
1177
+ // FTMT = 4002,
1178
+ // https://faucet.buni.finance/
1179
+ // kucoin faucet: https://stakely.io/faucet/kucoin-kcc-kcs
1180
+ ];
1181
+ exports.supportedSolanaChains = [
1182
+ {
1183
+ key: base_1.ChainKey.SOL,
1184
+ chainType: Chain_1.ChainType.SVM,
1185
+ name: 'Solana',
1186
+ coin: base_1.CoinKey.SOL,
1187
+ id: base_1.ChainId.SOL,
1188
+ mainnet: true,
1189
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/solana.svg',
1190
+ faucetUrls: ['https://stakely.io/faucet/solana-sol'],
1191
+ metamask: {
1192
+ chainId: base_1.ChainId.SOL.toString(),
1193
+ blockExplorerUrls: [
1194
+ 'https://explorer.solana.com/',
1195
+ 'https://solscan.io/',
1196
+ 'https://solana.fm/',
1197
+ ],
1198
+ chainName: 'Solana',
1199
+ nativeCurrency: {
1200
+ name: 'SOL',
1201
+ symbol: 'SOL',
1202
+ decimals: 9,
1203
+ },
1204
+ rpcUrls: ['https://api.mainnet-beta.solana.com'],
1205
+ },
1206
+ },
1207
+ ];
1208
+ // This assignment is required to avoid breaking
1209
+ // changes with the new non EVM support types release
1210
+ // This will be removed in the future
1211
+ exports.supportedChains = [...exports.supportedEVMChains, ...exports.supportedSolanaChains];