@tria-sdk/constants 1.0.44 → 1.0.46

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 CHANGED
@@ -1,18 +1,21 @@
1
1
  {
2
2
  "name": "@tria-sdk/constants",
3
- "version": "1.0.44",
3
+ "version": "1.0.46",
4
4
  "description": "",
5
- "main": "dist/index.js",
5
+ "module": "dist/constants.mjs",
6
6
  "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1",
9
+ "rollup": "rollup -c",
10
+ "build": "tsc && vite build"
11
+ },
7
12
  "devDependencies": {
8
13
  "typescript": "^5.3.3",
9
- "typescript-tools": "^0.3.1"
14
+ "typescript-tools": "^0.3.1",
15
+ "vite": "^5.1.4",
16
+ "vite-plugin-dts": "^3.7.3"
10
17
  },
11
18
  "keywords": [],
12
19
  "author": "",
13
- "license": "ISC",
14
- "scripts": {
15
- "test": "echo \"Error: no test specified\" && exit 1",
16
- "build": "tsc --project tsconfig.json"
17
- }
18
- }
20
+ "license": "ISC"
21
+ }
package/src/chains.ts CHANGED
@@ -270,11 +270,188 @@ export const chainNameToLogo = {
270
270
  [neoxTestnet]: `${baseLogoUrl}/Neo.webp`,
271
271
  [vanarTestnet]: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrl}/Vanguard.webp`,
272
272
  };
273
+ 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
+ ],
449
+ };
273
450
 
274
451
  export const chainNameToLogoBlack = {
275
452
  ETH: `${baseLogoUrlBlack}/Ethereum.webp`,
276
453
  [sepolia]: `${baseLogoUrlBlack}/Ethereum.webp`,
277
- BINANCE: `${baseLogoUrlBlack}/binance.webp`,
454
+ BINANCE: `${baseLogoUrlBlack}/binance.svg`,
278
455
  FANTOM: `${baseLogoUrlBlack}/Fantom.webp`,
279
456
  POLYGON: `${baseLogoUrlBlack}/Polygon.webp`,
280
457
  [polygonAmoy]: `${baseLogoUrlBlack}/Polygon.webp`,
@@ -299,3 +476,205 @@ export const chainNameToLogoBlack = {
299
476
  [neoxTestnet]: `${baseLogoUrlBlack}/Neo.png`,
300
477
  [vanarTestnet]: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrlBlack}/Vanguard.png`,
301
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
+ ],
680
+ };
package/src/txn.ts CHANGED
@@ -231,7 +231,7 @@ export const rpcUrls = {
231
231
  [bitlayerTestnet]: "https://testnet-rpc.bitlayer.org",
232
232
  [bitlayerMainnet]: "https://rpc.bitlayer.org",
233
233
  [neoxTestnet]: "https://neoxseed1.ngd.network",
234
- [vanarTestnet]: "https://rpc-partners-vanguard.vanarchain.com", // "https://rpc-vanguard.vanarchain.com",
234
+ [vanarTestnet]: "http://rpc-partners-vanguard.vanarchain.com", // "https://rpc-vanguard.vanarchain.com",
235
235
  };
236
236
 
