@tomo-inc/transaction-builder-sdk 0.0.1-alpha.2 → 0.0.1-alpha.3
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/dist/index.d.cts +584 -0
- package/dist/index.d.ts +584 -0
- package/dist/index.js +9429 -0
- package/dist/index.mjs +9423 -0
- package/package.json +6 -1
- package/project.json +0 -52
- package/src/__tests__/business.test.ts +0 -315
- package/src/api/index.ts +0 -115
- package/src/api/types.ts +0 -196
- package/src/chains/const.ts +0 -776
- package/src/chains/getBridgeSupportChains.ts +0 -5
- package/src/chains/getChains.ts +0 -6
- package/src/chains/getSwapSupportChains.ts +0 -5
- package/src/constant/abi.ts +0 -191
- package/src/constant/abis/permit2.json +0 -901
- package/src/constant/address.ts +0 -3
- package/src/constant/index.ts +0 -3
- package/src/constant/stage.json +0 -10
- package/src/index.ts +0 -368
- package/src/swap/bridgeBuilder.ts +0 -46
- package/src/swap/getApproveBuilder.ts +0 -25
- package/src/swap/getBridgeQuotes.ts +0 -12
- package/src/swap/getSwapQuotes.ts +0 -11
- package/src/swap/methods/builder.ts +0 -19
- package/src/swap/methods/chains/const.ts +0 -13
- package/src/swap/methods/chains/evm.ts +0 -124
- package/src/swap/methods/chains/sol.ts +0 -19
- package/src/swap/methods/chains/tron.ts +0 -123
- package/src/swap/methods/permit.ts +0 -1
- package/src/swap/methods/quote.ts +0 -60
- package/src/swap/methods/unsign.ts +0 -26
- package/src/swap/methods/utils.ts +0 -70
- package/src/swap/permitSign.ts +0 -0
- package/src/swap/swapBuilder.ts +0 -46
- package/src/types/chain.ts +0 -86
- package/src/types/index.ts +0 -15
- package/src/types/swap.ts +0 -140
- package/tsconfig.json +0 -25
- package/tsup.config.ts +0 -15
package/src/chains/const.ts
DELETED
|
@@ -1,776 +0,0 @@
|
|
|
1
|
-
import { Chain, IPlatformType } from "../types/chain";
|
|
2
|
-
|
|
3
|
-
export const chains: Chain[] = [
|
|
4
|
-
{
|
|
5
|
-
chainId: 8453,
|
|
6
|
-
chainIndex: 845300,
|
|
7
|
-
name: "BASE",
|
|
8
|
-
chainName: "Base",
|
|
9
|
-
nativeCurrencyName: "BASE_ETH",
|
|
10
|
-
nativeCurrencySymbol: "ETH",
|
|
11
|
-
nativeCurrencyDecimals: 18,
|
|
12
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/base"],
|
|
13
|
-
blockExplorerUrl: "https://basescan.org",
|
|
14
|
-
platformType: IPlatformType.EVM,
|
|
15
|
-
icon: "https://static.tomo.inc/token/base.svg",
|
|
16
|
-
supportSwap: true,
|
|
17
|
-
isListed: true,
|
|
18
|
-
support: true,
|
|
19
|
-
orderStatusSupport: true,
|
|
20
|
-
type: 1,
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
chainId: 1,
|
|
24
|
-
chainIndex: 100,
|
|
25
|
-
name: "ETH",
|
|
26
|
-
chainName: "Ethereum",
|
|
27
|
-
nativeCurrencyName: "ETH",
|
|
28
|
-
nativeCurrencySymbol: "ETH",
|
|
29
|
-
nativeCurrencyDecimals: 18,
|
|
30
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/eth"],
|
|
31
|
-
blockExplorerUrl: "https://etherscan.io",
|
|
32
|
-
platformType: IPlatformType.EVM,
|
|
33
|
-
icon: "https://static.tomo.inc/token/eth_new.svg",
|
|
34
|
-
supportSwap: true,
|
|
35
|
-
|
|
36
|
-
isListed: true,
|
|
37
|
-
support: true,
|
|
38
|
-
orderStatusSupport: true,
|
|
39
|
-
|
|
40
|
-
type: 1,
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
chainId: 59144,
|
|
44
|
-
chainIndex: 5914400,
|
|
45
|
-
name: "LINEA",
|
|
46
|
-
chainName: "Linea",
|
|
47
|
-
nativeCurrencyName: "LINEA_ETH",
|
|
48
|
-
nativeCurrencySymbol: "ETH",
|
|
49
|
-
nativeCurrencyDecimals: 18,
|
|
50
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/linea"],
|
|
51
|
-
blockExplorerUrl: "https://lineascan.build",
|
|
52
|
-
platformType: IPlatformType.EVM,
|
|
53
|
-
icon: "https://static.tomo.inc/token/linea.svg",
|
|
54
|
-
supportSwap: true,
|
|
55
|
-
|
|
56
|
-
isListed: true,
|
|
57
|
-
support: true,
|
|
58
|
-
orderStatusSupport: true,
|
|
59
|
-
|
|
60
|
-
type: 1,
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
chainId: 10,
|
|
64
|
-
chainIndex: 1000,
|
|
65
|
-
name: "OPTIMISM",
|
|
66
|
-
chainName: "Optimism",
|
|
67
|
-
nativeCurrencyName: "OP_ETH",
|
|
68
|
-
nativeCurrencySymbol: "ETH",
|
|
69
|
-
nativeCurrencyDecimals: 18,
|
|
70
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/optimism"],
|
|
71
|
-
blockExplorerUrl: "https://optimistic.etherscan.io",
|
|
72
|
-
platformType: IPlatformType.EVM,
|
|
73
|
-
icon: "https://static.tomo.inc/token/op.svg",
|
|
74
|
-
supportSwap: true,
|
|
75
|
-
|
|
76
|
-
isListed: true,
|
|
77
|
-
support: true,
|
|
78
|
-
orderStatusSupport: true,
|
|
79
|
-
|
|
80
|
-
type: 1,
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
chainId: 42161,
|
|
84
|
-
chainIndex: 4216100,
|
|
85
|
-
name: "ARBITRUM",
|
|
86
|
-
chainName: "Arbitrum One",
|
|
87
|
-
nativeCurrencyName: "ARB_ETH",
|
|
88
|
-
nativeCurrencySymbol: "ETH",
|
|
89
|
-
nativeCurrencyDecimals: 18,
|
|
90
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/arbitrum_one"],
|
|
91
|
-
blockExplorerUrl: "https://arbiscan.io",
|
|
92
|
-
platformType: IPlatformType.EVM,
|
|
93
|
-
icon: "https://static.tomo.inc/token/arb.jpeg",
|
|
94
|
-
supportSwap: true,
|
|
95
|
-
|
|
96
|
-
isListed: true,
|
|
97
|
-
support: true,
|
|
98
|
-
orderStatusSupport: true,
|
|
99
|
-
|
|
100
|
-
type: 1,
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
chainId: 56,
|
|
104
|
-
chainIndex: 5600,
|
|
105
|
-
name: "BSC",
|
|
106
|
-
chainName: "BNB Chain",
|
|
107
|
-
nativeCurrencyName: "BNB",
|
|
108
|
-
nativeCurrencySymbol: "BNB",
|
|
109
|
-
nativeCurrencyDecimals: 18,
|
|
110
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/bsc"],
|
|
111
|
-
blockExplorerUrl: "https://bscscan.com",
|
|
112
|
-
platformType: IPlatformType.EVM,
|
|
113
|
-
icon: "https://static.tomo.inc/token/bsc_new.svg",
|
|
114
|
-
supportSwap: true,
|
|
115
|
-
|
|
116
|
-
isListed: true,
|
|
117
|
-
support: true,
|
|
118
|
-
orderStatusSupport: true,
|
|
119
|
-
|
|
120
|
-
type: 1,
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
chainId: 137,
|
|
124
|
-
chainIndex: 13700,
|
|
125
|
-
name: "POLYGON_POS",
|
|
126
|
-
chainName: "Polygon",
|
|
127
|
-
nativeCurrencyName: "POL",
|
|
128
|
-
nativeCurrencySymbol: "POL",
|
|
129
|
-
nativeCurrencyDecimals: 18,
|
|
130
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/polygon"],
|
|
131
|
-
blockExplorerUrl: "https://polygonscan.com",
|
|
132
|
-
platformType: IPlatformType.EVM,
|
|
133
|
-
icon: "https://static.tomo.inc/token/polygon.svg",
|
|
134
|
-
supportSwap: true,
|
|
135
|
-
|
|
136
|
-
isListed: true,
|
|
137
|
-
support: true,
|
|
138
|
-
orderStatusSupport: true,
|
|
139
|
-
|
|
140
|
-
type: 1,
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
chainId: 81457,
|
|
144
|
-
chainIndex: 8145700,
|
|
145
|
-
name: "BLAST",
|
|
146
|
-
chainName: "Blast",
|
|
147
|
-
nativeCurrencyName: "BLAST_ETH",
|
|
148
|
-
nativeCurrencySymbol: "ETH",
|
|
149
|
-
nativeCurrencyDecimals: 18,
|
|
150
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/blast"],
|
|
151
|
-
blockExplorerUrl: "https://blastscan.io",
|
|
152
|
-
platformType: IPlatformType.EVM,
|
|
153
|
-
icon: "https://static.tomo.inc/token/blast.svg",
|
|
154
|
-
supportSwap: true,
|
|
155
|
-
|
|
156
|
-
isListed: true,
|
|
157
|
-
support: true,
|
|
158
|
-
orderStatusSupport: true,
|
|
159
|
-
|
|
160
|
-
type: 1,
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
chainId: 534352,
|
|
164
|
-
chainIndex: 53435200,
|
|
165
|
-
name: "SCROLL",
|
|
166
|
-
chainName: "Scroll",
|
|
167
|
-
nativeCurrencyName: "SCROLL_ETH",
|
|
168
|
-
nativeCurrencySymbol: "ETH",
|
|
169
|
-
nativeCurrencyDecimals: 18,
|
|
170
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/scroll"],
|
|
171
|
-
blockExplorerUrl: "https://scrollscan.com",
|
|
172
|
-
platformType: IPlatformType.EVM,
|
|
173
|
-
icon: "https://static.tomo.inc/token/scroll.svg",
|
|
174
|
-
supportSwap: true,
|
|
175
|
-
|
|
176
|
-
isListed: true,
|
|
177
|
-
support: true,
|
|
178
|
-
orderStatusSupport: true,
|
|
179
|
-
|
|
180
|
-
type: 1,
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
chainId: 43114,
|
|
184
|
-
chainIndex: 4311400,
|
|
185
|
-
name: "AVAX",
|
|
186
|
-
chainName: "Avalanche C",
|
|
187
|
-
nativeCurrencyName: "AVAX",
|
|
188
|
-
nativeCurrencySymbol: "AVAX",
|
|
189
|
-
nativeCurrencyDecimals: 18,
|
|
190
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/avalanche"],
|
|
191
|
-
blockExplorerUrl: "https://snowtrace.io",
|
|
192
|
-
platformType: IPlatformType.EVM,
|
|
193
|
-
icon: "https://static.tomo.inc/token/avalanche.svg",
|
|
194
|
-
supportSwap: true,
|
|
195
|
-
|
|
196
|
-
isListed: true,
|
|
197
|
-
support: true,
|
|
198
|
-
orderStatusSupport: true,
|
|
199
|
-
|
|
200
|
-
type: 1,
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
chainId: 324,
|
|
204
|
-
chainIndex: 32400,
|
|
205
|
-
name: "ZKSYNC",
|
|
206
|
-
chainName: "zkSync Era",
|
|
207
|
-
nativeCurrencyName: "ZKSYNC_ETH",
|
|
208
|
-
nativeCurrencySymbol: "ETH",
|
|
209
|
-
nativeCurrencyDecimals: 18,
|
|
210
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/zk_sync"],
|
|
211
|
-
blockExplorerUrl: "https://mainnet.era.zksync.io",
|
|
212
|
-
platformType: IPlatformType.EVM,
|
|
213
|
-
icon: "https://static.tomo.inc/token/zksync.png",
|
|
214
|
-
supportSwap: false,
|
|
215
|
-
|
|
216
|
-
isListed: true,
|
|
217
|
-
support: true,
|
|
218
|
-
orderStatusSupport: true,
|
|
219
|
-
|
|
220
|
-
type: 1,
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
chainId: 60808,
|
|
224
|
-
chainIndex: 6080800,
|
|
225
|
-
name: "BOB",
|
|
226
|
-
chainName: "BOB",
|
|
227
|
-
nativeCurrencyName: "BOB_ETH",
|
|
228
|
-
nativeCurrencySymbol: "ETH",
|
|
229
|
-
nativeCurrencyDecimals: 18,
|
|
230
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/bob"],
|
|
231
|
-
blockExplorerUrl: "https://rpc.gobob.xyz",
|
|
232
|
-
platformType: IPlatformType.EVM,
|
|
233
|
-
icon: "https://static.tomo.inc/token/bob.png",
|
|
234
|
-
supportSwap: false,
|
|
235
|
-
|
|
236
|
-
isListed: true,
|
|
237
|
-
support: true,
|
|
238
|
-
orderStatusSupport: true,
|
|
239
|
-
|
|
240
|
-
type: 1,
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
chainId: 8333,
|
|
244
|
-
chainIndex: 833300,
|
|
245
|
-
name: "B3",
|
|
246
|
-
chainName: "B3 Mainnet",
|
|
247
|
-
nativeCurrencyName: "B3_ETH",
|
|
248
|
-
nativeCurrencySymbol: "ETH",
|
|
249
|
-
nativeCurrencyDecimals: 18,
|
|
250
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/b3"],
|
|
251
|
-
blockExplorerUrl: "https://mainnet-rpc.b3.fun/http",
|
|
252
|
-
platformType: IPlatformType.EVM,
|
|
253
|
-
icon: "https://static.tomo.inc/token/b3.svg",
|
|
254
|
-
supportSwap: false,
|
|
255
|
-
|
|
256
|
-
isListed: true,
|
|
257
|
-
support: true,
|
|
258
|
-
orderStatusSupport: true,
|
|
259
|
-
|
|
260
|
-
type: 1,
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
chainId: 223,
|
|
264
|
-
chainIndex: 22300,
|
|
265
|
-
name: "B2",
|
|
266
|
-
chainName: "B² Network",
|
|
267
|
-
nativeCurrencyName: "B2_BTC",
|
|
268
|
-
nativeCurrencySymbol: "BTC",
|
|
269
|
-
nativeCurrencyDecimals: 18,
|
|
270
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/b2"],
|
|
271
|
-
blockExplorerUrl: "https://explorer.bsquared.network",
|
|
272
|
-
platformType: IPlatformType.EVM,
|
|
273
|
-
icon: "https://static.tomo.inc/token/b2.svg",
|
|
274
|
-
supportSwap: false,
|
|
275
|
-
|
|
276
|
-
isListed: true,
|
|
277
|
-
support: true,
|
|
278
|
-
orderStatusSupport: true,
|
|
279
|
-
|
|
280
|
-
type: 1,
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
chainId: 200901,
|
|
284
|
-
chainIndex: 20090100,
|
|
285
|
-
name: "BITLAYER",
|
|
286
|
-
chainName: "Bitlayer",
|
|
287
|
-
nativeCurrencyName: "BITLAYER_BTC",
|
|
288
|
-
nativeCurrencySymbol: "BTC",
|
|
289
|
-
nativeCurrencyDecimals: 18,
|
|
290
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/bit_layer"],
|
|
291
|
-
blockExplorerUrl: "https://rpc.bitlayer.org",
|
|
292
|
-
platformType: IPlatformType.EVM,
|
|
293
|
-
icon: "https://static.tomo.inc/token/bitlayer.svg",
|
|
294
|
-
supportSwap: false,
|
|
295
|
-
|
|
296
|
-
isListed: true,
|
|
297
|
-
support: true,
|
|
298
|
-
orderStatusSupport: true,
|
|
299
|
-
|
|
300
|
-
type: 1,
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
chainId: 5545,
|
|
304
|
-
chainIndex: 554500,
|
|
305
|
-
name: "DUCKCHAIN",
|
|
306
|
-
chainName: "DuckChain Mainnet",
|
|
307
|
-
nativeCurrencyName: "DUCKCHAIN_TON",
|
|
308
|
-
nativeCurrencySymbol: "TON",
|
|
309
|
-
nativeCurrencyDecimals: 18,
|
|
310
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/duck"],
|
|
311
|
-
blockExplorerUrl: "https://scan.duckchain.io",
|
|
312
|
-
platformType: IPlatformType.EVM,
|
|
313
|
-
icon: "https://static.tomo.inc/token/duckchain.svg",
|
|
314
|
-
supportSwap: false,
|
|
315
|
-
|
|
316
|
-
isListed: true,
|
|
317
|
-
support: true,
|
|
318
|
-
orderStatusSupport: true,
|
|
319
|
-
|
|
320
|
-
type: 1,
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
chainId: 47763,
|
|
324
|
-
chainIndex: 4776300,
|
|
325
|
-
name: "NEOX",
|
|
326
|
-
chainName: "Neo X Mainnet",
|
|
327
|
-
nativeCurrencyName: "GAS",
|
|
328
|
-
nativeCurrencySymbol: "GAS",
|
|
329
|
-
nativeCurrencyDecimals: 18,
|
|
330
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/neox"],
|
|
331
|
-
blockExplorerUrl: "https://neotube.io/",
|
|
332
|
-
platformType: IPlatformType.EVM,
|
|
333
|
-
icon: "https://static.tomo.inc/token/neo.jpg",
|
|
334
|
-
supportSwap: false,
|
|
335
|
-
|
|
336
|
-
isListed: true,
|
|
337
|
-
support: true,
|
|
338
|
-
orderStatusSupport: true,
|
|
339
|
-
|
|
340
|
-
type: 1,
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
chainId: 4200,
|
|
344
|
-
chainIndex: 420000,
|
|
345
|
-
name: "MERLIN",
|
|
346
|
-
chainName: "Merlin Chain",
|
|
347
|
-
nativeCurrencyName: "MERLIN_BTC",
|
|
348
|
-
nativeCurrencySymbol: "BTC",
|
|
349
|
-
nativeCurrencyDecimals: 18,
|
|
350
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/merlin"],
|
|
351
|
-
blockExplorerUrl: "https://scan.merlinchain.io",
|
|
352
|
-
platformType: IPlatformType.EVM,
|
|
353
|
-
icon: "https://static.tomo.inc/token/merlin.png",
|
|
354
|
-
supportSwap: false,
|
|
355
|
-
|
|
356
|
-
isListed: true,
|
|
357
|
-
support: true,
|
|
358
|
-
orderStatusSupport: true,
|
|
359
|
-
|
|
360
|
-
type: 1,
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
chainId: 1329,
|
|
364
|
-
chainIndex: 132900,
|
|
365
|
-
name: "SEI",
|
|
366
|
-
chainName: "Sei EVM",
|
|
367
|
-
nativeCurrencyName: "SEI",
|
|
368
|
-
nativeCurrencySymbol: "SEI",
|
|
369
|
-
nativeCurrencyDecimals: 18,
|
|
370
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/sei"],
|
|
371
|
-
blockExplorerUrl: "https://seitrace.com",
|
|
372
|
-
platformType: IPlatformType.EVM,
|
|
373
|
-
icon: "https://static.tomo.inc/token/sei.svg",
|
|
374
|
-
supportSwap: false,
|
|
375
|
-
|
|
376
|
-
isListed: true,
|
|
377
|
-
support: true,
|
|
378
|
-
orderStatusSupport: true,
|
|
379
|
-
|
|
380
|
-
type: 1,
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
chainId: 480,
|
|
384
|
-
chainIndex: 48000,
|
|
385
|
-
name: "WORLD_CHAIN",
|
|
386
|
-
chainName: "World Chain",
|
|
387
|
-
nativeCurrencyName: "WORLDCHAIN_ETH",
|
|
388
|
-
nativeCurrencySymbol: "ETH",
|
|
389
|
-
nativeCurrencyDecimals: 18,
|
|
390
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/world"],
|
|
391
|
-
blockExplorerUrl: "https://worldchain-mainnet.explorer.alchemy.com",
|
|
392
|
-
platformType: IPlatformType.EVM,
|
|
393
|
-
icon: "https://static.tomo.inc/token/world-chain.jpg",
|
|
394
|
-
supportSwap: false,
|
|
395
|
-
|
|
396
|
-
isListed: true,
|
|
397
|
-
support: true,
|
|
398
|
-
orderStatusSupport: true,
|
|
399
|
-
|
|
400
|
-
type: 1,
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
chainId: 2649,
|
|
404
|
-
chainIndex: 264900,
|
|
405
|
-
name: "AILAYER",
|
|
406
|
-
chainName: "AILayer",
|
|
407
|
-
nativeCurrencyName: "AILAYER_BTC",
|
|
408
|
-
nativeCurrencySymbol: "BTC",
|
|
409
|
-
nativeCurrencyDecimals: 18,
|
|
410
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/ai_layer"],
|
|
411
|
-
blockExplorerUrl: "https://mainnet-explorer.ailayer.xyz",
|
|
412
|
-
platformType: IPlatformType.EVM,
|
|
413
|
-
icon: "https://static.tomo.inc/token/ailayer.svg",
|
|
414
|
-
supportSwap: false,
|
|
415
|
-
|
|
416
|
-
isListed: true,
|
|
417
|
-
support: true,
|
|
418
|
-
orderStatusSupport: true,
|
|
419
|
-
|
|
420
|
-
type: 1,
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
chainId: 227,
|
|
424
|
-
chainIndex: 22700,
|
|
425
|
-
name: "PROM",
|
|
426
|
-
chainName: "Prom",
|
|
427
|
-
nativeCurrencyName: "PROM",
|
|
428
|
-
nativeCurrencySymbol: "PROM",
|
|
429
|
-
nativeCurrencyDecimals: 18,
|
|
430
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/prom_test"],
|
|
431
|
-
blockExplorerUrl: "https://promscan.io",
|
|
432
|
-
platformType: IPlatformType.EVM,
|
|
433
|
-
icon: "https://static.tomo.inc/token/prom-testnet.svg",
|
|
434
|
-
supportSwap: false,
|
|
435
|
-
|
|
436
|
-
isListed: true,
|
|
437
|
-
support: true,
|
|
438
|
-
orderStatusSupport: true,
|
|
439
|
-
|
|
440
|
-
type: 1,
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
chainId: 1625,
|
|
444
|
-
chainIndex: 162500,
|
|
445
|
-
name: "GRAVITY",
|
|
446
|
-
chainName: "Gravity Alpha",
|
|
447
|
-
nativeCurrencyName: "G",
|
|
448
|
-
nativeCurrencySymbol: "G",
|
|
449
|
-
nativeCurrencyDecimals: 18,
|
|
450
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/gravity"],
|
|
451
|
-
blockExplorerUrl: "https://explorer.gravity.xyz",
|
|
452
|
-
platformType: IPlatformType.EVM,
|
|
453
|
-
icon: "https://static.tomo.inc/token/gravity.jpg",
|
|
454
|
-
supportSwap: false,
|
|
455
|
-
|
|
456
|
-
isListed: true,
|
|
457
|
-
support: true,
|
|
458
|
-
orderStatusSupport: true,
|
|
459
|
-
|
|
460
|
-
type: 1,
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
chainId: 204,
|
|
464
|
-
chainIndex: 20400,
|
|
465
|
-
name: "OPBNB",
|
|
466
|
-
chainName: "opBNB",
|
|
467
|
-
nativeCurrencyName: "OP_BNB",
|
|
468
|
-
nativeCurrencySymbol: "BNB",
|
|
469
|
-
nativeCurrencyDecimals: 18,
|
|
470
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/op_bnb"],
|
|
471
|
-
blockExplorerUrl: "https://opbnb.bscscan.com",
|
|
472
|
-
platformType: IPlatformType.EVM,
|
|
473
|
-
icon: "https://static.tomo.inc/token/opbnb.svg",
|
|
474
|
-
supportSwap: false,
|
|
475
|
-
|
|
476
|
-
isListed: true,
|
|
477
|
-
support: true,
|
|
478
|
-
orderStatusSupport: true,
|
|
479
|
-
|
|
480
|
-
type: 1,
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
chainId: 21000000,
|
|
484
|
-
chainIndex: 2100000000,
|
|
485
|
-
name: "CORN",
|
|
486
|
-
chainName: "Corn",
|
|
487
|
-
nativeCurrencyName: "BTCN",
|
|
488
|
-
nativeCurrencySymbol: "BTCN",
|
|
489
|
-
nativeCurrencyDecimals: 18,
|
|
490
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/corn"],
|
|
491
|
-
blockExplorerUrl: "https://maizenet-explorer.usecorn.com",
|
|
492
|
-
platformType: IPlatformType.EVM,
|
|
493
|
-
icon: "https://static.tomo.inc/token/corn-logo.svg",
|
|
494
|
-
supportSwap: false,
|
|
495
|
-
|
|
496
|
-
isListed: true,
|
|
497
|
-
support: true,
|
|
498
|
-
orderStatusSupport: true,
|
|
499
|
-
|
|
500
|
-
type: 1,
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
chainId: 2390,
|
|
504
|
-
chainIndex: 239000,
|
|
505
|
-
name: "TAC_TESTNET",
|
|
506
|
-
chainName: "TAC Testnet",
|
|
507
|
-
nativeCurrencyName: "TAC(Testnet)",
|
|
508
|
-
nativeCurrencySymbol: "TAC",
|
|
509
|
-
nativeCurrencyDecimals: 18,
|
|
510
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/tac_test"],
|
|
511
|
-
blockExplorerUrl: "https://turin.explorer.tac.build",
|
|
512
|
-
platformType: IPlatformType.EVM,
|
|
513
|
-
isTestnet: true,
|
|
514
|
-
icon: "https://static.tomo.inc/token/tac.svg",
|
|
515
|
-
supportSwap: false,
|
|
516
|
-
|
|
517
|
-
isListed: true,
|
|
518
|
-
support: true,
|
|
519
|
-
orderStatusSupport: true,
|
|
520
|
-
|
|
521
|
-
type: 2,
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
chainId: 80094,
|
|
525
|
-
chainIndex: 8009400,
|
|
526
|
-
name: "BERACHAIN_MAINNET",
|
|
527
|
-
chainName: "Berachain Mainnet",
|
|
528
|
-
nativeCurrencyName: "BERA Token",
|
|
529
|
-
nativeCurrencySymbol: "BERA",
|
|
530
|
-
nativeCurrencyDecimals: 18,
|
|
531
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/bera"],
|
|
532
|
-
blockExplorerUrl: "https://berascan.com",
|
|
533
|
-
platformType: IPlatformType.EVM,
|
|
534
|
-
icon: "https://static.tomo.inc/token/berachain.svg",
|
|
535
|
-
supportSwap: false,
|
|
536
|
-
|
|
537
|
-
isListed: true,
|
|
538
|
-
support: true,
|
|
539
|
-
orderStatusSupport: true,
|
|
540
|
-
|
|
541
|
-
type: 1,
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
chainId: 1514,
|
|
545
|
-
chainIndex: 151400,
|
|
546
|
-
name: "STORY_MAINNET",
|
|
547
|
-
chainName: "Story Mainnet",
|
|
548
|
-
nativeCurrencyName: "IP",
|
|
549
|
-
nativeCurrencySymbol: "IP",
|
|
550
|
-
nativeCurrencyDecimals: 18,
|
|
551
|
-
rpcUrls: ["https://wallet-test.tomo.inc/rpc/v1/story"],
|
|
552
|
-
blockExplorerUrl: "https://mainnet.storyscan.xyz",
|
|
553
|
-
platformType: IPlatformType.EVM,
|
|
554
|
-
icon: "https://static.tomo.inc/token/story.jpg",
|
|
555
|
-
supportSwap: false,
|
|
556
|
-
|
|
557
|
-
isListed: true,
|
|
558
|
-
support: true,
|
|
559
|
-
orderStatusSupport: true,
|
|
560
|
-
|
|
561
|
-
type: 1,
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
chainId: 3,
|
|
565
|
-
chainIndex: 300,
|
|
566
|
-
name: "DOGECOIN",
|
|
567
|
-
chainName: "Dogecoin",
|
|
568
|
-
nativeCurrencyName: "DOGE",
|
|
569
|
-
nativeCurrencySymbol: "DOGE",
|
|
570
|
-
nativeCurrencyDecimals: 8,
|
|
571
|
-
platformType: IPlatformType.DOGE,
|
|
572
|
-
icon: "https://static.tomo.inc/token/doge.svg",
|
|
573
|
-
supportSwap: false,
|
|
574
|
-
isListed: false,
|
|
575
|
-
support: false,
|
|
576
|
-
orderStatusSupport: true,
|
|
577
|
-
|
|
578
|
-
type: 1,
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
chainId: 501,
|
|
582
|
-
chainIndex: 50100,
|
|
583
|
-
name: "SOLANA",
|
|
584
|
-
chainName: "Solana",
|
|
585
|
-
nativeCurrencyName: "SOL",
|
|
586
|
-
nativeCurrencySymbol: "SOL",
|
|
587
|
-
nativeCurrencyDecimals: 9,
|
|
588
|
-
platformType: IPlatformType.SOLANA,
|
|
589
|
-
icon: "https://static.tomo.inc/token/sol.svg",
|
|
590
|
-
supportSwap: true,
|
|
591
|
-
isListed: true,
|
|
592
|
-
support: true,
|
|
593
|
-
orderStatusSupport: true,
|
|
594
|
-
|
|
595
|
-
type: 2,
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
chainId: 8329,
|
|
599
|
-
chainIndex: 832900,
|
|
600
|
-
name: "LORENZO",
|
|
601
|
-
chainName: "Lorenzo",
|
|
602
|
-
nativeCurrencyName: "stBTC",
|
|
603
|
-
nativeCurrencySymbol: "stBTC",
|
|
604
|
-
nativeCurrencyDecimals: 18,
|
|
605
|
-
rpcUrls: ["https://rpc.lorenzo-protocol.xyz"],
|
|
606
|
-
blockExplorerUrl: "https://scan.lorenzo-protocol.xyz",
|
|
607
|
-
platformType: IPlatformType.EVM,
|
|
608
|
-
icon: "https://static.tomo.inc/token/lorenzo.svg",
|
|
609
|
-
supportSwap: false,
|
|
610
|
-
isListed: false,
|
|
611
|
-
support: true,
|
|
612
|
-
orderStatusSupport: true,
|
|
613
|
-
|
|
614
|
-
type: 1,
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
chainId: 1100,
|
|
618
|
-
chainIndex: 110000,
|
|
619
|
-
name: "TON",
|
|
620
|
-
chainName: "TON",
|
|
621
|
-
nativeCurrencyName: "TON",
|
|
622
|
-
nativeCurrencySymbol: "TON",
|
|
623
|
-
nativeCurrencyDecimals: 9,
|
|
624
|
-
platformType: IPlatformType.TON,
|
|
625
|
-
icon: "https://static.tomo.inc/token/ton.svg",
|
|
626
|
-
supportSwap: false,
|
|
627
|
-
isListed: false,
|
|
628
|
-
support: false,
|
|
629
|
-
orderStatusSupport: true,
|
|
630
|
-
type: 1,
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
chainId: 195,
|
|
634
|
-
chainIndex: 1948400,
|
|
635
|
-
name: "TRON",
|
|
636
|
-
chainName: "Tron",
|
|
637
|
-
nativeCurrencyName: "TRX",
|
|
638
|
-
nativeCurrencySymbol: "TRX",
|
|
639
|
-
nativeCurrencyDecimals: 6,
|
|
640
|
-
platformType: IPlatformType.TRON,
|
|
641
|
-
icon: "https://static.tomo.inc/token/tron.svg",
|
|
642
|
-
supportSwap: true,
|
|
643
|
-
isListed: true,
|
|
644
|
-
support: true,
|
|
645
|
-
orderStatusSupport: true,
|
|
646
|
-
type: 1,
|
|
647
|
-
},
|
|
648
|
-
{
|
|
649
|
-
chainId: 784,
|
|
650
|
-
chainIndex: 78400,
|
|
651
|
-
name: "SUI",
|
|
652
|
-
chainName: "SUI",
|
|
653
|
-
nativeCurrencyName: "SUI",
|
|
654
|
-
nativeCurrencySymbol: "SUI",
|
|
655
|
-
nativeCurrencyDecimals: 9,
|
|
656
|
-
platformType: IPlatformType.SUI,
|
|
657
|
-
icon: "https://static.tomo.inc/token/sui.svg",
|
|
658
|
-
supportSwap: false,
|
|
659
|
-
isListed: false,
|
|
660
|
-
support: false,
|
|
661
|
-
orderStatusSupport: true,
|
|
662
|
-
|
|
663
|
-
type: 1,
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
chainId: 4,
|
|
667
|
-
chainIndex: 400,
|
|
668
|
-
name: "COSMOS_HUB",
|
|
669
|
-
chainName: "Cosmos Hub",
|
|
670
|
-
nativeCurrencyName: "ATOM",
|
|
671
|
-
nativeCurrencySymbol: "ATOM",
|
|
672
|
-
nativeCurrencyDecimals: 6,
|
|
673
|
-
platformType: IPlatformType.COSMOS,
|
|
674
|
-
icon: "https://static.tomo.inc/token/cosmos.png",
|
|
675
|
-
supportSwap: false,
|
|
676
|
-
support: false,
|
|
677
|
-
orderStatusSupport: true,
|
|
678
|
-
isListed: false,
|
|
679
|
-
type: 1,
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
chainId: 202105,
|
|
683
|
-
chainIndex: 20210500,
|
|
684
|
-
name: "DUCKCHAIN_TESTNET",
|
|
685
|
-
chainName: "DuckChain Testnet",
|
|
686
|
-
nativeCurrencyName: "DUCKCHAIN_TON(Testnet)",
|
|
687
|
-
nativeCurrencySymbol: "TON",
|
|
688
|
-
nativeCurrencyDecimals: 18,
|
|
689
|
-
rpcUrls: ["https://testnet-rpc.duckchain.io"],
|
|
690
|
-
blockExplorerUrl: "https://testnet-scan.duckchain.io",
|
|
691
|
-
platformType: IPlatformType.EVM,
|
|
692
|
-
isTestnet: true,
|
|
693
|
-
icon: "https://static.tomo.inc/token/duckchain.svg",
|
|
694
|
-
supportSwap: false,
|
|
695
|
-
isListed: false,
|
|
696
|
-
support: true,
|
|
697
|
-
orderStatusSupport: true,
|
|
698
|
-
type: 2,
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
chainId: 80084,
|
|
702
|
-
chainIndex: 8008400,
|
|
703
|
-
name: "BERACHAIN_BARTIO",
|
|
704
|
-
chainName: "Berachain bArtio Testnet",
|
|
705
|
-
nativeCurrencyName: "BERA(bartio)",
|
|
706
|
-
nativeCurrencySymbol: "BERA",
|
|
707
|
-
nativeCurrencyDecimals: 18,
|
|
708
|
-
rpcUrls: ["https://bartio.rpc.berachain.com"],
|
|
709
|
-
blockExplorerUrl: "https://bartio.beratrail.io",
|
|
710
|
-
platformType: IPlatformType.EVM,
|
|
711
|
-
isTestnet: true,
|
|
712
|
-
icon: "https://static.tomo.inc/token/berachain.svg",
|
|
713
|
-
supportSwap: false,
|
|
714
|
-
isListed: false,
|
|
715
|
-
support: true,
|
|
716
|
-
orderStatusSupport: true,
|
|
717
|
-
type: 2,
|
|
718
|
-
},
|
|
719
|
-
{
|
|
720
|
-
chainId: 3636,
|
|
721
|
-
chainIndex: 363600,
|
|
722
|
-
name: "BOTANIX_TESTNET",
|
|
723
|
-
chainName: "Botanix Testnet",
|
|
724
|
-
nativeCurrencyName: "BOTANIX_BTC(Testnet)",
|
|
725
|
-
nativeCurrencySymbol: "BTC",
|
|
726
|
-
nativeCurrencyDecimals: 18,
|
|
727
|
-
rpcUrls: ["https://poa-node.botanixlabs.dev"],
|
|
728
|
-
blockExplorerUrl: "https://blockscout.botanixlabs.dev",
|
|
729
|
-
platformType: IPlatformType.EVM,
|
|
730
|
-
isTestnet: true,
|
|
731
|
-
icon: "https://static.tomo.inc/token/botanix-testnet.jpg",
|
|
732
|
-
supportSwap: false,
|
|
733
|
-
isListed: false,
|
|
734
|
-
support: true,
|
|
735
|
-
orderStatusSupport: true,
|
|
736
|
-
|
|
737
|
-
type: 2,
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
chainId: 1315,
|
|
741
|
-
chainIndex: 131500,
|
|
742
|
-
name: "STORY_AENEID_TESTNET",
|
|
743
|
-
chainName: "Story Aeneid Testnet",
|
|
744
|
-
nativeCurrencyName: "IP(Testnet)",
|
|
745
|
-
nativeCurrencySymbol: "IP",
|
|
746
|
-
nativeCurrencyDecimals: 18,
|
|
747
|
-
rpcUrls: ["https://aeneid.storyrpc.io"],
|
|
748
|
-
blockExplorerUrl: "https://aeneid.storyscan.xyz/",
|
|
749
|
-
platformType: IPlatformType.EVM,
|
|
750
|
-
icon: "https://static.tomo.inc/token/story.jpg",
|
|
751
|
-
supportSwap: false,
|
|
752
|
-
isListed: false,
|
|
753
|
-
orderStatusSupport: false,
|
|
754
|
-
support: false,
|
|
755
|
-
type: 0,
|
|
756
|
-
},
|
|
757
|
-
{
|
|
758
|
-
chainId: 126,
|
|
759
|
-
chainIndex: 12600,
|
|
760
|
-
name: "MOVEMENT_MAINNET",
|
|
761
|
-
chainName: "Movement",
|
|
762
|
-
nativeCurrencyName: "MOVE",
|
|
763
|
-
nativeCurrencySymbol: "MOVE",
|
|
764
|
-
nativeCurrencyDecimals: 8,
|
|
765
|
-
rpcUrls: ["https://mainnet.movementnetwork.xyz/v1"],
|
|
766
|
-
blockExplorerUrl: "https://explorer.movementnetwork.xyz/?network=mainnet",
|
|
767
|
-
platformType: IPlatformType.APTOS,
|
|
768
|
-
icon: "https://static.tomo.inc/token/movement.svg",
|
|
769
|
-
supportSwap: false,
|
|
770
|
-
isListed: false,
|
|
771
|
-
support: false,
|
|
772
|
-
orderStatusSupport: true,
|
|
773
|
-
|
|
774
|
-
type: 1,
|
|
775
|
-
},
|
|
776
|
-
];
|