@tria-sdk/constants 1.0.46 → 1.0.48

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/src/chains.ts CHANGED
@@ -12,6 +12,7 @@ export const neoxTestnet: string = "NEOX-TESTNET";
12
12
  export const sepolia: string = "SEPOLIA";
13
13
  export const polygonAmoy: string = "AMOY";
14
14
  export const vanarTestnet: string = "VANGUARD-VANAR-TESTNET";
15
+ export const skaleTestnet: string = "SKALE-TESTNET";
15
16
 
16
17
  export type ZKLINK = "ZKLINK-NOVA";
17
18
  export type ZKLINK_TESTNET = "ZKLINK-NOVA-TESTNET";
@@ -20,8 +21,10 @@ export type NEOX_TESTNET = "NEOX-TESTNET";
20
21
  export type SEPOLIA = "SEPOLIA";
21
22
  export type AMOY = "AMOY";
22
23
  export type VANGUARD_VANAR_TESTNET = "VANGUARD-VANAR-TESTNET";
24
+ export type SKALE_TESTNET = "SKALE-TESTNET";
23
25
 
24
26
  export const TESTNET_CHAINS = [
27
+ sepolia,
25
28
  "MUMBAI",
26
29
  "FUSESPARK",
27
30
  "MANTA-TESTNET",
@@ -33,6 +36,7 @@ export const TESTNET_CHAINS = [
33
36
  sepolia,
34
37
  polygonAmoy,
35
38
  vanarTestnet,
39
+ skaleTestnet,
36
40
  ];
37
41
 
38
42
  export const SUPPORTED_EVM_CHAINS = [
@@ -46,6 +50,7 @@ export const SUPPORTED_EVM_CHAINS = [
46
50
  "FUSE",
47
51
  "FUSESPARK",
48
52
  "MUMBAI",
53
+ sepolia,
49
54
  "MANTA",
50
55
  "MANTA-TESTNET",
51
56
  "METIS",
@@ -60,11 +65,15 @@ export const SUPPORTED_EVM_CHAINS = [
60
65
  sepolia,
61
66
  polygonAmoy,
62
67
  vanarTestnet,
68
+ skaleTestnet,
63
69
  ];
64
70
 
71
+ export const GAS_ABS_ENABLED_CHAINS = [sepolia, "POLYGON"];
72
+
65
73
  export const AA_SUPPORTED_EVM_CHAINS = [
66
74
  // "ETH",
67
75
  "POLYGON",
76
+ sepolia,
68
77
  // "AVALANCHE",
69
78
  // "ARBITRUM",
70
79
  // "BINANCE",
@@ -90,6 +99,7 @@ export const ALLCHAINS = [
90
99
  "FUSE",
91
100
  "FUSESPARK",
92
101
  "MUMBAI",
102
+ sepolia,
93
103
  "MANTA",
94
104
  "MANTA-TESTNET",
95
105
  "METIS",
@@ -105,6 +115,7 @@ export const ALLCHAINS = [
105
115
  sepolia,
106
116
  polygonAmoy,
107
117
  vanarTestnet,
118
+ skaleTestnet,
108
119
  ];
109
120
 
110
121
  const baseLogoUrl = "https://static.tria.so/chain-logo-w";
@@ -240,6 +251,11 @@ export const networks = [
240
251
  logo: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrl}/Vanguard.webp`,
241
252
  type: "testnet",
242
253
  },
254
+ {
255
+ chainName: skaleTestnet,
256
+ logo: "https://docs.skale.network/_/img/Skale_Logo_Black.png",
257
+ type: "testnet",
258
+ },
243
259
  ];
244
260
 
245
261
  export const chainNameToLogo = {
@@ -269,183 +285,34 @@ export const chainNameToLogo = {
269
285
  [bitlayerMainnet]: `${baseLogoUrl}/bitlayer.webp`,
270
286
  [neoxTestnet]: `${baseLogoUrl}/Neo.webp`,
271
287
  [vanarTestnet]: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrl}/Vanguard.webp`,
288
+ [skaleTestnet]: "https://docs.skale.network/_/img/Skale_Logo_Black.png",
272
289
  };
273
290
  export const chainNameToLogoAverageColor = {
274
- ETH: [
275
- { color: "rgb(98,126,235)", count: 58145 },
276
- { color: "rgb(255,255,255)", count: 32956 },
277
- { color: "rgb(193,204,248)", count: 2693 },
278
- { color: "rgb(97,127,235)", count: 1665 },
279
- { color: "rgb(100,125,235)", count: 1601 },
280
- ],
281
- POLYGON: [
282
- { color: "rgb(131,69,231)", count: 65288 },
283
- { color: "rgb(255,255,255)", count: 33553 },
284
- { color: "rgb(130,69,231)", count: 2035 },
285
- { color: "rgb(255,254,255)", count: 1632 },
286
- { color: "rgb(133,70,232)", count: 1525 },
287
- ],
288
- SEPOLIA: [
289
- { color: "rgb(98,126,235)", count: 58145 },
290
- { color: "rgb(255,255,255)", count: 32956 },
291
- { color: "rgb(193,204,248)", count: 2693 },
292
- { color: "rgb(97,127,235)", count: 1665 },
293
- { color: "rgb(100,125,235)", count: 1601 },
294
- ],
295
- FANTOM: [
296
- { color: "rgb(19,181,235)", count: 65352 },
297
- { color: "rgb(255,255,255)", count: 32378 },
298
- { color: "rgb(17,182,235)", count: 2074 },
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
- ],
291
+ ETH: "rgba(98,126,235,0.7)",
292
+ POLYGON: "rgba(131,69,231,0.7)",
293
+ SEPOLIA: "rgba(98,126,235,0.7)",
294
+ FANTOM: "rgba(19,181,235,0.7)",
295
+ AMOY: "rgba(131,69,231,0.7)",
296
+ AVALANCHE: "rgba(232,65,67,0.7)",
297
+ ARBITRUM: "rgba(17,170,255,0.7)",
298
+ OPTIMISM: "rgba(255,5,32,0.7)",
299
+ LINEA: "UNDETERMINED",
300
+ MUMBAI: "rgba(131,69,231,0.7)",
301
+ FUSESPARK: "rgba(180,249,185,0.7)",
302
+ FUSE: "rgba(180,249,185,0.7)",
303
+ MANTA: "rgba(255,0,0,0.7)",
304
+ "MANTA-TESTNET": "rgba(255,0,0,0.7)",
305
+ "METIS-TESTNET": "rgba(255,0,214,0.7)",
306
+ METIS: "rgba(255,0,214,0.7)",
307
+ SOLANA: "UNDETERMINED",
308
+ "MANTLE-TESTNET": "rgba(255,0,0,0.7)",
309
+ MANTLE: "rgba(255,0,0,0.7)",
310
+ "BITLAYER-TESTNET": "rgba(226,110,26,0.7)",
311
+ "ZKLINK-NOVA": "UNDETERMINED",
312
+ "ZKLINK-NOVA-TESTNET": "UNDETERMINED",
313
+ "NEOX-TESTNET": "rgba(1,229,155,0.7)",
314
+ "VANGUARD-VANAR-TESTNET": "rgba(0,255,255,0.7)",
315
+ BINANCE: "rgba(240,185,11,0.7)",
449
316
  };
450
317
 
451
318
  export const chainNameToLogoBlack = {
@@ -475,206 +342,5 @@ export const chainNameToLogoBlack = {
475
342
  [bitlayerMainnet]: `${baseLogoUrlBlack}/bitlayer.webp`,
476
343
  [neoxTestnet]: `${baseLogoUrlBlack}/Neo.png`,
477
344
  [vanarTestnet]: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrlBlack}/Vanguard.png`,
478
- };
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
- ],
345
+ [skaleTestnet]: "https://docs.skale.network/_/img/Skale_Logo_Black.png",
680
346
  };
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
+ };
@@ -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
@@ -7,6 +7,7 @@ import {
7
7
  zkLink,
8
8
  zkLinkTestnet,
9
9
  vanarTestnet,
10
+ skaleTestnet,
10
11
  } from "./chains";
11
12
 
12
13
  export const explorerBaseUrls = {
@@ -38,6 +39,8 @@ export const explorerBaseUrls = {
38
39
  [bitlayerMainnet]: "https://www.btrscan.com",
39
40
  [neoxTestnet]: "https://xt2scan.ngd.network",
40
41
  [vanarTestnet]: "https://explorer-vanguard.vanarchain.com",
42
+ [skaleTestnet]:
43
+ "https://giant-half-dual-testnet.explorer.testnet.skalenodes.com",
41
44
  };
42
45
 
43
46
  export const txnBaseUrl = {
@@ -65,6 +68,7 @@ export const txnBaseUrl = {
65
68
  [bitlayerMainnet]: `${explorerBaseUrls[bitlayerMainnet]}/tx`,
66
69
  [neoxTestnet]: `${explorerBaseUrls[neoxTestnet]}/tx`,
67
70
  [vanarTestnet]: `${explorerBaseUrls[vanarTestnet]}/tx`,
71
+ [skaleTestnet]: `${explorerBaseUrls[skaleTestnet]}/tx`,
68
72
  };
69
73
 
70
74
  export const nativeTokenDetails = {
@@ -203,6 +207,11 @@ export const nativeTokenDetails = {
203
207
  logoUrl:
204
208
  "https://explorer-vanguard.vanarchain.com/assets/network_icon_dark.svg",
205
209
  },
210
+ [skaleTestnet]: {
211
+ name: "sFUEL",
212
+ symbol: "sFUEL",
213
+ logoUrl: "https://docs.skale.network/_/img/Skale_Logo_Black.png",
214
+ },
206
215
  };
207
216
 
208
217
  const alchemyKey = "kcuWVV9ss_iLWJ2Lw6xdHbmtZYixfY7Z";
@@ -212,6 +221,7 @@ export const rpcUrls = {
212
221
  [polygonAmoy]: `https://polygon-amoy.g.alchemy.com/v2/${alchemyKey}`,
213
222
  [sepolia]: `https://eth-sepolia.g.alchemy.com/v2/${alchemyKey}`,
214
223
  ETH: "https://eth.llamarpc.com",
224
+ [sepolia]: `https://eth-sepolia.g.alchemy.com/v2/${alchemyKey}`,
215
225
  POLYGON: `https://polygon-mainnet.g.alchemy.com/v2/${alchemyKey}`, // 'https://polygon.llamarpc.com',
216
226
  AVALANCHE: "https://avalanche-c-chain.publicnode.com",
217
227
  ARBITRUM: "https://arbitrum-one.publicnode.com",
@@ -232,6 +242,7 @@ export const rpcUrls = {
232
242
  [bitlayerMainnet]: "https://rpc.bitlayer.org",
233
243
  [neoxTestnet]: "https://neoxseed1.ngd.network",
234
244
  [vanarTestnet]: "http://rpc-partners-vanguard.vanarchain.com", // "https://rpc-vanguard.vanarchain.com",
245
+ [skaleTestnet]: "https://testnet.skalenodes.com/v1/giant-half-dual-testnet",
235
246
  };
236
247
 
237
248
  export const chainNameToChainId = {
@@ -259,12 +270,13 @@ export const chainNameToChainId = {
259
270
  [bitlayerMainnet]: 200901,
260
271
  [neoxTestnet]: 12227330,
261
272
  [vanarTestnet]: 78600,
273
+ [skaleTestnet]: 974399131,
262
274
  };
263
275
 
264
276
  export const chainIdToChainName = {
277
+ 11155111: sepolia,
265
278
  80001: "MUMBAI",
266
279
  80002: polygonAmoy,
267
- 11155111: sepolia,
268
280
  137: "POLYGON",
269
281
  1: "ETH",
270
282
  43114: "AVALANCHE",
@@ -286,4 +298,5 @@ export const chainIdToChainName = {
286
298
  200901: bitlayerMainnet,
287
299
  12227330: neoxTestnet,
288
300
  78600: vanarTestnet,
301
+ 974399131: skaleTestnet,
289
302
  };