@lifi/data-types 4.10.5 → 5.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.
- package/package.json +28 -69
- package/{dist/cjs → src/_cjs}/chains/index.js +4 -16
- package/src/_cjs/chains/index.js.map +1 -0
- package/src/_cjs/chains/supportedChains.evm.int.spec.js +33 -0
- package/src/_cjs/chains/supportedChains.evm.int.spec.js.map +1 -0
- package/{dist/cjs → src/_cjs}/chains/supportedChains.evm.js +132 -302
- package/src/_cjs/chains/supportedChains.evm.js.map +1 -0
- package/{dist/cjs → src/_cjs}/chains/supportedChains.js +1 -3
- package/src/_cjs/chains/supportedChains.js.map +1 -0
- package/src/_cjs/chains/supportedChains.svm.int.spec.js +45 -0
- package/src/_cjs/chains/supportedChains.svm.int.spec.js.map +1 -0
- package/{dist/cjs → src/_cjs}/chains/supportedChains.svm.js +5 -1
- package/src/_cjs/chains/supportedChains.svm.js.map +1 -0
- package/src/_cjs/chains/supportedChains.unit.spec.js +87 -0
- package/src/_cjs/chains/supportedChains.unit.spec.js.map +1 -0
- package/src/_cjs/chains/supportedChains.utxo.int.spec.js +43 -0
- package/src/_cjs/chains/supportedChains.utxo.int.spec.js.map +1 -0
- package/{dist/cjs → src/_cjs}/chains/supportedChains.utxo.js +5 -7
- package/src/_cjs/chains/supportedChains.utxo.js.map +1 -0
- package/{dist/cjs → src/_cjs}/chains/utils.js +1 -0
- package/src/_cjs/chains/utils.js.map +1 -0
- package/src/_cjs/coins/coins.int.spec.js +21 -0
- package/src/_cjs/coins/coins.int.spec.js.map +1 -0
- package/{dist/cjs → src/_cjs}/coins/coins.js +5 -79
- package/src/_cjs/coins/coins.js.map +1 -0
- package/src/_cjs/coins/index.js +5 -0
- package/src/_cjs/coins/index.js.map +1 -0
- package/src/_cjs/index.js +7 -0
- package/src/_cjs/index.js.map +1 -0
- package/{dist/cjs → src/_cjs}/multicall.js +1 -26
- package/src/_cjs/multicall.js.map +1 -0
- package/src/_cjs/package.json +1 -0
- package/{dist → src/_esm}/chains/index.js +1 -0
- package/src/_esm/chains/index.js.map +1 -0
- package/src/_esm/chains/supportedChains.evm.int.spec.js +31 -0
- package/src/_esm/chains/supportedChains.evm.int.spec.js.map +1 -0
- package/{dist → src/_esm}/chains/supportedChains.evm.js +139 -266
- package/src/_esm/chains/supportedChains.evm.js.map +1 -0
- package/{dist → src/_esm}/chains/supportedChains.js +1 -0
- package/src/_esm/chains/supportedChains.js.map +1 -0
- package/src/_esm/chains/supportedChains.svm.int.spec.js +43 -0
- package/src/_esm/chains/supportedChains.svm.int.spec.js.map +1 -0
- package/{dist → src/_esm}/chains/supportedChains.svm.js +6 -2
- package/src/_esm/chains/supportedChains.svm.js.map +1 -0
- package/{dist → src/_esm}/chains/supportedChains.unit.spec.js +7 -3
- package/src/_esm/chains/supportedChains.unit.spec.js.map +1 -0
- package/src/_esm/chains/supportedChains.utxo.int.spec.js +41 -0
- package/src/_esm/chains/supportedChains.utxo.int.spec.js.map +1 -0
- package/{dist → src/_esm}/chains/supportedChains.utxo.js +6 -8
- package/src/_esm/chains/supportedChains.utxo.js.map +1 -0
- package/{dist → src/_esm}/chains/utils.js +1 -0
- package/src/_esm/chains/utils.js.map +1 -0
- package/src/_esm/coins/coins.int.spec.js +21 -0
- package/src/_esm/coins/coins.int.spec.js.map +1 -0
- package/{dist → src/_esm}/coins/coins.js +6 -8
- package/src/_esm/coins/coins.js.map +1 -0
- package/src/_esm/coins/index.js +2 -0
- package/src/_esm/coins/index.js.map +1 -0
- package/{dist → src/_esm}/index.js +1 -0
- package/src/_esm/index.js.map +1 -0
- package/{dist → src/_esm}/multicall.js +17 -16
- package/src/_esm/multicall.js.map +1 -0
- package/src/_esm/package.json +1 -0
- package/{dist → src/_types}/chains/index.d.ts +1 -0
- package/src/_types/chains/index.d.ts.map +1 -0
- package/{dist/cjs → src/_types}/chains/supportedChains.d.ts +2 -1
- package/src/_types/chains/supportedChains.d.ts.map +1 -0
- package/src/_types/chains/supportedChains.evm.d.ts +9 -0
- package/src/_types/chains/supportedChains.evm.d.ts.map +1 -0
- package/src/_types/chains/supportedChains.evm.int.spec.d.ts +2 -0
- package/src/_types/chains/supportedChains.evm.int.spec.d.ts.map +1 -0
- package/src/_types/chains/supportedChains.svm.d.ts +3 -0
- package/src/_types/chains/supportedChains.svm.d.ts.map +1 -0
- package/src/_types/chains/supportedChains.svm.int.spec.d.ts +2 -0
- package/src/_types/chains/supportedChains.svm.int.spec.d.ts.map +1 -0
- package/src/_types/chains/supportedChains.unit.spec.d.ts +2 -0
- package/src/_types/chains/supportedChains.unit.spec.d.ts.map +1 -0
- package/src/_types/chains/supportedChains.utxo.d.ts +3 -0
- package/src/_types/chains/supportedChains.utxo.d.ts.map +1 -0
- package/src/_types/chains/supportedChains.utxo.int.spec.d.ts +2 -0
- package/src/_types/chains/supportedChains.utxo.int.spec.d.ts.map +1 -0
- package/{dist → src/_types}/chains/utils.d.ts +1 -0
- package/src/_types/chains/utils.d.ts.map +1 -0
- package/{dist → src/_types}/coins/coins.d.ts +3 -1
- package/src/_types/coins/coins.d.ts.map +1 -0
- package/src/_types/coins/coins.int.spec.d.ts +2 -0
- package/src/_types/coins/coins.int.spec.d.ts.map +1 -0
- package/src/_types/coins/index.d.ts +2 -0
- package/src/_types/coins/index.d.ts.map +1 -0
- package/{dist → src/_types}/index.d.ts +1 -0
- package/src/_types/index.d.ts.map +1 -0
- package/{dist/cjs → src/_types}/multicall.d.ts +1 -0
- package/src/_types/multicall.d.ts.map +1 -0
- package/src/chains/index.ts +5 -0
- package/src/chains/supportedChains.evm.int.spec.ts +47 -0
- package/src/chains/supportedChains.evm.ts +902 -0
- package/src/chains/supportedChains.svm.int.spec.ts +60 -0
- package/src/chains/supportedChains.svm.ts +34 -0
- package/src/chains/supportedChains.ts +29 -0
- package/src/chains/supportedChains.unit.spec.ts +114 -0
- package/src/chains/supportedChains.utxo.int.spec.ts +56 -0
- package/src/chains/supportedChains.utxo.ts +93 -0
- package/src/chains/utils.ts +3 -0
- package/src/coins/coins.int.spec.ts +35 -0
- package/src/coins/coins.ts +1930 -0
- package/src/coins/index.ts +1 -0
- package/src/index.ts +3 -0
- package/src/multicall.ts +66 -0
- package/dist/chains/supportedChains.d.ts +0 -4
- package/dist/chains/supportedChains.evm.d.ts +0 -2
- package/dist/chains/supportedChains.svm.d.ts +0 -2
- package/dist/chains/supportedChains.unit.spec.d.ts +0 -1
- package/dist/chains/supportedChains.utxo.d.ts +0 -2
- package/dist/cjs/chains/index.d.ts +0 -5
- package/dist/cjs/chains/supportedChains.evm.d.ts +0 -2
- package/dist/cjs/chains/supportedChains.svm.d.ts +0 -2
- package/dist/cjs/chains/supportedChains.unit.spec.d.ts +0 -1
- package/dist/cjs/chains/supportedChains.unit.spec.js +0 -87
- package/dist/cjs/chains/supportedChains.utxo.d.ts +0 -2
- package/dist/cjs/chains/utils.d.ts +0 -1
- package/dist/cjs/coins/coins.d.ts +0 -26
- package/dist/cjs/coins/coins.int.spec.d.ts +0 -1
- package/dist/cjs/coins/coins.int.spec.js +0 -31
- package/dist/cjs/coins/index.d.ts +0 -1
- package/dist/cjs/coins/index.js +0 -17
- package/dist/cjs/index.d.ts +0 -3
- package/dist/cjs/index.js +0 -19
- package/dist/coins/coins.int.spec.d.ts +0 -1
- package/dist/coins/coins.int.spec.js +0 -29
- package/dist/coins/index.d.ts +0 -1
- package/dist/coins/index.js +0 -1
- package/dist/multicall.d.ts +0 -3
|
@@ -0,0 +1,902 @@
|
|
|
1
|
+
import type { EVMChain } from '@lifi/types'
|
|
2
|
+
import { ChainId, ChainKey, ChainType, CoinKey } from '@lifi/types'
|
|
3
|
+
import { multicallAddresses } from '../multicall'
|
|
4
|
+
import { prefixChainId } from './utils'
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* ChainNames aligned with https://github.com/ethereum-lists/chains/tree/master/_data/chains
|
|
8
|
+
*
|
|
9
|
+
* RPC list https://chainlist.org
|
|
10
|
+
* Please make sure to maintain the order of the RPCs with the most reliable on top, it does matter!
|
|
11
|
+
*/
|
|
12
|
+
export const supportedEVMChains: EVMChain[] = [
|
|
13
|
+
// 1 - Ethereum
|
|
14
|
+
{
|
|
15
|
+
key: ChainKey.ETH,
|
|
16
|
+
chainType: ChainType.EVM,
|
|
17
|
+
name: 'Ethereum',
|
|
18
|
+
coin: CoinKey.ETH,
|
|
19
|
+
id: 1,
|
|
20
|
+
mainnet: true,
|
|
21
|
+
logoURI:
|
|
22
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum.svg',
|
|
23
|
+
tokenlistUrl: 'https://gateway.ipfs.io/ipns/tokens.uniswap.org',
|
|
24
|
+
multicallAddress: multicallAddresses[ChainId.ETH],
|
|
25
|
+
metamask: {
|
|
26
|
+
chainId: prefixChainId(1),
|
|
27
|
+
blockExplorerUrls: ['https://etherscan.io/'],
|
|
28
|
+
chainName: 'Ethereum Mainnet',
|
|
29
|
+
nativeCurrency: {
|
|
30
|
+
name: 'ETH',
|
|
31
|
+
symbol: 'ETH',
|
|
32
|
+
decimals: 18,
|
|
33
|
+
},
|
|
34
|
+
rpcUrls: [
|
|
35
|
+
'https://ethereum-rpc.publicnode.com',
|
|
36
|
+
'https://eth.drpc.org',
|
|
37
|
+
'https://eth.public-rpc.com',
|
|
38
|
+
'https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161',
|
|
39
|
+
'https://rpc.ankr.com/eth',
|
|
40
|
+
],
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
// 137 - Polygon
|
|
44
|
+
{
|
|
45
|
+
key: ChainKey.POL,
|
|
46
|
+
chainType: ChainType.EVM,
|
|
47
|
+
name: 'Polygon',
|
|
48
|
+
coin: CoinKey.MATIC,
|
|
49
|
+
id: 137,
|
|
50
|
+
mainnet: true,
|
|
51
|
+
logoURI:
|
|
52
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/polygon.svg',
|
|
53
|
+
tokenlistUrl:
|
|
54
|
+
'https://unpkg.com/quickswap-default-token-list@1.0.71/build/quickswap-default.tokenlist.json',
|
|
55
|
+
faucetUrls: ['https://stakely.io/faucet/polygon-matic'],
|
|
56
|
+
multicallAddress: multicallAddresses[ChainId.POL],
|
|
57
|
+
metamask: {
|
|
58
|
+
chainId: prefixChainId(137),
|
|
59
|
+
blockExplorerUrls: ['https://polygonscan.com/'],
|
|
60
|
+
chainName: 'Polygon Mainnet',
|
|
61
|
+
nativeCurrency: {
|
|
62
|
+
name: 'MATIC',
|
|
63
|
+
symbol: 'MATIC',
|
|
64
|
+
decimals: 18,
|
|
65
|
+
},
|
|
66
|
+
rpcUrls: [
|
|
67
|
+
'https://polygon-bor-rpc.publicnode.com',
|
|
68
|
+
'https://polygon.drpc.org',
|
|
69
|
+
'https://polygon-rpc.com',
|
|
70
|
+
'https://rpc.ankr.com/polygon',
|
|
71
|
+
],
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
// 56 - Binance Smart Chain
|
|
75
|
+
{
|
|
76
|
+
key: ChainKey.BSC,
|
|
77
|
+
chainType: ChainType.EVM,
|
|
78
|
+
name: 'BSC',
|
|
79
|
+
coin: CoinKey.BNB,
|
|
80
|
+
id: 56,
|
|
81
|
+
mainnet: true,
|
|
82
|
+
logoURI:
|
|
83
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/bsc.svg',
|
|
84
|
+
tokenlistUrl:
|
|
85
|
+
'https://tokens.pancakeswap.finance/pancakeswap-extended.json',
|
|
86
|
+
faucetUrls: ['https://stakely.io/faucet/bsc-chain-bnb'],
|
|
87
|
+
multicallAddress: multicallAddresses[ChainId.BSC],
|
|
88
|
+
// https://docs.binance.org/smart-chain/wallet/metamask.html
|
|
89
|
+
metamask: {
|
|
90
|
+
chainId: prefixChainId(56),
|
|
91
|
+
blockExplorerUrls: ['https://bscscan.com/'],
|
|
92
|
+
chainName: 'BNB Smart Chain Mainnet',
|
|
93
|
+
nativeCurrency: {
|
|
94
|
+
name: 'BNB',
|
|
95
|
+
symbol: 'BNB',
|
|
96
|
+
decimals: 18,
|
|
97
|
+
},
|
|
98
|
+
rpcUrls: [
|
|
99
|
+
'https://bsc-dataseed.binance.org',
|
|
100
|
+
'https://bsc-dataseed.bnbchain.org',
|
|
101
|
+
'https://bsc-rpc.publicnode.com',
|
|
102
|
+
'https://bsc-dataseed1.defibit.io',
|
|
103
|
+
'https://bsc-dataseed1.ninicoin.io',
|
|
104
|
+
],
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
// 100 - Gnosis
|
|
108
|
+
{
|
|
109
|
+
key: ChainKey.DAI,
|
|
110
|
+
chainType: ChainType.EVM,
|
|
111
|
+
name: 'Gnosis',
|
|
112
|
+
coin: CoinKey.DAI,
|
|
113
|
+
id: 100,
|
|
114
|
+
mainnet: true,
|
|
115
|
+
logoURI:
|
|
116
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/gnosis.svg',
|
|
117
|
+
tokenlistUrl: 'https://tokens.honeyswap.org/',
|
|
118
|
+
faucetUrls: ['https://stakely.io/faucet/xdai-chain'],
|
|
119
|
+
multicallAddress: multicallAddresses[ChainId.DAI],
|
|
120
|
+
// https://www.xdaichain.com/for-users/wallets/metamask/metamask-setup
|
|
121
|
+
metamask: {
|
|
122
|
+
chainId: prefixChainId(100),
|
|
123
|
+
blockExplorerUrls: ['https://gnosis.blockscout.com/'],
|
|
124
|
+
chainName: 'Gnosis',
|
|
125
|
+
nativeCurrency: {
|
|
126
|
+
name: 'XDAI',
|
|
127
|
+
symbol: 'XDAI',
|
|
128
|
+
decimals: 18,
|
|
129
|
+
},
|
|
130
|
+
rpcUrls: [
|
|
131
|
+
'https://rpc.gnosischain.com',
|
|
132
|
+
'https://gnosis-rpc.publicnode.com',
|
|
133
|
+
'https://gnosis.drpc.org',
|
|
134
|
+
'https://rpc.ankr.com/gnosis',
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
// 250 - Fantom
|
|
139
|
+
{
|
|
140
|
+
key: ChainKey.FTM,
|
|
141
|
+
chainType: ChainType.EVM,
|
|
142
|
+
name: 'Fantom',
|
|
143
|
+
coin: CoinKey.FTM,
|
|
144
|
+
id: 250,
|
|
145
|
+
mainnet: true,
|
|
146
|
+
logoURI:
|
|
147
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fantom.svg',
|
|
148
|
+
tokenlistUrl:
|
|
149
|
+
'https://raw.githubusercontent.com/SpookySwap/spooky-info/master/src/constants/token/spookyswap.json',
|
|
150
|
+
faucetUrls: [
|
|
151
|
+
'https://stakely.io/faucet/fantom-blockchain-ftm',
|
|
152
|
+
'https://docs.spookyswap.finance/getting-started/how-to-get-fantom-gas',
|
|
153
|
+
],
|
|
154
|
+
multicallAddress: multicallAddresses[ChainId.FTM],
|
|
155
|
+
// https://docs.fantom.foundation/tutorials/set-up-metamask
|
|
156
|
+
metamask: {
|
|
157
|
+
chainId: prefixChainId(250),
|
|
158
|
+
blockExplorerUrls: ['https://ftmscan.com/'],
|
|
159
|
+
chainName: 'Fantom Opera',
|
|
160
|
+
nativeCurrency: {
|
|
161
|
+
name: 'FTM',
|
|
162
|
+
symbol: 'FTM',
|
|
163
|
+
decimals: 18,
|
|
164
|
+
},
|
|
165
|
+
rpcUrls: [
|
|
166
|
+
'https://rpcapi.fantom.network',
|
|
167
|
+
'https://rpc.fantom.network',
|
|
168
|
+
'https://fantom-rpc.publicnode.com',
|
|
169
|
+
'https://fantom.drpc.org',
|
|
170
|
+
'https://rpc.ftm.tools',
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
// 43114 - Avalanche
|
|
175
|
+
{
|
|
176
|
+
key: ChainKey.AVA,
|
|
177
|
+
chainType: ChainType.EVM,
|
|
178
|
+
name: 'Avalanche',
|
|
179
|
+
coin: CoinKey.AVAX,
|
|
180
|
+
id: 43114,
|
|
181
|
+
mainnet: true,
|
|
182
|
+
logoURI:
|
|
183
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/avalanche.svg',
|
|
184
|
+
tokenlistUrl:
|
|
185
|
+
'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/avalanche.json',
|
|
186
|
+
multicallAddress: multicallAddresses[ChainId.AVA],
|
|
187
|
+
// https://support.avax.network/en/articles/4626956-how-do-i-set-up-metamask-on-avalanche
|
|
188
|
+
metamask: {
|
|
189
|
+
chainId: prefixChainId(43114),
|
|
190
|
+
blockExplorerUrls: ['https://snowtrace.io/'],
|
|
191
|
+
chainName: 'Avalanche C-Chain',
|
|
192
|
+
nativeCurrency: {
|
|
193
|
+
name: 'AVAX',
|
|
194
|
+
symbol: 'AVAX',
|
|
195
|
+
decimals: 18,
|
|
196
|
+
},
|
|
197
|
+
rpcUrls: [
|
|
198
|
+
'https://api.avax.network/ext/bc/C/rpc',
|
|
199
|
+
'https://avalanche-c-chain-rpc.publicnode.com',
|
|
200
|
+
'https://avalanche.drpc.org',
|
|
201
|
+
'https://avalanche.public-rpc.com',
|
|
202
|
+
'https://rpc.ankr.com/avalanche',
|
|
203
|
+
],
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
// 42161 - Arbitrum
|
|
207
|
+
{
|
|
208
|
+
key: ChainKey.ARB,
|
|
209
|
+
chainType: ChainType.EVM,
|
|
210
|
+
name: 'Arbitrum',
|
|
211
|
+
coin: CoinKey.ETH,
|
|
212
|
+
id: 42161,
|
|
213
|
+
mainnet: true,
|
|
214
|
+
logoURI:
|
|
215
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/arbitrum.svg',
|
|
216
|
+
tokenlistUrl:
|
|
217
|
+
'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/arbitrum.json',
|
|
218
|
+
faucetUrls: ['https://bridge.arbitrum.io/'],
|
|
219
|
+
multicallAddress: multicallAddresses[ChainId.ARB],
|
|
220
|
+
metamask: {
|
|
221
|
+
chainId: prefixChainId(42161),
|
|
222
|
+
blockExplorerUrls: ['https://arbiscan.io/'],
|
|
223
|
+
chainName: 'Arbitrum One',
|
|
224
|
+
nativeCurrency: {
|
|
225
|
+
name: 'ETH',
|
|
226
|
+
symbol: 'ETH',
|
|
227
|
+
decimals: 18,
|
|
228
|
+
},
|
|
229
|
+
rpcUrls: [
|
|
230
|
+
'https://arb1.arbitrum.io/rpc',
|
|
231
|
+
'https://arbitrum-one-rpc.publicnode.com',
|
|
232
|
+
'https://arbitrum.drpc.org',
|
|
233
|
+
'https://rpc.ankr.com/arbitrum',
|
|
234
|
+
],
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
// 10 - Optimism
|
|
238
|
+
{
|
|
239
|
+
key: ChainKey.OPT,
|
|
240
|
+
chainType: ChainType.EVM,
|
|
241
|
+
name: 'Optimism',
|
|
242
|
+
coin: CoinKey.ETH,
|
|
243
|
+
id: 10,
|
|
244
|
+
mainnet: true,
|
|
245
|
+
logoURI:
|
|
246
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/optimism.svg',
|
|
247
|
+
tokenlistUrl: 'https://static.optimism.io/optimism.tokenlist.json',
|
|
248
|
+
faucetUrls: ['https://gateway.optimism.io/'],
|
|
249
|
+
multicallAddress: multicallAddresses[ChainId.OPT],
|
|
250
|
+
metamask: {
|
|
251
|
+
chainId: prefixChainId(10),
|
|
252
|
+
blockExplorerUrls: ['https://optimistic.etherscan.io/'],
|
|
253
|
+
chainName: 'OP Mainnet',
|
|
254
|
+
nativeCurrency: {
|
|
255
|
+
name: 'ETH',
|
|
256
|
+
symbol: 'ETH',
|
|
257
|
+
decimals: 18,
|
|
258
|
+
},
|
|
259
|
+
rpcUrls: [
|
|
260
|
+
'https://mainnet.optimism.io/',
|
|
261
|
+
'https://optimism-rpc.publicnode.com',
|
|
262
|
+
'https://optimism.drpc.org',
|
|
263
|
+
'https://rpc.ankr.com/optimism',
|
|
264
|
+
],
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
|
|
268
|
+
// 32659 - Fusion (anyswap)
|
|
269
|
+
{
|
|
270
|
+
key: ChainKey.FSN,
|
|
271
|
+
chainType: ChainType.EVM,
|
|
272
|
+
name: 'Fusion Mainnet',
|
|
273
|
+
coin: CoinKey.FSN,
|
|
274
|
+
id: 32659,
|
|
275
|
+
logoURI:
|
|
276
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fusion.png',
|
|
277
|
+
mainnet: true,
|
|
278
|
+
multicallAddress: multicallAddresses[ChainId.FSN],
|
|
279
|
+
// https://support.avax.network/en/articles/4626956-how-do-i-set-up-metamask-on-avalanche
|
|
280
|
+
metamask: {
|
|
281
|
+
chainId: prefixChainId(32659),
|
|
282
|
+
blockExplorerUrls: ['https://fsnscan.com/'],
|
|
283
|
+
chainName: 'Fusion Mainnet',
|
|
284
|
+
nativeCurrency: {
|
|
285
|
+
name: 'FSN',
|
|
286
|
+
symbol: 'FSN',
|
|
287
|
+
decimals: 18,
|
|
288
|
+
},
|
|
289
|
+
rpcUrls: ['https://mainnet.fusionnetwork.io'],
|
|
290
|
+
},
|
|
291
|
+
},
|
|
292
|
+
|
|
293
|
+
// 1666600000 - Harmony Mainnet Shard 0
|
|
294
|
+
{
|
|
295
|
+
key: ChainKey.ONE,
|
|
296
|
+
chainType: ChainType.EVM,
|
|
297
|
+
name: 'Harmony',
|
|
298
|
+
coin: CoinKey.ONE,
|
|
299
|
+
id: 1666600000,
|
|
300
|
+
mainnet: true,
|
|
301
|
+
logoURI:
|
|
302
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/harmony.svg',
|
|
303
|
+
tokenlistUrl:
|
|
304
|
+
'https://d1xrz6ki9z98vb.cloudfront.net/venomswap/lists/venomswap-default.tokenlist.json',
|
|
305
|
+
faucetUrls: ['https://stakely.io/faucet/harmony-one'],
|
|
306
|
+
multicallAddress: multicallAddresses[ChainId.ONE],
|
|
307
|
+
// https://docs.harmony.one/home/developers/wallets/metamask/connect-metamask-to-the-harmony-chain
|
|
308
|
+
metamask: {
|
|
309
|
+
chainId: prefixChainId(1666600000),
|
|
310
|
+
blockExplorerUrls: ['https://explorer.harmony.one/'],
|
|
311
|
+
chainName: 'Harmony Mainnet Shard 0',
|
|
312
|
+
nativeCurrency: {
|
|
313
|
+
name: 'ONE',
|
|
314
|
+
symbol: 'ONE',
|
|
315
|
+
decimals: 18,
|
|
316
|
+
},
|
|
317
|
+
rpcUrls: ['https://api.harmony.one'],
|
|
318
|
+
},
|
|
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:
|
|
330
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/moonriver.svg',
|
|
331
|
+
tokenlistUrl:
|
|
332
|
+
'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/moonriver.json',
|
|
333
|
+
multicallAddress: multicallAddresses[ChainId.MOR],
|
|
334
|
+
metamask: {
|
|
335
|
+
chainId: prefixChainId(1285),
|
|
336
|
+
blockExplorerUrls: ['https://moonriver.moonscan.io/'],
|
|
337
|
+
chainName: 'Moonriver',
|
|
338
|
+
nativeCurrency: {
|
|
339
|
+
name: 'Moonriver',
|
|
340
|
+
symbol: 'MOVR',
|
|
341
|
+
decimals: 18,
|
|
342
|
+
},
|
|
343
|
+
rpcUrls: [
|
|
344
|
+
'https://rpc.api.moonriver.moonbeam.network',
|
|
345
|
+
'https://moonriver-rpc.publicnode.com',
|
|
346
|
+
'https://moonriver.drpc.org',
|
|
347
|
+
],
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
|
|
351
|
+
// 1284 Moonbeam
|
|
352
|
+
{
|
|
353
|
+
key: ChainKey.MOO,
|
|
354
|
+
chainType: ChainType.EVM,
|
|
355
|
+
name: 'Moonbeam',
|
|
356
|
+
coin: CoinKey.GLMR,
|
|
357
|
+
id: 1284,
|
|
358
|
+
mainnet: true,
|
|
359
|
+
logoURI:
|
|
360
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/moonbeam.svg',
|
|
361
|
+
tokenlistUrl:
|
|
362
|
+
'https://raw.githubusercontent.com/BeamSwap/beamswap-tokenlist/main/tokenlist.json',
|
|
363
|
+
multicallAddress: multicallAddresses[ChainId.MOO],
|
|
364
|
+
metamask: {
|
|
365
|
+
chainId: prefixChainId(1284),
|
|
366
|
+
blockExplorerUrls: ['https://moonbeam.moonscan.io/'],
|
|
367
|
+
chainName: 'Moonbeam',
|
|
368
|
+
nativeCurrency: {
|
|
369
|
+
name: 'GLMR',
|
|
370
|
+
symbol: 'GLMR',
|
|
371
|
+
decimals: 18,
|
|
372
|
+
},
|
|
373
|
+
rpcUrls: [
|
|
374
|
+
'https://rpc.api.moonbeam.network',
|
|
375
|
+
'https://moonbeam-rpc.publicnode.com',
|
|
376
|
+
'https://moonbeam.drpc.org',
|
|
377
|
+
],
|
|
378
|
+
},
|
|
379
|
+
},
|
|
380
|
+
// 42220 Celo Mainnet
|
|
381
|
+
{
|
|
382
|
+
key: ChainKey.CEL,
|
|
383
|
+
chainType: ChainType.EVM,
|
|
384
|
+
name: 'Celo',
|
|
385
|
+
coin: CoinKey.CELO,
|
|
386
|
+
id: 42220,
|
|
387
|
+
mainnet: true,
|
|
388
|
+
logoURI:
|
|
389
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/celo.svg',
|
|
390
|
+
tokenlistUrl:
|
|
391
|
+
'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/celo.json',
|
|
392
|
+
faucetUrls: [
|
|
393
|
+
'https://stakely.io/faucet/celo-platform',
|
|
394
|
+
'https://free-online-app.com/faucet-for-eth-evm-chains/',
|
|
395
|
+
],
|
|
396
|
+
multicallAddress: multicallAddresses[ChainId.CEL],
|
|
397
|
+
metamask: {
|
|
398
|
+
chainId: prefixChainId(42220),
|
|
399
|
+
blockExplorerUrls: ['https://celoscan.io/'],
|
|
400
|
+
chainName: 'Celo Mainnet',
|
|
401
|
+
nativeCurrency: {
|
|
402
|
+
name: 'CELO',
|
|
403
|
+
symbol: 'CELO',
|
|
404
|
+
decimals: 18,
|
|
405
|
+
},
|
|
406
|
+
rpcUrls: [
|
|
407
|
+
'https://forno.celo.org',
|
|
408
|
+
'https://celo.drpc.org',
|
|
409
|
+
'https://rpc.ankr.com/celo',
|
|
410
|
+
],
|
|
411
|
+
},
|
|
412
|
+
},
|
|
413
|
+
// 122 Fuse Mainnet
|
|
414
|
+
{
|
|
415
|
+
key: ChainKey.FUS,
|
|
416
|
+
chainType: ChainType.EVM,
|
|
417
|
+
name: 'FUSE',
|
|
418
|
+
coin: CoinKey.FUSE,
|
|
419
|
+
id: 122,
|
|
420
|
+
mainnet: true,
|
|
421
|
+
logoURI:
|
|
422
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fuse.svg',
|
|
423
|
+
tokenlistUrl:
|
|
424
|
+
'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/fuse.json',
|
|
425
|
+
multicallAddress: multicallAddresses[ChainId.FUS],
|
|
426
|
+
metamask: {
|
|
427
|
+
chainId: prefixChainId(122),
|
|
428
|
+
blockExplorerUrls: ['https://explorer.fuse.io/'],
|
|
429
|
+
chainName: 'Fuse Mainnet',
|
|
430
|
+
nativeCurrency: {
|
|
431
|
+
name: 'FUSE',
|
|
432
|
+
symbol: 'FUSE',
|
|
433
|
+
decimals: 18,
|
|
434
|
+
},
|
|
435
|
+
rpcUrls: ['https://rpc.fuse.io', 'https://fuse.drpc.org'],
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
// 40 Telos EVM Mainnet
|
|
439
|
+
{
|
|
440
|
+
key: ChainKey.TLO,
|
|
441
|
+
chainType: ChainType.EVM,
|
|
442
|
+
name: 'Telos',
|
|
443
|
+
coin: CoinKey.TLOS,
|
|
444
|
+
id: 40,
|
|
445
|
+
mainnet: true,
|
|
446
|
+
tokenlistUrl:
|
|
447
|
+
'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/telos.json',
|
|
448
|
+
multicallAddress: multicallAddresses[ChainId.TLO],
|
|
449
|
+
metamask: {
|
|
450
|
+
chainId: prefixChainId(40),
|
|
451
|
+
blockExplorerUrls: ['https://www.telos.net/'],
|
|
452
|
+
chainName: 'Telos EVM Mainnet',
|
|
453
|
+
nativeCurrency: {
|
|
454
|
+
name: 'Telos',
|
|
455
|
+
symbol: 'TLOS',
|
|
456
|
+
decimals: 18,
|
|
457
|
+
},
|
|
458
|
+
rpcUrls: ['https://mainnet.telos.net/evm'],
|
|
459
|
+
},
|
|
460
|
+
},
|
|
461
|
+
// 25 Cronos Mainnet Beta
|
|
462
|
+
{
|
|
463
|
+
key: ChainKey.CRO,
|
|
464
|
+
chainType: ChainType.EVM,
|
|
465
|
+
name: 'Cronos',
|
|
466
|
+
coin: CoinKey.CRO,
|
|
467
|
+
id: 25,
|
|
468
|
+
mainnet: true,
|
|
469
|
+
logoURI:
|
|
470
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/cronos.svg',
|
|
471
|
+
tokenlistUrl:
|
|
472
|
+
'https://raw.githubusercontent.com/cronaswap/cronaswap-tokenlists/main/cronaswap-default.tokenlist.json',
|
|
473
|
+
multicallAddress: multicallAddresses[ChainId.CRO],
|
|
474
|
+
metamask: {
|
|
475
|
+
chainId: prefixChainId(25),
|
|
476
|
+
blockExplorerUrls: ['https://cronos.org/explorer/'],
|
|
477
|
+
chainName: 'Cronos Mainnet',
|
|
478
|
+
nativeCurrency: {
|
|
479
|
+
name: 'Crypto.org Coin',
|
|
480
|
+
symbol: 'CRO',
|
|
481
|
+
decimals: 18,
|
|
482
|
+
},
|
|
483
|
+
rpcUrls: [
|
|
484
|
+
'https://evm.cronos.org',
|
|
485
|
+
'https://evm-cronos.crypto.org',
|
|
486
|
+
'https://cronos.drpc.org',
|
|
487
|
+
],
|
|
488
|
+
},
|
|
489
|
+
},
|
|
490
|
+
// 288 Boba Network
|
|
491
|
+
{
|
|
492
|
+
key: ChainKey.BOB,
|
|
493
|
+
chainType: ChainType.EVM,
|
|
494
|
+
name: 'Boba',
|
|
495
|
+
coin: CoinKey.ETH,
|
|
496
|
+
id: 288,
|
|
497
|
+
mainnet: true,
|
|
498
|
+
logoURI:
|
|
499
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/boba.png',
|
|
500
|
+
// TODO: we should update token list url to latest one
|
|
501
|
+
tokenlistUrl:
|
|
502
|
+
'https://raw.githubusercontent.com/OolongSwap/boba-community-token-list/main/build/boba.tokenlist.json',
|
|
503
|
+
multicallAddress: multicallAddresses[ChainId.BOB],
|
|
504
|
+
metamask: {
|
|
505
|
+
chainId: prefixChainId(288),
|
|
506
|
+
blockExplorerUrls: ['https://bobascan.com/'],
|
|
507
|
+
chainName: 'Boba Network',
|
|
508
|
+
nativeCurrency: {
|
|
509
|
+
name: 'ETH',
|
|
510
|
+
symbol: 'ETH',
|
|
511
|
+
decimals: 18,
|
|
512
|
+
},
|
|
513
|
+
rpcUrls: ['https://mainnet.boba.network', 'https://replica.boba.network'],
|
|
514
|
+
},
|
|
515
|
+
},
|
|
516
|
+
// 106 Velas EVM Mainnet
|
|
517
|
+
{
|
|
518
|
+
key: ChainKey.VEL,
|
|
519
|
+
chainType: ChainType.EVM,
|
|
520
|
+
name: 'Velas',
|
|
521
|
+
coin: CoinKey.VLX,
|
|
522
|
+
id: 106,
|
|
523
|
+
mainnet: true,
|
|
524
|
+
multicallAddress: multicallAddresses[ChainId.VEL],
|
|
525
|
+
logoURI:
|
|
526
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/velas.png',
|
|
527
|
+
faucetUrls: ['https://stakely.io/faucet/velas-vlx'],
|
|
528
|
+
metamask: {
|
|
529
|
+
chainId: prefixChainId(106),
|
|
530
|
+
blockExplorerUrls: ['https://evmexplorer.velas.com/'],
|
|
531
|
+
chainName: 'Velas EVM Mainnet',
|
|
532
|
+
nativeCurrency: {
|
|
533
|
+
name: 'VLX',
|
|
534
|
+
symbol: 'VLX',
|
|
535
|
+
decimals: 18,
|
|
536
|
+
},
|
|
537
|
+
rpcUrls: ['https://evmexplorer.velas.com/rpc'],
|
|
538
|
+
},
|
|
539
|
+
},
|
|
540
|
+
|
|
541
|
+
// 1088 Metis Andromeda Mainnet
|
|
542
|
+
{
|
|
543
|
+
key: ChainKey.MAM,
|
|
544
|
+
chainType: ChainType.EVM,
|
|
545
|
+
name: 'Metis',
|
|
546
|
+
coin: CoinKey.METIS,
|
|
547
|
+
id: 1088,
|
|
548
|
+
mainnet: true,
|
|
549
|
+
logoURI:
|
|
550
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/metis.png',
|
|
551
|
+
tokenlistUrl:
|
|
552
|
+
'https://raw.githubusercontent.com/digitalnativeinc/default-token-list/dnf/tokens/metis.json',
|
|
553
|
+
multicallAddress: multicallAddresses[ChainId.MAM],
|
|
554
|
+
metamask: {
|
|
555
|
+
chainId: prefixChainId(1088),
|
|
556
|
+
blockExplorerUrls: ['https://andromeda-explorer.metis.io/'],
|
|
557
|
+
chainName: 'Metis Andromeda Mainnet',
|
|
558
|
+
nativeCurrency: {
|
|
559
|
+
name: 'METIS',
|
|
560
|
+
symbol: 'METIS',
|
|
561
|
+
decimals: 18,
|
|
562
|
+
},
|
|
563
|
+
rpcUrls: ['https://andromeda.metis.io', 'https://metis.drpc.org'],
|
|
564
|
+
},
|
|
565
|
+
},
|
|
566
|
+
// 1313161554 Aurora Mainnet
|
|
567
|
+
{
|
|
568
|
+
key: ChainKey.AUR,
|
|
569
|
+
chainType: ChainType.EVM,
|
|
570
|
+
name: 'Aurora',
|
|
571
|
+
coin: CoinKey.ETH,
|
|
572
|
+
id: 1313161554,
|
|
573
|
+
mainnet: true,
|
|
574
|
+
logoURI:
|
|
575
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/aurora.png',
|
|
576
|
+
tokenlistUrl: 'https://aurora.dev/tokens.json',
|
|
577
|
+
multicallAddress: multicallAddresses[ChainId.AUR],
|
|
578
|
+
metamask: {
|
|
579
|
+
chainId: prefixChainId(1313161554),
|
|
580
|
+
blockExplorerUrls: ['https://explorer.aurora.dev/'],
|
|
581
|
+
chainName: 'Aurora Mainnet',
|
|
582
|
+
nativeCurrency: {
|
|
583
|
+
name: 'ETH',
|
|
584
|
+
symbol: 'ETH',
|
|
585
|
+
decimals: 18,
|
|
586
|
+
},
|
|
587
|
+
rpcUrls: ['https://mainnet.aurora.dev'],
|
|
588
|
+
},
|
|
589
|
+
},
|
|
590
|
+
// EVM = 9001,
|
|
591
|
+
{
|
|
592
|
+
key: ChainKey.EVM,
|
|
593
|
+
chainType: ChainType.EVM,
|
|
594
|
+
name: 'Evmos',
|
|
595
|
+
coin: CoinKey.EVM,
|
|
596
|
+
id: 9001,
|
|
597
|
+
mainnet: true,
|
|
598
|
+
logoURI:
|
|
599
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/evmos.svg',
|
|
600
|
+
multicallAddress: multicallAddresses[ChainId.EVM],
|
|
601
|
+
metamask: {
|
|
602
|
+
chainId: prefixChainId(9001),
|
|
603
|
+
blockExplorerUrls: ['https://www.mintscan.io/evmos/'],
|
|
604
|
+
chainName: 'Evmos',
|
|
605
|
+
nativeCurrency: {
|
|
606
|
+
name: 'EVMOS',
|
|
607
|
+
symbol: 'EVMOS',
|
|
608
|
+
decimals: 18,
|
|
609
|
+
},
|
|
610
|
+
rpcUrls: [
|
|
611
|
+
'https://evmos.lava.build',
|
|
612
|
+
'https://evmos-evm-rpc.publicnode.com',
|
|
613
|
+
'https://evmos.drpc.org',
|
|
614
|
+
],
|
|
615
|
+
},
|
|
616
|
+
},
|
|
617
|
+
|
|
618
|
+
// 324 - zksync ERA
|
|
619
|
+
{
|
|
620
|
+
key: ChainKey.ERA,
|
|
621
|
+
chainType: ChainType.EVM,
|
|
622
|
+
name: 'zkSync',
|
|
623
|
+
coin: CoinKey.ETH,
|
|
624
|
+
id: 324,
|
|
625
|
+
mainnet: true,
|
|
626
|
+
logoURI:
|
|
627
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/zksync.svg',
|
|
628
|
+
multicallAddress: multicallAddresses[ChainId.ERA],
|
|
629
|
+
metamask: {
|
|
630
|
+
chainId: prefixChainId(324),
|
|
631
|
+
blockExplorerUrls: ['https://explorer.zksync.io/'],
|
|
632
|
+
chainName: 'zkSync Mainnet',
|
|
633
|
+
nativeCurrency: {
|
|
634
|
+
name: 'ETH',
|
|
635
|
+
symbol: 'ETH',
|
|
636
|
+
decimals: 18,
|
|
637
|
+
},
|
|
638
|
+
rpcUrls: ['https://mainnet.era.zksync.io'],
|
|
639
|
+
},
|
|
640
|
+
},
|
|
641
|
+
|
|
642
|
+
// 1101 - Polygon zkEVM
|
|
643
|
+
{
|
|
644
|
+
key: ChainKey.PZE,
|
|
645
|
+
chainType: ChainType.EVM,
|
|
646
|
+
name: 'Polygon zkEVM',
|
|
647
|
+
coin: CoinKey.ETH,
|
|
648
|
+
id: 1101,
|
|
649
|
+
mainnet: true,
|
|
650
|
+
logoURI:
|
|
651
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/zkevm.png',
|
|
652
|
+
multicallAddress: multicallAddresses[ChainId.PZE],
|
|
653
|
+
|
|
654
|
+
metamask: {
|
|
655
|
+
chainId: prefixChainId(1101),
|
|
656
|
+
blockExplorerUrls: ['https://zkevm.polygonscan.com/'],
|
|
657
|
+
chainName: 'Polygon zkEVM',
|
|
658
|
+
nativeCurrency: {
|
|
659
|
+
name: 'ETH',
|
|
660
|
+
symbol: 'ETH',
|
|
661
|
+
decimals: 18,
|
|
662
|
+
},
|
|
663
|
+
rpcUrls: ['https://zkevm-rpc.com', 'https://polygon-zkevm.drpc.org'],
|
|
664
|
+
},
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
key: ChainKey.BAS,
|
|
668
|
+
chainType: ChainType.EVM,
|
|
669
|
+
name: 'Base',
|
|
670
|
+
coin: CoinKey.ETH,
|
|
671
|
+
id: ChainId.BAS,
|
|
672
|
+
mainnet: true,
|
|
673
|
+
logoURI:
|
|
674
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/base.svg',
|
|
675
|
+
multicallAddress: multicallAddresses[ChainId.BAS],
|
|
676
|
+
metamask: {
|
|
677
|
+
chainId: prefixChainId(ChainId.BAS),
|
|
678
|
+
blockExplorerUrls: ['https://basescan.org/'],
|
|
679
|
+
chainName: 'Base',
|
|
680
|
+
nativeCurrency: {
|
|
681
|
+
name: 'Ethereum',
|
|
682
|
+
symbol: 'ETH',
|
|
683
|
+
decimals: 18,
|
|
684
|
+
},
|
|
685
|
+
rpcUrls: [
|
|
686
|
+
'https://mainnet.base.org',
|
|
687
|
+
'https://base-rpc.publicnode.com',
|
|
688
|
+
'https://base.drpc.org',
|
|
689
|
+
'https://rpc.ankr.com/base',
|
|
690
|
+
],
|
|
691
|
+
},
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
key: ChainKey.LNA,
|
|
695
|
+
chainType: ChainType.EVM,
|
|
696
|
+
name: 'Linea',
|
|
697
|
+
coin: CoinKey.ETH,
|
|
698
|
+
id: 59144,
|
|
699
|
+
mainnet: true,
|
|
700
|
+
logoURI:
|
|
701
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/linea.svg',
|
|
702
|
+
multicallAddress: multicallAddresses[ChainId.LNA],
|
|
703
|
+
metamask: {
|
|
704
|
+
chainId: prefixChainId(59144),
|
|
705
|
+
blockExplorerUrls: ['https://lineascan.build/'],
|
|
706
|
+
chainName: 'Linea',
|
|
707
|
+
nativeCurrency: {
|
|
708
|
+
name: 'ETH',
|
|
709
|
+
symbol: 'ETH',
|
|
710
|
+
decimals: 18,
|
|
711
|
+
},
|
|
712
|
+
rpcUrls: ['https://rpc.linea.build'],
|
|
713
|
+
},
|
|
714
|
+
},
|
|
715
|
+
// 534352 - Scroll
|
|
716
|
+
{
|
|
717
|
+
key: ChainKey.SCL,
|
|
718
|
+
chainType: ChainType.EVM,
|
|
719
|
+
name: 'Scroll',
|
|
720
|
+
coin: CoinKey.ETH,
|
|
721
|
+
id: 534352,
|
|
722
|
+
mainnet: true,
|
|
723
|
+
logoURI:
|
|
724
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/scroll.png',
|
|
725
|
+
multicallAddress: multicallAddresses[ChainId.SCL],
|
|
726
|
+
metamask: {
|
|
727
|
+
chainId: prefixChainId(534352),
|
|
728
|
+
blockExplorerUrls: ['https://scrollscan.com/'],
|
|
729
|
+
chainName: 'Scroll',
|
|
730
|
+
nativeCurrency: {
|
|
731
|
+
name: 'ETH',
|
|
732
|
+
symbol: 'ETH',
|
|
733
|
+
decimals: 18,
|
|
734
|
+
},
|
|
735
|
+
rpcUrls: [
|
|
736
|
+
'https://rpc.scroll.io',
|
|
737
|
+
'https://scroll.drpc.org',
|
|
738
|
+
'https://scroll-mainnet.public.blastapi.io',
|
|
739
|
+
'https://1rpc.io/scroll',
|
|
740
|
+
],
|
|
741
|
+
},
|
|
742
|
+
},
|
|
743
|
+
// 34443 - Mode
|
|
744
|
+
{
|
|
745
|
+
key: ChainKey.MOD,
|
|
746
|
+
chainType: ChainType.EVM,
|
|
747
|
+
name: 'Mode',
|
|
748
|
+
coin: CoinKey.ETH,
|
|
749
|
+
id: 34443,
|
|
750
|
+
mainnet: true,
|
|
751
|
+
logoURI:
|
|
752
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/mode.png',
|
|
753
|
+
multicallAddress: multicallAddresses[ChainId.MOD],
|
|
754
|
+
|
|
755
|
+
metamask: {
|
|
756
|
+
chainId: prefixChainId(34443),
|
|
757
|
+
blockExplorerUrls: [
|
|
758
|
+
'https://explorer.mode.network/',
|
|
759
|
+
'https://modescan.io/',
|
|
760
|
+
],
|
|
761
|
+
chainName: 'Mode',
|
|
762
|
+
nativeCurrency: {
|
|
763
|
+
name: 'ETH',
|
|
764
|
+
symbol: 'ETH',
|
|
765
|
+
decimals: 18,
|
|
766
|
+
},
|
|
767
|
+
rpcUrls: ['https://mainnet.mode.network', 'https://mode.drpc.org'],
|
|
768
|
+
},
|
|
769
|
+
},
|
|
770
|
+
// 5000 - Mantle
|
|
771
|
+
{
|
|
772
|
+
key: ChainKey.MNT,
|
|
773
|
+
chainType: ChainType.EVM,
|
|
774
|
+
name: 'Mantle',
|
|
775
|
+
coin: CoinKey.MNT,
|
|
776
|
+
id: 5000,
|
|
777
|
+
mainnet: true,
|
|
778
|
+
logoURI:
|
|
779
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/mantle.png',
|
|
780
|
+
multicallAddress: multicallAddresses[ChainId.MNT],
|
|
781
|
+
metamask: {
|
|
782
|
+
chainId: prefixChainId(5000),
|
|
783
|
+
blockExplorerUrls: [
|
|
784
|
+
'https://explorer.mantle.xyz/',
|
|
785
|
+
'https://mantlescan.xyz/',
|
|
786
|
+
],
|
|
787
|
+
chainName: 'Mantle',
|
|
788
|
+
nativeCurrency: {
|
|
789
|
+
name: 'Mantle',
|
|
790
|
+
symbol: 'MNT',
|
|
791
|
+
decimals: 18,
|
|
792
|
+
},
|
|
793
|
+
rpcUrls: [
|
|
794
|
+
'https://rpc.mantle.xyz',
|
|
795
|
+
'https://mantle-rpc.publicnode.com',
|
|
796
|
+
'https://mantle.drpc.org',
|
|
797
|
+
'https://mantle.public-rpc.com',
|
|
798
|
+
'https://rpc.ankr.com/mantle',
|
|
799
|
+
],
|
|
800
|
+
},
|
|
801
|
+
},
|
|
802
|
+
|
|
803
|
+
// 81457 - Blast
|
|
804
|
+
{
|
|
805
|
+
key: ChainKey.BLS,
|
|
806
|
+
chainType: ChainType.EVM,
|
|
807
|
+
name: 'Blast',
|
|
808
|
+
coin: CoinKey.ETH,
|
|
809
|
+
id: 81457,
|
|
810
|
+
mainnet: true,
|
|
811
|
+
logoURI:
|
|
812
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/blast.png',
|
|
813
|
+
multicallAddress: multicallAddresses[ChainId.BLS],
|
|
814
|
+
metamask: {
|
|
815
|
+
chainId: prefixChainId(81457),
|
|
816
|
+
blockExplorerUrls: ['https://blastscan.io/', 'https://blastexplorer.io/'],
|
|
817
|
+
chainName: 'Blast',
|
|
818
|
+
nativeCurrency: {
|
|
819
|
+
name: 'Ethereum',
|
|
820
|
+
symbol: 'ETH',
|
|
821
|
+
decimals: 18,
|
|
822
|
+
},
|
|
823
|
+
rpcUrls: [
|
|
824
|
+
'https://rpc.blast.io',
|
|
825
|
+
'https://blast-rpc.publicnode.com',
|
|
826
|
+
'https://blast.drpc.org',
|
|
827
|
+
'https://rpc.ankr.com/blast',
|
|
828
|
+
],
|
|
829
|
+
},
|
|
830
|
+
},
|
|
831
|
+
|
|
832
|
+
// 30 - Rootstock
|
|
833
|
+
{
|
|
834
|
+
key: ChainKey.RSK,
|
|
835
|
+
chainType: ChainType.EVM,
|
|
836
|
+
name: 'Rootstock',
|
|
837
|
+
coin: CoinKey.RBTC,
|
|
838
|
+
id: 30,
|
|
839
|
+
mainnet: true,
|
|
840
|
+
logoURI:
|
|
841
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/rootstock.svg',
|
|
842
|
+
multicallAddress: multicallAddresses[ChainId.RSK],
|
|
843
|
+
metamask: {
|
|
844
|
+
chainId: prefixChainId(30),
|
|
845
|
+
blockExplorerUrls: ['https://explorer.rootstock.io/'],
|
|
846
|
+
chainName: 'Rootstock Mainnet',
|
|
847
|
+
nativeCurrency: {
|
|
848
|
+
name: 'Rootstock Smart Bitcoin',
|
|
849
|
+
symbol: 'RBTC',
|
|
850
|
+
decimals: 18,
|
|
851
|
+
},
|
|
852
|
+
rpcUrls: ['https://public-node.rsk.co', 'https://mycrypto.rsk.co'],
|
|
853
|
+
},
|
|
854
|
+
},
|
|
855
|
+
|
|
856
|
+
// 1329 - SEI
|
|
857
|
+
{
|
|
858
|
+
key: ChainKey.SEI,
|
|
859
|
+
chainType: ChainType.EVM,
|
|
860
|
+
name: 'Sei',
|
|
861
|
+
coin: CoinKey.SEI,
|
|
862
|
+
id: 1329,
|
|
863
|
+
mainnet: true,
|
|
864
|
+
logoURI:
|
|
865
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/sei.svg',
|
|
866
|
+
multicallAddress: multicallAddresses[ChainId.SEI],
|
|
867
|
+
metamask: {
|
|
868
|
+
chainId: prefixChainId(1329),
|
|
869
|
+
blockExplorerUrls: ['https://seitrace.com/', 'https://seistream.app/'],
|
|
870
|
+
chainName: 'Sei Network',
|
|
871
|
+
nativeCurrency: {
|
|
872
|
+
name: 'SEI',
|
|
873
|
+
symbol: 'SEI',
|
|
874
|
+
decimals: 18,
|
|
875
|
+
},
|
|
876
|
+
rpcUrls: ['https://evm-rpc.sei-apis.com'],
|
|
877
|
+
},
|
|
878
|
+
},
|
|
879
|
+
// 252 - Fraxtal
|
|
880
|
+
{
|
|
881
|
+
key: ChainKey.FRA,
|
|
882
|
+
chainType: ChainType.EVM,
|
|
883
|
+
name: 'Fraxtal',
|
|
884
|
+
coin: CoinKey.frxETH,
|
|
885
|
+
id: 252,
|
|
886
|
+
mainnet: true,
|
|
887
|
+
logoURI:
|
|
888
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fraxtal.svg',
|
|
889
|
+
multicallAddress: multicallAddresses[ChainId.FRA],
|
|
890
|
+
metamask: {
|
|
891
|
+
chainId: prefixChainId(252),
|
|
892
|
+
blockExplorerUrls: ['https://fraxscan.com/'],
|
|
893
|
+
chainName: 'Fraxtal',
|
|
894
|
+
nativeCurrency: {
|
|
895
|
+
name: 'Frax Ethereum',
|
|
896
|
+
symbol: 'frxETH',
|
|
897
|
+
decimals: 18,
|
|
898
|
+
},
|
|
899
|
+
rpcUrls: ['https://rpc.frax.com'],
|
|
900
|
+
},
|
|
901
|
+
},
|
|
902
|
+
]
|