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