@tria-sdk/constants 1.0.46 → 1.0.47
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/index.ts +1 -0
- package/package.json +1 -1
- package/src/chains.ts +31 -377
- package/src/config.ts +5 -0
- package/src/gasToken.ts +13 -0
- package/src/txn.ts +2 -1
package/index.ts
CHANGED
package/package.json
CHANGED
package/src/chains.ts
CHANGED
|
@@ -22,6 +22,7 @@ export type AMOY = "AMOY";
|
|
|
22
22
|
export type VANGUARD_VANAR_TESTNET = "VANGUARD-VANAR-TESTNET";
|
|
23
23
|
|
|
24
24
|
export const TESTNET_CHAINS = [
|
|
25
|
+
sepolia,
|
|
25
26
|
"MUMBAI",
|
|
26
27
|
"FUSESPARK",
|
|
27
28
|
"MANTA-TESTNET",
|
|
@@ -46,6 +47,7 @@ export const SUPPORTED_EVM_CHAINS = [
|
|
|
46
47
|
"FUSE",
|
|
47
48
|
"FUSESPARK",
|
|
48
49
|
"MUMBAI",
|
|
50
|
+
sepolia,
|
|
49
51
|
"MANTA",
|
|
50
52
|
"MANTA-TESTNET",
|
|
51
53
|
"METIS",
|
|
@@ -62,9 +64,12 @@ export const SUPPORTED_EVM_CHAINS = [
|
|
|
62
64
|
vanarTestnet,
|
|
63
65
|
];
|
|
64
66
|
|
|
67
|
+
export const GAS_ABS_ENABLED_CHAINS = [sepolia, "POLYGON"];
|
|
68
|
+
|
|
65
69
|
export const AA_SUPPORTED_EVM_CHAINS = [
|
|
66
70
|
// "ETH",
|
|
67
71
|
"POLYGON",
|
|
72
|
+
sepolia,
|
|
68
73
|
// "AVALANCHE",
|
|
69
74
|
// "ARBITRUM",
|
|
70
75
|
// "BINANCE",
|
|
@@ -90,6 +95,7 @@ export const ALLCHAINS = [
|
|
|
90
95
|
"FUSE",
|
|
91
96
|
"FUSESPARK",
|
|
92
97
|
"MUMBAI",
|
|
98
|
+
sepolia,
|
|
93
99
|
"MANTA",
|
|
94
100
|
"MANTA-TESTNET",
|
|
95
101
|
"METIS",
|
|
@@ -271,181 +277,31 @@ export const chainNameToLogo = {
|
|
|
271
277
|
[vanarTestnet]: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrl}/Vanguard.webp`,
|
|
272
278
|
};
|
|
273
279
|
export const chainNameToLogoAverageColor = {
|
|
274
|
-
ETH:
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
{ color: "rgb(20,180,235)", count: 1778 },
|
|
300
|
-
{ color: "rgb(253,255,255)", count: 852 },
|
|
301
|
-
],
|
|
302
|
-
AMOY: [
|
|
303
|
-
{ color: "rgb(131,69,231)", count: 65288 },
|
|
304
|
-
{ color: "rgb(255,255,255)", count: 33553 },
|
|
305
|
-
{ color: "rgb(130,69,231)", count: 2035 },
|
|
306
|
-
{ color: "rgb(255,254,255)", count: 1632 },
|
|
307
|
-
{ color: "rgb(133,70,232)", count: 1525 },
|
|
308
|
-
],
|
|
309
|
-
AVALANCHE: [
|
|
310
|
-
{ color: "rgb(232,65,67)", count: 68317 },
|
|
311
|
-
{ color: "rgb(255,255,255)", count: 37503 },
|
|
312
|
-
{ color: "rgb(230,66,67)", count: 1988 },
|
|
313
|
-
{ color: "rgb(253,255,255)", count: 1465 },
|
|
314
|
-
{ color: "rgb(255,254,255)", count: 1179 },
|
|
315
|
-
],
|
|
316
|
-
ARBITRUM: [
|
|
317
|
-
{ color: "rgb(32,50,76)", count: 49702 },
|
|
318
|
-
{ color: "rgb(255,255,255)", count: 37459 },
|
|
319
|
-
{ color: "rgb(253,255,255)", count: 3048 },
|
|
320
|
-
{ color: "rgb(17,170,255)", count: 2706 },
|
|
321
|
-
{ color: "rgb(32,51,74)", count: 1436 },
|
|
322
|
-
],
|
|
323
|
-
OPTIMISM: [
|
|
324
|
-
{ color: "rgb(255,5,32)", count: 65995 },
|
|
325
|
-
{ color: "rgb(255,255,255)", count: 35059 },
|
|
326
|
-
{ color: "rgb(253,255,255)", count: 1572 },
|
|
327
|
-
{ color: "rgb(253,5,32)", count: 1472 },
|
|
328
|
-
{ color: "rgb(255,5,30)", count: 1228 },
|
|
329
|
-
],
|
|
330
|
-
LINEA: [
|
|
331
|
-
{ color: "rgb(0,0,0)", count: 74322 },
|
|
332
|
-
{ color: "rgb(255,255,255)", count: 47002 },
|
|
333
|
-
{ color: "rgb(1,1,1)", count: 2347 },
|
|
334
|
-
{ color: "rgb(254,254,254)", count: 1890 },
|
|
335
|
-
{ color: "rgb(2,2,2)", count: 708 },
|
|
336
|
-
],
|
|
337
|
-
MUMBAI: [
|
|
338
|
-
{ color: "rgb(131,69,231)", count: 65288 },
|
|
339
|
-
{ color: "rgb(255,255,255)", count: 33553 },
|
|
340
|
-
{ color: "rgb(130,69,231)", count: 2035 },
|
|
341
|
-
{ color: "rgb(255,254,255)", count: 1632 },
|
|
342
|
-
{ color: "rgb(133,70,232)", count: 1525 },
|
|
343
|
-
],
|
|
344
|
-
FUSESPARK: [
|
|
345
|
-
{ color: "rgb(16,16,16)", count: 60777 },
|
|
346
|
-
{ color: "rgb(255,255,255)", count: 34647 },
|
|
347
|
-
{ color: "rgb(180,249,185)", count: 7972 },
|
|
348
|
-
{ color: "rgb(17,17,17)", count: 2538 },
|
|
349
|
-
{ color: "rgb(254,254,254)", count: 1070 },
|
|
350
|
-
],
|
|
351
|
-
FUSE: [
|
|
352
|
-
{ color: "rgb(16,16,16)", count: 60777 },
|
|
353
|
-
{ color: "rgb(255,255,255)", count: 34647 },
|
|
354
|
-
{ color: "rgb(180,249,185)", count: 7972 },
|
|
355
|
-
{ color: "rgb(17,17,17)", count: 2538 },
|
|
356
|
-
{ color: "rgb(254,254,254)", count: 1070 },
|
|
357
|
-
],
|
|
358
|
-
MANTA: [
|
|
359
|
-
{ color: "rgb(255,255,255)", count: 67031 },
|
|
360
|
-
{ color: "rgb(0,0,0)", count: 45642 },
|
|
361
|
-
{ color: "rgb(255,0,0)", count: 39932 },
|
|
362
|
-
{ color: "rgb(0,0,255)", count: 39577 },
|
|
363
|
-
{ color: "rgb(0,255,0)", count: 39464 },
|
|
364
|
-
],
|
|
365
|
-
"MANTA-TESTNET": [
|
|
366
|
-
{ color: "rgb(255,255,255)", count: 67031 },
|
|
367
|
-
{ color: "rgb(0,0,0)", count: 45642 },
|
|
368
|
-
{ color: "rgb(255,0,0)", count: 39932 },
|
|
369
|
-
{ color: "rgb(0,0,255)", count: 39577 },
|
|
370
|
-
{ color: "rgb(0,255,0)", count: 39464 },
|
|
371
|
-
],
|
|
372
|
-
"METIS-TESTNET": [
|
|
373
|
-
{ color: "rgb(255,255,255)", count: 64796 },
|
|
374
|
-
{ color: "rgb(255,255,0)", count: 30008 },
|
|
375
|
-
{ color: "rgb(214,255,255)", count: 28407 },
|
|
376
|
-
{ color: "rgb(255,0,214)", count: 28045 },
|
|
377
|
-
{ color: "rgb(0,214,255)", count: 27988 },
|
|
378
|
-
],
|
|
379
|
-
METIS: [
|
|
380
|
-
{ color: "rgb(255,255,255)", count: 64796 },
|
|
381
|
-
{ color: "rgb(255,255,0)", count: 30008 },
|
|
382
|
-
{ color: "rgb(214,255,255)", count: 28407 },
|
|
383
|
-
{ color: "rgb(255,0,214)", count: 28045 },
|
|
384
|
-
{ color: "rgb(0,214,255)", count: 27988 },
|
|
385
|
-
],
|
|
386
|
-
SOLANA: [
|
|
387
|
-
{ color: "rgb(0,0,0)", count: 73224 },
|
|
388
|
-
{ color: "rgb(255,255,255)", count: 34403 },
|
|
389
|
-
{ color: "rgb(1,1,1)", count: 2126 },
|
|
390
|
-
{ color: "rgb(2,0,0)", count: 690 },
|
|
391
|
-
{ color: "rgb(0,1,0)", count: 559 },
|
|
392
|
-
],
|
|
393
|
-
"MANTLE-TESTNET": [
|
|
394
|
-
{ color: "rgb(255,255,255)", count: 87449 },
|
|
395
|
-
{ color: "rgb(0,0,0)", count: 45212 },
|
|
396
|
-
{ color: "rgb(255,0,0)", count: 38097 },
|
|
397
|
-
{ color: "rgb(0,0,255)", count: 38077 },
|
|
398
|
-
{ color: "rgb(0,255,0)", count: 37002 },
|
|
399
|
-
],
|
|
400
|
-
MANTLE: [
|
|
401
|
-
{ color: "rgb(255,255,255)", count: 87449 },
|
|
402
|
-
{ color: "rgb(0,0,0)", count: 45212 },
|
|
403
|
-
{ color: "rgb(255,0,0)", count: 38097 },
|
|
404
|
-
{ color: "rgb(0,0,255)", count: 38077 },
|
|
405
|
-
{ color: "rgb(0,255,0)", count: 37002 },
|
|
406
|
-
],
|
|
407
|
-
"BITLAYER-TESTNET": [
|
|
408
|
-
{ color: "rgb(226,110,26)", count: 45499 },
|
|
409
|
-
{ color: "rgb(255,255,255)", count: 44700 },
|
|
410
|
-
{ color: "rgb(253,255,255)", count: 2764 },
|
|
411
|
-
{ color: "rgb(255,255,253)", count: 2360 },
|
|
412
|
-
{ color: "rgb(224,111,26)", count: 1643 },
|
|
413
|
-
],
|
|
414
|
-
"ZKLINK-NOVA": [
|
|
415
|
-
{ color: "rgb(14,14,14)", count: 65237 },
|
|
416
|
-
{ color: "rgb(255,255,255)", count: 36852 },
|
|
417
|
-
{ color: "rgb(15,15,15)", count: 3440 },
|
|
418
|
-
{ color: "rgb(13,13,13)", count: 1009 },
|
|
419
|
-
{ color: "rgb(14,14,16)", count: 1003 },
|
|
420
|
-
],
|
|
421
|
-
"ZKLINK-NOVA-TESTNET": [
|
|
422
|
-
{ color: "rgb(14,14,14)", count: 65237 },
|
|
423
|
-
{ color: "rgb(255,255,255)", count: 36852 },
|
|
424
|
-
{ color: "rgb(15,15,15)", count: 3440 },
|
|
425
|
-
{ color: "rgb(13,13,13)", count: 1009 },
|
|
426
|
-
{ color: "rgb(14,14,16)", count: 1003 },
|
|
427
|
-
],
|
|
428
|
-
"NEOX-TESTNET": [
|
|
429
|
-
{ color: "rgb(0,0,50)", count: 38962 },
|
|
430
|
-
{ color: "rgb(255,255,255)", count: 28144 },
|
|
431
|
-
{ color: "rgb(1,229,155)", count: 16462 },
|
|
432
|
-
{ color: "rgb(0,176,146)", count: 6823 },
|
|
433
|
-
{ color: "rgb(253,255,255)", count: 3078 },
|
|
434
|
-
],
|
|
435
|
-
"VANGUARD-VANAR-TESTNET": [
|
|
436
|
-
{ color: "rgb(0,0,0)", count: 127157 },
|
|
437
|
-
{ color: "rgb(255,255,255)", count: 3071 },
|
|
438
|
-
{ color: "rgb(255,255,0)", count: 3057 },
|
|
439
|
-
{ color: "rgb(0,255,255)", count: 2993 },
|
|
440
|
-
{ color: "rgb(255,0,255)", count: 2892 },
|
|
441
|
-
],
|
|
442
|
-
BINANCE: [
|
|
443
|
-
{ color: "rgb(255,255,255)", count: 6045 },
|
|
444
|
-
{ color: "rgb(240,185,11)", count: 2415 },
|
|
445
|
-
{ color: "rgb(185,11,255)", count: 2413 },
|
|
446
|
-
{ color: "rgb(255,240,185)", count: 2401 },
|
|
447
|
-
{ color: "rgb(11,255,240)", count: 2315 },
|
|
448
|
-
],
|
|
280
|
+
ETH: "rgba(98,126,235,0.7)",
|
|
281
|
+
POLYGON: "rgba(131,69,231,0.7)",
|
|
282
|
+
SEPOLIA: "rgba(98,126,235,0.7)",
|
|
283
|
+
FANTOM: "rgba(19,181,235,0.7)",
|
|
284
|
+
AMOY: "rgba(131,69,231,0.7)",
|
|
285
|
+
AVALANCHE: "rgba(232,65,67,0.7)",
|
|
286
|
+
ARBITRUM: "rgba(17,170,255,0.7)",
|
|
287
|
+
OPTIMISM: "rgba(255,5,32,0.7)",
|
|
288
|
+
LINEA: "UNDETERMINED",
|
|
289
|
+
MUMBAI: "rgba(131,69,231,0.7)",
|
|
290
|
+
FUSESPARK: "rgba(180,249,185,0.7)",
|
|
291
|
+
FUSE: "rgba(180,249,185,0.7)",
|
|
292
|
+
MANTA: "rgba(255,0,0,0.7)",
|
|
293
|
+
"MANTA-TESTNET": "rgba(255,0,0,0.7)",
|
|
294
|
+
"METIS-TESTNET": "rgba(255,0,214,0.7)",
|
|
295
|
+
METIS: "rgba(255,0,214,0.7)",
|
|
296
|
+
SOLANA: "UNDETERMINED",
|
|
297
|
+
"MANTLE-TESTNET": "rgba(255,0,0,0.7)",
|
|
298
|
+
MANTLE: "rgba(255,0,0,0.7)",
|
|
299
|
+
"BITLAYER-TESTNET": "rgba(226,110,26,0.7)",
|
|
300
|
+
"ZKLINK-NOVA": "UNDETERMINED",
|
|
301
|
+
"ZKLINK-NOVA-TESTNET": "UNDETERMINED",
|
|
302
|
+
"NEOX-TESTNET": "rgba(1,229,155,0.7)",
|
|
303
|
+
"VANGUARD-VANAR-TESTNET": "rgba(0,255,255,0.7)",
|
|
304
|
+
BINANCE: "rgba(240,185,11,0.7)",
|
|
449
305
|
};
|
|
450
306
|
|
|
451
307
|
export const chainNameToLogoBlack = {
|
|
@@ -476,205 +332,3 @@ export const chainNameToLogoBlack = {
|
|
|
476
332
|
[neoxTestnet]: `${baseLogoUrlBlack}/Neo.png`,
|
|
477
333
|
[vanarTestnet]: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrlBlack}/Vanguard.png`,
|
|
478
334
|
};
|
|
479
|
-
|
|
480
|
-
export const chainNameToLogoBlackAverageColor = {
|
|
481
|
-
FANTOM: [
|
|
482
|
-
{ color: "rgb(255,255,255)", count: 25004 },
|
|
483
|
-
{ color: "rgb(132,132,132)", count: 3219 },
|
|
484
|
-
{ color: "rgb(143,143,143)", count: 2392 },
|
|
485
|
-
{ color: "rgb(114,114,114)", count: 2283 },
|
|
486
|
-
{ color: "rgb(254,254,254)", count: 2250 },
|
|
487
|
-
],
|
|
488
|
-
|
|
489
|
-
POLYGON: [
|
|
490
|
-
{ color: "rgb(255,255,255)", count: 26414 },
|
|
491
|
-
{ color: "rgb(132,132,132)", count: 3390 },
|
|
492
|
-
{ color: "rgb(128,128,128)", count: 2783 },
|
|
493
|
-
{ color: "rgb(125,125,125)", count: 2448 },
|
|
494
|
-
{ color: "rgb(118,118,118)", count: 2387 },
|
|
495
|
-
],
|
|
496
|
-
|
|
497
|
-
ETH: [
|
|
498
|
-
{ color: "rgb(255,255,255)", count: 23340 },
|
|
499
|
-
{ color: "rgb(132,132,132)", count: 2559 },
|
|
500
|
-
{ color: "rgb(111,111,111)", count: 2372 },
|
|
501
|
-
{ color: "rgb(143,143,143)", count: 2341 },
|
|
502
|
-
{ color: "rgb(210,210,210)", count: 2325 },
|
|
503
|
-
],
|
|
504
|
-
|
|
505
|
-
SEPOLIA: [
|
|
506
|
-
{ color: "rgb(255,255,255)", count: 23340 },
|
|
507
|
-
{ color: "rgb(132,132,132)", count: 2559 },
|
|
508
|
-
{ color: "rgb(111,111,111)", count: 2372 },
|
|
509
|
-
{ color: "rgb(143,143,143)", count: 2341 },
|
|
510
|
-
{ color: "rgb(210,210,210)", count: 2325 },
|
|
511
|
-
],
|
|
512
|
-
|
|
513
|
-
AMOY: [
|
|
514
|
-
{ color: "rgb(255,255,255)", count: 26414 },
|
|
515
|
-
{ color: "rgb(132,132,132)", count: 3390 },
|
|
516
|
-
{ color: "rgb(128,128,128)", count: 2783 },
|
|
517
|
-
{ color: "rgb(125,125,125)", count: 2448 },
|
|
518
|
-
{ color: "rgb(118,118,118)", count: 2387 },
|
|
519
|
-
],
|
|
520
|
-
|
|
521
|
-
ARBITRUM: [
|
|
522
|
-
{ color: "rgb(255,255,255)", count: 37899 },
|
|
523
|
-
{ color: "rgb(143,143,143)", count: 2422 },
|
|
524
|
-
{ color: "rgb(111,111,111)", count: 2106 },
|
|
525
|
-
{ color: "rgb(105,105,105)", count: 1930 },
|
|
526
|
-
{ color: "rgb(254,254,254)", count: 1913 },
|
|
527
|
-
],
|
|
528
|
-
|
|
529
|
-
OPTIMISM: [
|
|
530
|
-
{ color: "rgb(255,255,255)", count: 27023 },
|
|
531
|
-
{ color: "rgb(132,132,132)", count: 3031 },
|
|
532
|
-
{ color: "rgb(111,111,111)", count: 2578 },
|
|
533
|
-
{ color: "rgb(125,125,125)", count: 2530 },
|
|
534
|
-
{ color: "rgb(118,118,118)", count: 2349 },
|
|
535
|
-
],
|
|
536
|
-
|
|
537
|
-
LINEA: [
|
|
538
|
-
{ color: "rgb(255,255,255)", count: 28540 },
|
|
539
|
-
{ color: "rgb(132,132,132)", count: 3517 },
|
|
540
|
-
{ color: "rgb(128,128,128)", count: 3200 },
|
|
541
|
-
{ color: "rgb(118,118,118)", count: 2815 },
|
|
542
|
-
{ color: "rgb(143,143,143)", count: 2740 },
|
|
543
|
-
],
|
|
544
|
-
|
|
545
|
-
AVALANCHE: [
|
|
546
|
-
{ color: "rgb(255,255,255)", count: 28225 },
|
|
547
|
-
{ color: "rgb(132,132,132)", count: 3609 },
|
|
548
|
-
{ color: "rgb(111,111,111)", count: 2934 },
|
|
549
|
-
{ color: "rgb(143,143,143)", count: 2876 },
|
|
550
|
-
{ color: "rgb(128,128,128)", count: 2668 },
|
|
551
|
-
],
|
|
552
|
-
|
|
553
|
-
MUMBAI: [
|
|
554
|
-
{ color: "rgb(255,255,255)", count: 26414 },
|
|
555
|
-
{ color: "rgb(132,132,132)", count: 3390 },
|
|
556
|
-
{ color: "rgb(128,128,128)", count: 2783 },
|
|
557
|
-
{ color: "rgb(125,125,125)", count: 2448 },
|
|
558
|
-
{ color: "rgb(118,118,118)", count: 2387 },
|
|
559
|
-
],
|
|
560
|
-
|
|
561
|
-
FUSE: [
|
|
562
|
-
{ color: "rgb(255,255,255)", count: 34461 },
|
|
563
|
-
{ color: "rgb(125,125,125)", count: 2518 },
|
|
564
|
-
{ color: "rgb(128,128,128)", count: 2480 },
|
|
565
|
-
{ color: "rgb(143,143,143)", count: 2141 },
|
|
566
|
-
{ color: "rgb(254,254,254)", count: 2017 },
|
|
567
|
-
],
|
|
568
|
-
|
|
569
|
-
FUSESPARK: [
|
|
570
|
-
{ color: "rgb(255,255,255)", count: 34461 },
|
|
571
|
-
{ color: "rgb(125,125,125)", count: 2518 },
|
|
572
|
-
{ color: "rgb(128,128,128)", count: 2480 },
|
|
573
|
-
{ color: "rgb(143,143,143)", count: 2141 },
|
|
574
|
-
{ color: "rgb(254,254,254)", count: 2017 },
|
|
575
|
-
],
|
|
576
|
-
|
|
577
|
-
MANTA: [
|
|
578
|
-
{ color: "rgb(0,0,0)", count: 35607 },
|
|
579
|
-
{ color: "rgb(16,16,16)", count: 27650 },
|
|
580
|
-
{ color: "rgb(17,17,17)", count: 5711 },
|
|
581
|
-
{ color: "rgb(128,16,16)", count: 898 },
|
|
582
|
-
{ color: "rgb(16,128,16)", count: 864 },
|
|
583
|
-
],
|
|
584
|
-
|
|
585
|
-
"MANTA-TESTNET": [
|
|
586
|
-
{ color: "rgb(0,0,0)", count: 35607 },
|
|
587
|
-
{ color: "rgb(16,16,16)", count: 27650 },
|
|
588
|
-
{ color: "rgb(17,17,17)", count: 5711 },
|
|
589
|
-
{ color: "rgb(128,16,16)", count: 898 },
|
|
590
|
-
{ color: "rgb(16,128,16)", count: 864 },
|
|
591
|
-
],
|
|
592
|
-
|
|
593
|
-
METIS: [
|
|
594
|
-
{ color: "rgb(0,0,0)", count: 35638 },
|
|
595
|
-
{ color: "rgb(16,16,16)", count: 24682 },
|
|
596
|
-
{ color: "rgb(17,17,17)", count: 4693 },
|
|
597
|
-
{ color: "rgb(124,16,16)", count: 764 },
|
|
598
|
-
{ color: "rgb(16,16,157)", count: 758 },
|
|
599
|
-
],
|
|
600
|
-
|
|
601
|
-
"METIS-TESTNET": [
|
|
602
|
-
{ color: "rgb(0,0,0)", count: 35638 },
|
|
603
|
-
{ color: "rgb(16,16,16)", count: 24682 },
|
|
604
|
-
{ color: "rgb(17,17,17)", count: 4693 },
|
|
605
|
-
{ color: "rgb(124,16,16)", count: 764 },
|
|
606
|
-
{ color: "rgb(16,16,157)", count: 758 },
|
|
607
|
-
],
|
|
608
|
-
|
|
609
|
-
SOLANA: [
|
|
610
|
-
{ color: "rgb(255,255,255)", count: 32241 },
|
|
611
|
-
{ color: "rgb(132,132,132)", count: 3455 },
|
|
612
|
-
{ color: "rgb(254,254,254)", count: 2440 },
|
|
613
|
-
{ color: "rgb(143,143,143)", count: 2295 },
|
|
614
|
-
{ color: "rgb(114,114,114)", count: 2228 },
|
|
615
|
-
],
|
|
616
|
-
|
|
617
|
-
"MANTLE-TESTNET": [
|
|
618
|
-
{ color: "rgb(0,0,0)", count: 35380 },
|
|
619
|
-
{ color: "rgb(16,16,16)", count: 21481 },
|
|
620
|
-
{ color: "rgb(17,17,17)", count: 6742 },
|
|
621
|
-
{ color: "rgb(242,242,242)", count: 1969 },
|
|
622
|
-
{ color: "rgb(15,15,15)", count: 1408 },
|
|
623
|
-
],
|
|
624
|
-
|
|
625
|
-
MANTLE: [
|
|
626
|
-
{ color: "rgb(0,0,0)", count: 35380 },
|
|
627
|
-
{ color: "rgb(16,16,16)", count: 21481 },
|
|
628
|
-
{ color: "rgb(17,17,17)", count: 6742 },
|
|
629
|
-
{ color: "rgb(242,242,242)", count: 1969 },
|
|
630
|
-
{ color: "rgb(15,15,15)", count: 1408 },
|
|
631
|
-
],
|
|
632
|
-
|
|
633
|
-
"ZKLINK-NOVA-TESTNET": [
|
|
634
|
-
{ color: "rgb(255,255,255)", count: 22586 },
|
|
635
|
-
{ color: "rgb(132,132,132)", count: 3447 },
|
|
636
|
-
{ color: "rgb(118,118,118)", count: 3122 },
|
|
637
|
-
{ color: "rgb(111,111,111)", count: 2516 },
|
|
638
|
-
{ color: "rgb(125,125,125)", count: 2497 },
|
|
639
|
-
],
|
|
640
|
-
|
|
641
|
-
"ZKLINK-NOVA": [
|
|
642
|
-
{ color: "rgb(255,255,255)", count: 22586 },
|
|
643
|
-
{ color: "rgb(132,132,132)", count: 3447 },
|
|
644
|
-
{ color: "rgb(118,118,118)", count: 3122 },
|
|
645
|
-
{ color: "rgb(111,111,111)", count: 2516 },
|
|
646
|
-
{ color: "rgb(125,125,125)", count: 2497 },
|
|
647
|
-
],
|
|
648
|
-
|
|
649
|
-
"BITLAYER-TESTNET": [
|
|
650
|
-
{ color: "rgb(255,255,255)", count: 32861 },
|
|
651
|
-
{ color: "rgb(111,111,111)", count: 2685 },
|
|
652
|
-
{ color: "rgb(132,132,132)", count: 2623 },
|
|
653
|
-
{ color: "rgb(143,143,143)", count: 2323 },
|
|
654
|
-
{ color: "rgb(115,115,115)", count: 1953 },
|
|
655
|
-
],
|
|
656
|
-
|
|
657
|
-
"NEOX-TESTNET": [
|
|
658
|
-
{ color: "rgb(255,255,255)", count: 39661 },
|
|
659
|
-
{ color: "rgb(132,132,132)", count: 2785 },
|
|
660
|
-
{ color: "rgb(143,143,143)", count: 2494 },
|
|
661
|
-
{ color: "rgb(111,111,111)", count: 1972 },
|
|
662
|
-
{ color: "rgb(140,140,140)", count: 1966 },
|
|
663
|
-
],
|
|
664
|
-
|
|
665
|
-
"VANGUARD-VANAR-TESTNET": [
|
|
666
|
-
{ color: "rgb(0,0,0)", count: 127157 },
|
|
667
|
-
{ color: "rgb(255,255,255)", count: 3071 },
|
|
668
|
-
{ color: "rgb(255,255,0)", count: 3057 },
|
|
669
|
-
{ color: "rgb(0,255,255)", count: 2993 },
|
|
670
|
-
{ color: "rgb(255,0,255)", count: 2892 },
|
|
671
|
-
],
|
|
672
|
-
|
|
673
|
-
BINANCE: [
|
|
674
|
-
{ color: "rgb(0,0,0)", count: 2614 },
|
|
675
|
-
{ color: "rgb(255,255,255)", count: 1676 },
|
|
676
|
-
{ color: "rgb(15,15,15)", count: 974 },
|
|
677
|
-
{ color: "rgb(16,16,16)", count: 855 },
|
|
678
|
-
{ color: "rgb(17,17,17)", count: 56 },
|
|
679
|
-
],
|
|
680
|
-
};
|
package/src/config.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AA_SUPPORTED_EVM_CHAINS,
|
|
3
3
|
ALLCHAINS,
|
|
4
|
+
GAS_ABS_ENABLED_CHAINS,
|
|
4
5
|
SUPPORTED_EVM_CHAINS,
|
|
5
6
|
TESTNET_CHAINS,
|
|
6
7
|
} from "./chains";
|
|
@@ -22,3 +23,7 @@ export const isChainSupported = (chainName: string) => {
|
|
|
22
23
|
export const isTestnetChain = (chainName: string) => {
|
|
23
24
|
return TESTNET_CHAINS.includes(chainName);
|
|
24
25
|
};
|
|
26
|
+
|
|
27
|
+
export const isGasAbsEnabled = (chainName: string) => {
|
|
28
|
+
return GAS_ABS_ENABLED_CHAINS.includes(chainName);
|
|
29
|
+
};
|
package/src/gasToken.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// import { polygonAmoy, sepolia } from "./chains";
|
|
2
|
+
|
|
3
|
+
// export const gasTokenAddresses = {
|
|
4
|
+
// [sepolia]: {
|
|
5
|
+
// USDC: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
6
|
+
// USDT: "",
|
|
7
|
+
// TST: "0xe2fDF4b113552A7bFaD5492D7E68F7479D7DFaCF",
|
|
8
|
+
// },
|
|
9
|
+
// [polygonAmoy]: {
|
|
10
|
+
// USDC: "",
|
|
11
|
+
// USDT: "",
|
|
12
|
+
// },
|
|
13
|
+
// };
|
package/src/txn.ts
CHANGED
|
@@ -212,6 +212,7 @@ export const rpcUrls = {
|
|
|
212
212
|
[polygonAmoy]: `https://polygon-amoy.g.alchemy.com/v2/${alchemyKey}`,
|
|
213
213
|
[sepolia]: `https://eth-sepolia.g.alchemy.com/v2/${alchemyKey}`,
|
|
214
214
|
ETH: "https://eth.llamarpc.com",
|
|
215
|
+
[sepolia]: `https://eth-sepolia.g.alchemy.com/v2/${alchemyKey}`,
|
|
215
216
|
POLYGON: `https://polygon-mainnet.g.alchemy.com/v2/${alchemyKey}`, // 'https://polygon.llamarpc.com',
|
|
216
217
|
AVALANCHE: "https://avalanche-c-chain.publicnode.com",
|
|
217
218
|
ARBITRUM: "https://arbitrum-one.publicnode.com",
|
|
@@ -262,9 +263,9 @@ export const chainNameToChainId = {
|
|
|
262
263
|
};
|
|
263
264
|
|
|
264
265
|
export const chainIdToChainName = {
|
|
266
|
+
11155111: sepolia,
|
|
265
267
|
80001: "MUMBAI",
|
|
266
268
|
80002: polygonAmoy,
|
|
267
|
-
11155111: sepolia,
|
|
268
269
|
137: "POLYGON",
|
|
269
270
|
1: "ETH",
|
|
270
271
|
43114: "AVALANCHE",
|