237
237
  export const chainNameToChainId = {
package/tsconfig.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "ES6",
4
- "module": "CommonJS", // "CommonJS",
3
+ "target": "ES2022",
4
+ "module": "ES2022",
5
5
  "lib": ["ES2022"],
6
6
  "skipLibCheck": true,
7
7
  "strict": true,
package/vite.config.ts ADDED
@@ -0,0 +1,23 @@
1
+ import { defineConfig } from "vite";
2
+ import dts from "vite-plugin-dts";
3
+ // import visualizer from "rollup-plugin-visualizer";
4
+
5
+ export default defineConfig({
6
+ build: {
7
+ // Specify the entry point for your library
8
+ lib: {
9
+ entry: "index.ts", // Change this to your library's entry point
10
+ formats: ["es"], // Specify the format as ES module
11
+ },
12
+ // Optionally, specify external dependencies that should not be bundled
13
+ rollupOptions: {
14
+ output: {
15
+ preserveModules: true,
16
+ },
17
+ },
18
+ },
19
+ plugins: [
20
+ dts(),
21
+ // visualizer({ open: true, filename: "bundle-analysis.html" }),
22
+ ],
23
+ });
@@ -1,5 +0,0 @@
1
-
2
- 
3
- > @tria-sdk/constants@1.0.42 build /Users/dawn/Projects/Tria/tria-monorepo/packages/constants
4
- > tsc --project tsconfig.json
5
-
package/dist/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export * from "./src/config";
2
- export * from "./src/chains";
3
- export * from "./src/txn";
4
- export * from "./src/connect";
package/dist/index.js DELETED
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/config"), exports);
18
- __exportStar(require("./src/chains"), exports);
19
- __exportStar(require("./src/txn"), exports);
20
- __exportStar(require("./src/connect"), exports);
@@ -1,71 +0,0 @@
1
- export declare const mumbai = "MUMBAI";
2
- export declare const polygon = "POLYGON";
3
- export declare const ethereum = "ETH";
4
- export declare const fuse = "FUSE";
5
- export declare const fuseSpark = "FUSESPARK";
6
- export declare const zkLink: string;
7
- export declare const zkLinkTestnet: string;
8
- export declare const bitlayerTestnet: string;
9
- export declare const bitlayerMainnet: string;
10
- export declare const neoxTestnet: string;
11
- export declare const sepolia: string;
12
- export declare const polygonAmoy: string;
13
- export declare const vanarTestnet: string;
14
- export type ZKLINK = "ZKLINK-NOVA";
15
- export type ZKLINK_TESTNET = "ZKLINK-NOVA-TESTNET";
16
- export type BITLAYER_TESTNET = "BITLAYER-TESTNET";
17
- export type NEOX_TESTNET = "NEOX-TESTNET";
18
- export type SEPOLIA = "SEPOLIA";
19
- export type AMOY = "AMOY";
20
- export type VANGUARD_VANAR_TESTNET = "VANGUARD-VANAR-TESTNET";
21
- export declare const TESTNET_CHAINS: string[];
22
- export declare const SUPPORTED_EVM_CHAINS: string[];
23
- export declare const AA_SUPPORTED_EVM_CHAINS: string[];
24
- export declare const ALLCHAINS: string[];
25
- export declare const networks: {
26
- chainName: string;
27
- logo: string;
28
- type: string;
29
- }[];
30
- export declare const chainNameToLogo: {
31
- [x: string]: string;
32
- ETH: string;
33
- FANTOM: string;
34
- POLYGON: string;
35
- AVALANCHE: string;
36
- OPTIMISM: string;
37
- ARBITRUM: string;
38
- LINEA: string;
39
- MUMBAI: string;
40
- FUSE: string;
41
- FUSESPARK: string;
42
- BINANCE: string;
43
- MANTA: string;
44
- "MANTA-TESTNET": string;
45
- METIS: string;
46
- "METIS-TESTNET": string;
47
- MANTLE: string;
48
- "MANTLE-TESTNET": string;
49
- SOLANA: string;
50
- };
51
- export declare const chainNameToLogoBlack: {
52
- [x: string]: string;
53
- ETH: string;
54
- BINANCE: string;
55
- FANTOM: string;
56
- POLYGON: string;
57
- AVALANCHE: string;
58
- OPTIMISM: string;
59
- ARBITRUM: string;
60
- LINEA: string;
61
- MUMBAI: string;
62
- FUSE: string;
63
- FUSESPARK: string;
64
- MANTA: string;
65
- "MANTA-TESTNET": string;
66
- METIS: string;
67
- "METIS-TESTNET": string;
68
- MANTLE: string;
69
- "MANTLE-TESTNET": string;
70
- SOLANA: string;
71
- };