@omnisat/lasereyes 0.0.28 → 0.0.30
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.ts +62 -7
- package/dist/index.js +1891 -350
- package/dist/index.mjs +1963 -305
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
2
4
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
6
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -14,6 +16,19 @@ var __spreadValues = (a, b) => {
|
|
|
14
16
|
}
|
|
15
17
|
return a;
|
|
16
18
|
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
+
var __objRest = (source, exclude) => {
|
|
21
|
+
var target = {};
|
|
22
|
+
for (var prop in source)
|
|
23
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
24
|
+
target[prop] = source[prop];
|
|
25
|
+
if (source != null && __getOwnPropSymbols)
|
|
26
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
27
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
28
|
+
target[prop] = source[prop];
|
|
29
|
+
}
|
|
30
|
+
return target;
|
|
31
|
+
};
|
|
17
32
|
var __async = (__this, __arguments, generator) => {
|
|
18
33
|
return new Promise((resolve, reject) => {
|
|
19
34
|
var fulfilled = (value) => {
|
|
@@ -186,14 +201,14 @@ var createConfig = (config) => {
|
|
|
186
201
|
|
|
187
202
|
// src/providers/LaserEyesProvider.tsx
|
|
188
203
|
import {
|
|
189
|
-
createContext as
|
|
190
|
-
useCallback as
|
|
191
|
-
useContext as
|
|
192
|
-
useEffect as
|
|
193
|
-
useRef as
|
|
194
|
-
useState as
|
|
204
|
+
createContext as createContext22,
|
|
205
|
+
useCallback as useCallback43,
|
|
206
|
+
useContext as useContext22,
|
|
207
|
+
useEffect as useEffect43,
|
|
208
|
+
useRef as useRef22,
|
|
209
|
+
useState as useState43
|
|
195
210
|
} from "react";
|
|
196
|
-
import * as
|
|
211
|
+
import * as bitcoin25 from "bitcoinjs-lib";
|
|
197
212
|
|
|
198
213
|
// src/consts/settings.ts
|
|
199
214
|
var LOCAL_STORAGE_DEFAULT_WALLET = "defaultWallet";
|
|
@@ -263,7 +278,7 @@ var initialWalletContext = {
|
|
|
263
278
|
};
|
|
264
279
|
|
|
265
280
|
// src/providers/LaserEyesProvider.tsx
|
|
266
|
-
import { useLocalStorage as
|
|
281
|
+
import { useLocalStorage as useLocalStorage22 } from "usehooks-ts";
|
|
267
282
|
|
|
268
283
|
// src/lib/helpers.ts
|
|
269
284
|
import * as bitcoin from "bitcoinjs-lib";
|
|
@@ -415,6 +430,215 @@ function delay(ms) {
|
|
|
415
430
|
}
|
|
416
431
|
|
|
417
432
|
// src/providers/LaserEyesProvider.tsx
|
|
433
|
+
import {
|
|
434
|
+
BitcoinNetworkType as BitcoinNetworkType22,
|
|
435
|
+
getAddress as getAddress22,
|
|
436
|
+
request as request22,
|
|
437
|
+
RpcErrorCode as RpcErrorCode22,
|
|
438
|
+
signMessage as signMessageSatsConnect22,
|
|
439
|
+
signTransaction as signTransaction22
|
|
440
|
+
} from "sats-connect";
|
|
441
|
+
import { fromOutputScript as fromOutputScript22 } from "bitcoinjs-lib/src/address";
|
|
442
|
+
import axios45 from "axios";
|
|
443
|
+
|
|
444
|
+
// dist/index.mjs
|
|
445
|
+
import {
|
|
446
|
+
createContext as createContext21,
|
|
447
|
+
useCallback as useCallback41,
|
|
448
|
+
useContext as useContext21,
|
|
449
|
+
useEffect as useEffect41,
|
|
450
|
+
useRef as useRef21,
|
|
451
|
+
useState as useState41
|
|
452
|
+
} from "react";
|
|
453
|
+
import * as bitcoin24 from "bitcoinjs-lib";
|
|
454
|
+
import { useLocalStorage as useLocalStorage21 } from "usehooks-ts";
|
|
455
|
+
import * as bitcoin2 from "bitcoinjs-lib";
|
|
456
|
+
import axios2 from "axios";
|
|
457
|
+
import * as ecc2 from "@bitcoinerlab/secp256k1";
|
|
458
|
+
import {
|
|
459
|
+
BitcoinNetworkType as BitcoinNetworkType21,
|
|
460
|
+
getAddress as getAddress21,
|
|
461
|
+
request as request21,
|
|
462
|
+
RpcErrorCode as RpcErrorCode21,
|
|
463
|
+
signMessage as signMessageSatsConnect21,
|
|
464
|
+
signTransaction as signTransaction21
|
|
465
|
+
} from "sats-connect";
|
|
466
|
+
import { fromOutputScript as fromOutputScript21 } from "bitcoinjs-lib/src/address";
|
|
467
|
+
import axios43 from "axios";
|
|
468
|
+
import {
|
|
469
|
+
createContext as createContext20,
|
|
470
|
+
useCallback as useCallback39,
|
|
471
|
+
useContext as useContext20,
|
|
472
|
+
useEffect as useEffect39,
|
|
473
|
+
useRef as useRef20,
|
|
474
|
+
useState as useState39
|
|
475
|
+
} from "react";
|
|
476
|
+
import * as bitcoin23 from "bitcoinjs-lib";
|
|
477
|
+
import { useLocalStorage as useLocalStorage20 } from "usehooks-ts";
|
|
478
|
+
import * as bitcoin22 from "bitcoinjs-lib";
|
|
479
|
+
import axios22 from "axios";
|
|
480
|
+
import * as ecc22 from "@bitcoinerlab/secp256k1";
|
|
481
|
+
import {
|
|
482
|
+
BitcoinNetworkType as BitcoinNetworkType20,
|
|
483
|
+
getAddress as getAddress20,
|
|
484
|
+
request as request20,
|
|
485
|
+
RpcErrorCode as RpcErrorCode20,
|
|
486
|
+
signMessage as signMessageSatsConnect20,
|
|
487
|
+
signTransaction as signTransaction20
|
|
488
|
+
} from "sats-connect";
|
|
489
|
+
import { fromOutputScript as fromOutputScript20 } from "bitcoinjs-lib/src/address";
|
|
490
|
+
import axios41 from "axios";
|
|
491
|
+
import {
|
|
492
|
+
createContext as createContext19,
|
|
493
|
+
useCallback as useCallback37,
|
|
494
|
+
useContext as useContext19,
|
|
495
|
+
useEffect as useEffect37,
|
|
496
|
+
useRef as useRef19,
|
|
497
|
+
useState as useState37
|
|
498
|
+
} from "react";
|
|
499
|
+
import * as bitcoin21 from "bitcoinjs-lib";
|
|
500
|
+
import { useLocalStorage as useLocalStorage19 } from "usehooks-ts";
|
|
501
|
+
import * as bitcoin222 from "bitcoinjs-lib";
|
|
502
|
+
import axios222 from "axios";
|
|
503
|
+
import * as ecc222 from "@bitcoinerlab/secp256k1";
|
|
504
|
+
import {
|
|
505
|
+
BitcoinNetworkType as BitcoinNetworkType19,
|
|
506
|
+
getAddress as getAddress19,
|
|
507
|
+
request as request19,
|
|
508
|
+
RpcErrorCode as RpcErrorCode19,
|
|
509
|
+
signMessage as signMessageSatsConnect19,
|
|
510
|
+
signTransaction as signTransaction19
|
|
511
|
+
} from "sats-connect";
|
|
512
|
+
import { fromOutputScript as fromOutputScript19 } from "bitcoinjs-lib/src/address";
|
|
513
|
+
import axios39 from "axios";
|
|
514
|
+
import {
|
|
515
|
+
createContext as createContext18,
|
|
516
|
+
useCallback as useCallback35,
|
|
517
|
+
useContext as useContext18,
|
|
518
|
+
useEffect as useEffect35,
|
|
519
|
+
useRef as useRef18,
|
|
520
|
+
useState as useState35
|
|
521
|
+
} from "react";
|
|
522
|
+
import * as bitcoin20 from "bitcoinjs-lib";
|
|
523
|
+
import { useLocalStorage as useLocalStorage18 } from "usehooks-ts";
|
|
524
|
+
import * as bitcoin2222 from "bitcoinjs-lib";
|
|
525
|
+
import axios2222 from "axios";
|
|
526
|
+
import * as ecc2222 from "@bitcoinerlab/secp256k1";
|
|
527
|
+
import {
|
|
528
|
+
BitcoinNetworkType as BitcoinNetworkType18,
|
|
529
|
+
getAddress as getAddress18,
|
|
530
|
+
request as request18,
|
|
531
|
+
RpcErrorCode as RpcErrorCode18,
|
|
532
|
+
signMessage as signMessageSatsConnect18,
|
|
533
|
+
signTransaction as signTransaction18
|
|
534
|
+
} from "sats-connect";
|
|
535
|
+
import { fromOutputScript as fromOutputScript18 } from "bitcoinjs-lib/src/address";
|
|
536
|
+
import axios37 from "axios";
|
|
537
|
+
import {
|
|
538
|
+
createContext as createContext17,
|
|
539
|
+
useCallback as useCallback33,
|
|
540
|
+
useContext as useContext17,
|
|
541
|
+
useEffect as useEffect33,
|
|
542
|
+
useRef as useRef17,
|
|
543
|
+
useState as useState33
|
|
544
|
+
} from "react";
|
|
545
|
+
import * as bitcoin19 from "bitcoinjs-lib";
|
|
546
|
+
import { useLocalStorage as useLocalStorage17 } from "usehooks-ts";
|
|
547
|
+
import * as bitcoin22222 from "bitcoinjs-lib";
|
|
548
|
+
import axios22222 from "axios";
|
|
549
|
+
import * as ecc22222 from "@bitcoinerlab/secp256k1";
|
|
550
|
+
import {
|
|
551
|
+
BitcoinNetworkType as BitcoinNetworkType17,
|
|
552
|
+
getAddress as getAddress17,
|
|
553
|
+
request as request17,
|
|
554
|
+
RpcErrorCode as RpcErrorCode17,
|
|
555
|
+
signMessage as signMessageSatsConnect17,
|
|
556
|
+
signTransaction as signTransaction17
|
|
557
|
+
} from "sats-connect";
|
|
558
|
+
import { fromOutputScript as fromOutputScript17 } from "bitcoinjs-lib/src/address";
|
|
559
|
+
import axios35 from "axios";
|
|
560
|
+
import {
|
|
561
|
+
createContext as createContext16,
|
|
562
|
+
useCallback as useCallback31,
|
|
563
|
+
useContext as useContext16,
|
|
564
|
+
useEffect as useEffect31,
|
|
565
|
+
useRef as useRef16,
|
|
566
|
+
useState as useState31
|
|
567
|
+
} from "react";
|
|
568
|
+
import * as bitcoin18 from "bitcoinjs-lib";
|
|
569
|
+
import { useLocalStorage as useLocalStorage16 } from "usehooks-ts";
|
|
570
|
+
import * as bitcoin222222 from "bitcoinjs-lib";
|
|
571
|
+
import axios222222 from "axios";
|
|
572
|
+
import * as ecc222222 from "@bitcoinerlab/secp256k1";
|
|
573
|
+
import {
|
|
574
|
+
BitcoinNetworkType as BitcoinNetworkType16,
|
|
575
|
+
getAddress as getAddress16,
|
|
576
|
+
request as request16,
|
|
577
|
+
RpcErrorCode as RpcErrorCode16,
|
|
578
|
+
signMessage as signMessageSatsConnect16,
|
|
579
|
+
signTransaction as signTransaction16
|
|
580
|
+
} from "sats-connect";
|
|
581
|
+
import { fromOutputScript as fromOutputScript16 } from "bitcoinjs-lib/src/address";
|
|
582
|
+
import axios33 from "axios";
|
|
583
|
+
import {
|
|
584
|
+
createContext as createContext15,
|
|
585
|
+
useCallback as useCallback29,
|
|
586
|
+
useContext as useContext15,
|
|
587
|
+
useEffect as useEffect29,
|
|
588
|
+
useRef as useRef15,
|
|
589
|
+
useState as useState29
|
|
590
|
+
} from "react";
|
|
591
|
+
import * as bitcoin17 from "bitcoinjs-lib";
|
|
592
|
+
import { useLocalStorage as useLocalStorage15 } from "usehooks-ts";
|
|
593
|
+
import * as bitcoin2222222 from "bitcoinjs-lib";
|
|
594
|
+
import axios2222222 from "axios";
|
|
595
|
+
import * as ecc2222222 from "@bitcoinerlab/secp256k1";
|
|
596
|
+
import {
|
|
597
|
+
BitcoinNetworkType as BitcoinNetworkType15,
|
|
598
|
+
getAddress as getAddress15,
|
|
599
|
+
request as request15,
|
|
600
|
+
RpcErrorCode as RpcErrorCode15,
|
|
601
|
+
signMessage as signMessageSatsConnect15,
|
|
602
|
+
signTransaction as signTransaction15
|
|
603
|
+
} from "sats-connect";
|
|
604
|
+
import { fromOutputScript as fromOutputScript15 } from "bitcoinjs-lib/src/address";
|
|
605
|
+
import axios31 from "axios";
|
|
606
|
+
import {
|
|
607
|
+
createContext as createContext14,
|
|
608
|
+
useCallback as useCallback27,
|
|
609
|
+
useContext as useContext14,
|
|
610
|
+
useEffect as useEffect27,
|
|
611
|
+
useRef as useRef14,
|
|
612
|
+
useState as useState27
|
|
613
|
+
} from "react";
|
|
614
|
+
import * as bitcoin16 from "bitcoinjs-lib";
|
|
615
|
+
import { useLocalStorage as useLocalStorage14 } from "usehooks-ts";
|
|
616
|
+
import * as bitcoin22222222 from "bitcoinjs-lib";
|
|
617
|
+
import axios22222222 from "axios";
|
|
618
|
+
import * as ecc22222222 from "@bitcoinerlab/secp256k1";
|
|
619
|
+
import {
|
|
620
|
+
BitcoinNetworkType as BitcoinNetworkType14,
|
|
621
|
+
getAddress as getAddress14,
|
|
622
|
+
request as request14,
|
|
623
|
+
RpcErrorCode as RpcErrorCode14,
|
|
624
|
+
signMessage as signMessageSatsConnect14,
|
|
625
|
+
signTransaction as signTransaction14
|
|
626
|
+
} from "sats-connect";
|
|
627
|
+
import { fromOutputScript as fromOutputScript14 } from "bitcoinjs-lib/src/address";
|
|
628
|
+
import axios29 from "axios";
|
|
629
|
+
import {
|
|
630
|
+
createContext as createContext13,
|
|
631
|
+
useCallback as useCallback25,
|
|
632
|
+
useContext as useContext13,
|
|
633
|
+
useEffect as useEffect25,
|
|
634
|
+
useRef as useRef13,
|
|
635
|
+
useState as useState25
|
|
636
|
+
} from "react";
|
|
637
|
+
import * as bitcoin15 from "bitcoinjs-lib";
|
|
638
|
+
import { useLocalStorage as useLocalStorage13 } from "usehooks-ts";
|
|
639
|
+
import * as bitcoin222222222 from "bitcoinjs-lib";
|
|
640
|
+
import axios222222222 from "axios";
|
|
641
|
+
import * as ecc222222222 from "@bitcoinerlab/secp256k1";
|
|
418
642
|
import {
|
|
419
643
|
BitcoinNetworkType as BitcoinNetworkType13,
|
|
420
644
|
getAddress as getAddress13,
|
|
@@ -425,8 +649,6 @@ import {
|
|
|
425
649
|
} from "sats-connect";
|
|
426
650
|
import { fromOutputScript as fromOutputScript13 } from "bitcoinjs-lib/src/address";
|
|
427
651
|
import axios27 from "axios";
|
|
428
|
-
|
|
429
|
-
// dist/index.mjs
|
|
430
652
|
import {
|
|
431
653
|
createContext as createContext12,
|
|
432
654
|
useCallback as useCallback23,
|
|
@@ -437,9 +659,9 @@ import {
|
|
|
437
659
|
} from "react";
|
|
438
660
|
import * as bitcoin14 from "bitcoinjs-lib";
|
|
439
661
|
import { useLocalStorage as useLocalStorage12 } from "usehooks-ts";
|
|
440
|
-
import * as
|
|
441
|
-
import
|
|
442
|
-
import * as
|
|
662
|
+
import * as bitcoin2222222222 from "bitcoinjs-lib";
|
|
663
|
+
import axios2222222222 from "axios";
|
|
664
|
+
import * as ecc2222222222 from "@bitcoinerlab/secp256k1";
|
|
443
665
|
import {
|
|
444
666
|
BitcoinNetworkType as BitcoinNetworkType12,
|
|
445
667
|
getAddress as getAddress12,
|
|
@@ -460,9 +682,9 @@ import {
|
|
|
460
682
|
} from "react";
|
|
461
683
|
import * as bitcoin13 from "bitcoinjs-lib";
|
|
462
684
|
import { useLocalStorage as useLocalStorage11 } from "usehooks-ts";
|
|
463
|
-
import * as
|
|
464
|
-
import
|
|
465
|
-
import * as
|
|
685
|
+
import * as bitcoin22222222222 from "bitcoinjs-lib";
|
|
686
|
+
import axios22222222222 from "axios";
|
|
687
|
+
import * as ecc22222222222 from "@bitcoinerlab/secp256k1";
|
|
466
688
|
import {
|
|
467
689
|
BitcoinNetworkType as BitcoinNetworkType11,
|
|
468
690
|
getAddress as getAddress11,
|
|
@@ -483,9 +705,9 @@ import {
|
|
|
483
705
|
} from "react";
|
|
484
706
|
import * as bitcoin12 from "bitcoinjs-lib";
|
|
485
707
|
import { useLocalStorage as useLocalStorage10 } from "usehooks-ts";
|
|
486
|
-
import * as
|
|
487
|
-
import
|
|
488
|
-
import * as
|
|
708
|
+
import * as bitcoin222222222222 from "bitcoinjs-lib";
|
|
709
|
+
import axios222222222222 from "axios";
|
|
710
|
+
import * as ecc222222222222 from "@bitcoinerlab/secp256k1";
|
|
489
711
|
import {
|
|
490
712
|
BitcoinNetworkType as BitcoinNetworkType10,
|
|
491
713
|
getAddress as getAddress10,
|
|
@@ -506,9 +728,9 @@ import {
|
|
|
506
728
|
} from "react";
|
|
507
729
|
import * as bitcoin11 from "bitcoinjs-lib";
|
|
508
730
|
import { useLocalStorage as useLocalStorage9 } from "usehooks-ts";
|
|
509
|
-
import * as
|
|
510
|
-
import
|
|
511
|
-
import * as
|
|
731
|
+
import * as bitcoin2222222222222 from "bitcoinjs-lib";
|
|
732
|
+
import axios2222222222222 from "axios";
|
|
733
|
+
import * as ecc2222222222222 from "@bitcoinerlab/secp256k1";
|
|
512
734
|
import {
|
|
513
735
|
BitcoinNetworkType as BitcoinNetworkType9,
|
|
514
736
|
getAddress as getAddress9,
|
|
@@ -529,9 +751,9 @@ import {
|
|
|
529
751
|
} from "react";
|
|
530
752
|
import * as bitcoin10 from "bitcoinjs-lib";
|
|
531
753
|
import { useLocalStorage as useLocalStorage8 } from "usehooks-ts";
|
|
532
|
-
import * as
|
|
533
|
-
import
|
|
534
|
-
import * as
|
|
754
|
+
import * as bitcoin22222222222222 from "bitcoinjs-lib";
|
|
755
|
+
import axios22222222222222 from "axios";
|
|
756
|
+
import * as ecc22222222222222 from "@bitcoinerlab/secp256k1";
|
|
535
757
|
import {
|
|
536
758
|
BitcoinNetworkType as BitcoinNetworkType8,
|
|
537
759
|
getAddress as getAddress8,
|
|
@@ -552,9 +774,9 @@ import {
|
|
|
552
774
|
} from "react";
|
|
553
775
|
import * as bitcoin9 from "bitcoinjs-lib";
|
|
554
776
|
import { useLocalStorage as useLocalStorage7 } from "usehooks-ts";
|
|
555
|
-
import * as
|
|
556
|
-
import
|
|
557
|
-
import * as
|
|
777
|
+
import * as bitcoin222222222222222 from "bitcoinjs-lib";
|
|
778
|
+
import axios222222222222222 from "axios";
|
|
779
|
+
import * as ecc222222222222222 from "@bitcoinerlab/secp256k1";
|
|
558
780
|
import {
|
|
559
781
|
BitcoinNetworkType as BitcoinNetworkType7,
|
|
560
782
|
getAddress as getAddress7,
|
|
@@ -575,9 +797,9 @@ import {
|
|
|
575
797
|
} from "react";
|
|
576
798
|
import * as bitcoin8 from "bitcoinjs-lib";
|
|
577
799
|
import { useLocalStorage as useLocalStorage6 } from "usehooks-ts";
|
|
578
|
-
import * as
|
|
579
|
-
import
|
|
580
|
-
import * as
|
|
800
|
+
import * as bitcoin2222222222222222 from "bitcoinjs-lib";
|
|
801
|
+
import axios2222222222222222 from "axios";
|
|
802
|
+
import * as ecc2222222222222222 from "@bitcoinerlab/secp256k1";
|
|
581
803
|
import {
|
|
582
804
|
BitcoinNetworkType as BitcoinNetworkType6,
|
|
583
805
|
getAddress as getAddress6,
|
|
@@ -598,9 +820,9 @@ import {
|
|
|
598
820
|
} from "react";
|
|
599
821
|
import * as bitcoin7 from "bitcoinjs-lib";
|
|
600
822
|
import { useLocalStorage as useLocalStorage5 } from "usehooks-ts";
|
|
601
|
-
import * as
|
|
602
|
-
import
|
|
603
|
-
import * as
|
|
823
|
+
import * as bitcoin22222222222222222 from "bitcoinjs-lib";
|
|
824
|
+
import axios22222222222222222 from "axios";
|
|
825
|
+
import * as ecc22222222222222222 from "@bitcoinerlab/secp256k1";
|
|
604
826
|
import {
|
|
605
827
|
BitcoinNetworkType as BitcoinNetworkType5,
|
|
606
828
|
getAddress as getAddress5,
|
|
@@ -621,9 +843,9 @@ import {
|
|
|
621
843
|
} from "react";
|
|
622
844
|
import * as bitcoin6 from "bitcoinjs-lib";
|
|
623
845
|
import { useLocalStorage as useLocalStorage4 } from "usehooks-ts";
|
|
624
|
-
import * as
|
|
625
|
-
import
|
|
626
|
-
import * as
|
|
846
|
+
import * as bitcoin222222222222222222 from "bitcoinjs-lib";
|
|
847
|
+
import axios222222222222222222 from "axios";
|
|
848
|
+
import * as ecc222222222222222222 from "@bitcoinerlab/secp256k1";
|
|
627
849
|
import {
|
|
628
850
|
BitcoinNetworkType as BitcoinNetworkType4,
|
|
629
851
|
getAddress as getAddress4,
|
|
@@ -644,9 +866,9 @@ import {
|
|
|
644
866
|
} from "react";
|
|
645
867
|
import * as bitcoin5 from "bitcoinjs-lib";
|
|
646
868
|
import { useLocalStorage as useLocalStorage3 } from "usehooks-ts";
|
|
647
|
-
import * as
|
|
648
|
-
import
|
|
649
|
-
import * as
|
|
869
|
+
import * as bitcoin2222222222222222222 from "bitcoinjs-lib";
|
|
870
|
+
import axios2222222222222222222 from "axios";
|
|
871
|
+
import * as ecc2222222222222222222 from "@bitcoinerlab/secp256k1";
|
|
650
872
|
import {
|
|
651
873
|
BitcoinNetworkType as BitcoinNetworkType3,
|
|
652
874
|
getAddress as getAddress3,
|
|
@@ -667,9 +889,9 @@ import {
|
|
|
667
889
|
} from "react";
|
|
668
890
|
import * as bitcoin4 from "bitcoinjs-lib";
|
|
669
891
|
import { useLocalStorage as useLocalStorage2 } from "usehooks-ts";
|
|
670
|
-
import * as
|
|
671
|
-
import
|
|
672
|
-
import * as
|
|
892
|
+
import * as bitcoin22222222222222222222 from "bitcoinjs-lib";
|
|
893
|
+
import axios22222222222222222222 from "axios";
|
|
894
|
+
import * as ecc22222222222222222222 from "@bitcoinerlab/secp256k1";
|
|
673
895
|
import {
|
|
674
896
|
BitcoinNetworkType as BitcoinNetworkType2,
|
|
675
897
|
getAddress as getAddress2,
|
|
@@ -688,11 +910,11 @@ import {
|
|
|
688
910
|
useRef,
|
|
689
911
|
useState
|
|
690
912
|
} from "react";
|
|
691
|
-
import * as
|
|
913
|
+
import * as bitcoin222222222222222222222 from "bitcoinjs-lib";
|
|
692
914
|
import { useLocalStorage } from "usehooks-ts";
|
|
693
915
|
import * as bitcoin3 from "bitcoinjs-lib";
|
|
694
|
-
import
|
|
695
|
-
import * as
|
|
916
|
+
import axios222222222222222222222 from "axios";
|
|
917
|
+
import * as ecc222222222222222222222 from "@bitcoinerlab/secp256k1";
|
|
696
918
|
import {
|
|
697
919
|
BitcoinNetworkType,
|
|
698
920
|
getAddress,
|
|
@@ -702,7 +924,7 @@ import {
|
|
|
702
924
|
signTransaction
|
|
703
925
|
} from "sats-connect";
|
|
704
926
|
import { fromOutputScript } from "bitcoinjs-lib/src/address";
|
|
705
|
-
import
|
|
927
|
+
import axios2222222222222222222222 from "axios";
|
|
706
928
|
import { jsx } from "react/jsx-runtime";
|
|
707
929
|
import { useCallback as useCallback2, useEffect as useEffect2, useState as useState2 } from "react";
|
|
708
930
|
import axios3 from "axios";
|
|
@@ -739,6 +961,69 @@ import axios24 from "axios";
|
|
|
739
961
|
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
740
962
|
import { useCallback as useCallback24, useEffect as useEffect24, useState as useState24 } from "react";
|
|
741
963
|
import axios26 from "axios";
|
|
964
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
965
|
+
import { useCallback as useCallback26, useEffect as useEffect26, useState as useState26 } from "react";
|
|
966
|
+
import axios28 from "axios";
|
|
967
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
968
|
+
import { useCallback as useCallback28, useEffect as useEffect28, useState as useState28 } from "react";
|
|
969
|
+
import axios30 from "axios";
|
|
970
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
971
|
+
import { useCallback as useCallback30, useEffect as useEffect30, useState as useState30 } from "react";
|
|
972
|
+
import axios32 from "axios";
|
|
973
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
974
|
+
import { useCallback as useCallback32, useEffect as useEffect32, useState as useState32 } from "react";
|
|
975
|
+
import axios34 from "axios";
|
|
976
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
977
|
+
import { useCallback as useCallback34, useEffect as useEffect34, useState as useState34 } from "react";
|
|
978
|
+
import axios36 from "axios";
|
|
979
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
980
|
+
import { useCallback as useCallback36, useEffect as useEffect36, useState as useState36 } from "react";
|
|
981
|
+
import axios38 from "axios";
|
|
982
|
+
import { jsx as jsx19, jsxs } from "react/jsx-runtime";
|
|
983
|
+
import { jsx as jsx20, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
984
|
+
import { jsx as jsx21, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
985
|
+
import { jsx as jsx22, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
986
|
+
import { jsx as jsx23, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
987
|
+
import { jsx as jsx24, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
988
|
+
import { jsx as jsx25, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
989
|
+
import { jsx as jsx26, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
990
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
991
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
992
|
+
import { useCallback as useCallback38, useEffect as useEffect38, useState as useState38 } from "react";
|
|
993
|
+
import axios40 from "axios";
|
|
994
|
+
import { jsx as jsx29, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
995
|
+
import { jsx as jsx30, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
996
|
+
import { jsx as jsx31, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
997
|
+
import { jsx as jsx32, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
998
|
+
import { jsx as jsx33, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
999
|
+
import { jsx as jsx34, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1000
|
+
import { jsx as jsx35, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1001
|
+
import { jsx as jsx36, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1002
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
1003
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
1004
|
+
import { useCallback as useCallback40, useEffect as useEffect40, useState as useState40 } from "react";
|
|
1005
|
+
import axios42 from "axios";
|
|
1006
|
+
import { jsx as jsx39, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1007
|
+
import { jsx as jsx40, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1008
|
+
import { jsx as jsx41, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1009
|
+
import { jsx as jsx42, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1010
|
+
import { jsx as jsx43, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1011
|
+
import { jsx as jsx44, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1012
|
+
import { jsx as jsx45, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
1013
|
+
import { jsx as jsx46, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1014
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
1015
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
1016
|
+
import { useCallback as useCallback42, useEffect as useEffect42, useState as useState42 } from "react";
|
|
1017
|
+
import axios44 from "axios";
|
|
1018
|
+
import { jsx as jsx49, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1019
|
+
import { jsx as jsx50, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1020
|
+
import { jsx as jsx51, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
1021
|
+
import { jsx as jsx52, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
1022
|
+
import { jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
1023
|
+
import { jsx as jsx54, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
1024
|
+
import { jsx as jsx55, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
1025
|
+
import { jsx as jsx56, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
1026
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
742
1027
|
var __async2 = (__this, __arguments, generator) => {
|
|
743
1028
|
return new Promise((resolve, reject) => {
|
|
744
1029
|
var fulfilled = (value) => {
|
|
@@ -1045,47 +1330,801 @@ var initialWalletContext2222 = {
|
|
|
1045
1330
|
}),
|
|
1046
1331
|
disconnect: () => {
|
|
1047
1332
|
},
|
|
1048
|
-
requestAccounts: () => __async2222(void 0, null, function* () {
|
|
1333
|
+
requestAccounts: () => __async2222(void 0, null, function* () {
|
|
1334
|
+
return [];
|
|
1335
|
+
}),
|
|
1336
|
+
getNetwork: () => __async2222(void 0, null, function* () {
|
|
1337
|
+
return MAINNET4222;
|
|
1338
|
+
}),
|
|
1339
|
+
switchNetwork: (network) => __async2222(void 0, null, function* () {
|
|
1340
|
+
}),
|
|
1341
|
+
getPublicKey: () => __async2222(void 0, null, function* () {
|
|
1342
|
+
return "";
|
|
1343
|
+
}),
|
|
1344
|
+
getBalance: () => __async2222(void 0, null, function* () {
|
|
1345
|
+
return "";
|
|
1346
|
+
}),
|
|
1347
|
+
getInscriptions: () => __async2222(void 0, null, function* () {
|
|
1348
|
+
return [];
|
|
1349
|
+
}),
|
|
1350
|
+
sendBTC: (to, amount) => __async2222(void 0, null, function* () {
|
|
1351
|
+
return "";
|
|
1352
|
+
}),
|
|
1353
|
+
signMessage: (message) => __async2222(void 0, null, function* () {
|
|
1354
|
+
return "";
|
|
1355
|
+
}),
|
|
1356
|
+
signPsbt: (tx) => __async2222(void 0, null, function* () {
|
|
1357
|
+
return {
|
|
1358
|
+
signedPsbtHex: "",
|
|
1359
|
+
signedPsbtBase64: "",
|
|
1360
|
+
txId: ""
|
|
1361
|
+
};
|
|
1362
|
+
}),
|
|
1363
|
+
pushPsbt: (tx) => __async2222(void 0, null, function* () {
|
|
1364
|
+
return "";
|
|
1365
|
+
}),
|
|
1366
|
+
inscribe: (content) => __async2222(void 0, null, function* () {
|
|
1367
|
+
return "";
|
|
1368
|
+
}),
|
|
1369
|
+
isCreatingCommit: false,
|
|
1370
|
+
isInscribing: false
|
|
1371
|
+
};
|
|
1372
|
+
bitcoin2222.initEccLib(ecc2222);
|
|
1373
|
+
var __async22222 = (__this, __arguments, generator) => {
|
|
1374
|
+
return new Promise((resolve, reject) => {
|
|
1375
|
+
var fulfilled = (value) => {
|
|
1376
|
+
try {
|
|
1377
|
+
step(generator.next(value));
|
|
1378
|
+
} catch (e) {
|
|
1379
|
+
reject(e);
|
|
1380
|
+
}
|
|
1381
|
+
};
|
|
1382
|
+
var rejected = (value) => {
|
|
1383
|
+
try {
|
|
1384
|
+
step(generator.throw(value));
|
|
1385
|
+
} catch (e) {
|
|
1386
|
+
reject(e);
|
|
1387
|
+
}
|
|
1388
|
+
};
|
|
1389
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1390
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
1391
|
+
});
|
|
1392
|
+
};
|
|
1393
|
+
var MAINNET42222 = "mainnet";
|
|
1394
|
+
var initialWalletContext22222 = {
|
|
1395
|
+
hasUnisat: false,
|
|
1396
|
+
hasXverse: false,
|
|
1397
|
+
hasOyl: false,
|
|
1398
|
+
hasMagicEden: false,
|
|
1399
|
+
hasOkx: false,
|
|
1400
|
+
hasLeather: false,
|
|
1401
|
+
hasPhantom: false,
|
|
1402
|
+
hasWizz: false,
|
|
1403
|
+
isInitializing: true,
|
|
1404
|
+
connected: false,
|
|
1405
|
+
isConnecting: false,
|
|
1406
|
+
publicKey: "",
|
|
1407
|
+
address: "",
|
|
1408
|
+
paymentAddress: "",
|
|
1409
|
+
paymentPublicKey: "",
|
|
1410
|
+
balance: void 0,
|
|
1411
|
+
network: MAINNET42222,
|
|
1412
|
+
library: null,
|
|
1413
|
+
provider: null,
|
|
1414
|
+
accounts: [],
|
|
1415
|
+
connect: (walletName) => __async22222(void 0, null, function* () {
|
|
1416
|
+
}),
|
|
1417
|
+
disconnect: () => {
|
|
1418
|
+
},
|
|
1419
|
+
requestAccounts: () => __async22222(void 0, null, function* () {
|
|
1420
|
+
return [];
|
|
1421
|
+
}),
|
|
1422
|
+
getNetwork: () => __async22222(void 0, null, function* () {
|
|
1423
|
+
return MAINNET42222;
|
|
1424
|
+
}),
|
|
1425
|
+
switchNetwork: (network) => __async22222(void 0, null, function* () {
|
|
1426
|
+
}),
|
|
1427
|
+
getPublicKey: () => __async22222(void 0, null, function* () {
|
|
1428
|
+
return "";
|
|
1429
|
+
}),
|
|
1430
|
+
getBalance: () => __async22222(void 0, null, function* () {
|
|
1431
|
+
return "";
|
|
1432
|
+
}),
|
|
1433
|
+
getInscriptions: () => __async22222(void 0, null, function* () {
|
|
1434
|
+
return [];
|
|
1435
|
+
}),
|
|
1436
|
+
sendBTC: (to, amount) => __async22222(void 0, null, function* () {
|
|
1437
|
+
return "";
|
|
1438
|
+
}),
|
|
1439
|
+
signMessage: (message) => __async22222(void 0, null, function* () {
|
|
1440
|
+
return "";
|
|
1441
|
+
}),
|
|
1442
|
+
signPsbt: (tx) => __async22222(void 0, null, function* () {
|
|
1443
|
+
return {
|
|
1444
|
+
signedPsbtHex: "",
|
|
1445
|
+
signedPsbtBase64: "",
|
|
1446
|
+
txId: ""
|
|
1447
|
+
};
|
|
1448
|
+
}),
|
|
1449
|
+
pushPsbt: (tx) => __async22222(void 0, null, function* () {
|
|
1450
|
+
return "";
|
|
1451
|
+
}),
|
|
1452
|
+
inscribe: (content) => __async22222(void 0, null, function* () {
|
|
1453
|
+
return "";
|
|
1454
|
+
}),
|
|
1455
|
+
isCreatingCommit: false,
|
|
1456
|
+
isInscribing: false
|
|
1457
|
+
};
|
|
1458
|
+
bitcoin22222.initEccLib(ecc22222);
|
|
1459
|
+
var __async222222 = (__this, __arguments, generator) => {
|
|
1460
|
+
return new Promise((resolve, reject) => {
|
|
1461
|
+
var fulfilled = (value) => {
|
|
1462
|
+
try {
|
|
1463
|
+
step(generator.next(value));
|
|
1464
|
+
} catch (e) {
|
|
1465
|
+
reject(e);
|
|
1466
|
+
}
|
|
1467
|
+
};
|
|
1468
|
+
var rejected = (value) => {
|
|
1469
|
+
try {
|
|
1470
|
+
step(generator.throw(value));
|
|
1471
|
+
} catch (e) {
|
|
1472
|
+
reject(e);
|
|
1473
|
+
}
|
|
1474
|
+
};
|
|
1475
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1476
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
1477
|
+
});
|
|
1478
|
+
};
|
|
1479
|
+
var MAINNET422222 = "mainnet";
|
|
1480
|
+
var initialWalletContext222222 = {
|
|
1481
|
+
hasUnisat: false,
|
|
1482
|
+
hasXverse: false,
|
|
1483
|
+
hasOyl: false,
|
|
1484
|
+
hasMagicEden: false,
|
|
1485
|
+
hasOkx: false,
|
|
1486
|
+
hasLeather: false,
|
|
1487
|
+
hasPhantom: false,
|
|
1488
|
+
hasWizz: false,
|
|
1489
|
+
isInitializing: true,
|
|
1490
|
+
connected: false,
|
|
1491
|
+
isConnecting: false,
|
|
1492
|
+
publicKey: "",
|
|
1493
|
+
address: "",
|
|
1494
|
+
paymentAddress: "",
|
|
1495
|
+
paymentPublicKey: "",
|
|
1496
|
+
balance: void 0,
|
|
1497
|
+
network: MAINNET422222,
|
|
1498
|
+
library: null,
|
|
1499
|
+
provider: null,
|
|
1500
|
+
accounts: [],
|
|
1501
|
+
connect: (walletName) => __async222222(void 0, null, function* () {
|
|
1502
|
+
}),
|
|
1503
|
+
disconnect: () => {
|
|
1504
|
+
},
|
|
1505
|
+
requestAccounts: () => __async222222(void 0, null, function* () {
|
|
1506
|
+
return [];
|
|
1507
|
+
}),
|
|
1508
|
+
getNetwork: () => __async222222(void 0, null, function* () {
|
|
1509
|
+
return MAINNET422222;
|
|
1510
|
+
}),
|
|
1511
|
+
switchNetwork: (network) => __async222222(void 0, null, function* () {
|
|
1512
|
+
}),
|
|
1513
|
+
getPublicKey: () => __async222222(void 0, null, function* () {
|
|
1514
|
+
return "";
|
|
1515
|
+
}),
|
|
1516
|
+
getBalance: () => __async222222(void 0, null, function* () {
|
|
1517
|
+
return "";
|
|
1518
|
+
}),
|
|
1519
|
+
getInscriptions: () => __async222222(void 0, null, function* () {
|
|
1520
|
+
return [];
|
|
1521
|
+
}),
|
|
1522
|
+
sendBTC: (to, amount) => __async222222(void 0, null, function* () {
|
|
1523
|
+
return "";
|
|
1524
|
+
}),
|
|
1525
|
+
signMessage: (message) => __async222222(void 0, null, function* () {
|
|
1526
|
+
return "";
|
|
1527
|
+
}),
|
|
1528
|
+
signPsbt: (tx) => __async222222(void 0, null, function* () {
|
|
1529
|
+
return {
|
|
1530
|
+
signedPsbtHex: "",
|
|
1531
|
+
signedPsbtBase64: "",
|
|
1532
|
+
txId: ""
|
|
1533
|
+
};
|
|
1534
|
+
}),
|
|
1535
|
+
pushPsbt: (tx) => __async222222(void 0, null, function* () {
|
|
1536
|
+
return "";
|
|
1537
|
+
}),
|
|
1538
|
+
inscribe: (content) => __async222222(void 0, null, function* () {
|
|
1539
|
+
return "";
|
|
1540
|
+
}),
|
|
1541
|
+
isCreatingCommit: false,
|
|
1542
|
+
isInscribing: false
|
|
1543
|
+
};
|
|
1544
|
+
bitcoin222222.initEccLib(ecc222222);
|
|
1545
|
+
var __async2222222 = (__this, __arguments, generator) => {
|
|
1546
|
+
return new Promise((resolve, reject) => {
|
|
1547
|
+
var fulfilled = (value) => {
|
|
1548
|
+
try {
|
|
1549
|
+
step(generator.next(value));
|
|
1550
|
+
} catch (e) {
|
|
1551
|
+
reject(e);
|
|
1552
|
+
}
|
|
1553
|
+
};
|
|
1554
|
+
var rejected = (value) => {
|
|
1555
|
+
try {
|
|
1556
|
+
step(generator.throw(value));
|
|
1557
|
+
} catch (e) {
|
|
1558
|
+
reject(e);
|
|
1559
|
+
}
|
|
1560
|
+
};
|
|
1561
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1562
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
1563
|
+
});
|
|
1564
|
+
};
|
|
1565
|
+
var MAINNET4222222 = "mainnet";
|
|
1566
|
+
var initialWalletContext2222222 = {
|
|
1567
|
+
hasUnisat: false,
|
|
1568
|
+
hasXverse: false,
|
|
1569
|
+
hasOyl: false,
|
|
1570
|
+
hasMagicEden: false,
|
|
1571
|
+
hasOkx: false,
|
|
1572
|
+
hasLeather: false,
|
|
1573
|
+
hasPhantom: false,
|
|
1574
|
+
hasWizz: false,
|
|
1575
|
+
isInitializing: true,
|
|
1576
|
+
connected: false,
|
|
1577
|
+
isConnecting: false,
|
|
1578
|
+
publicKey: "",
|
|
1579
|
+
address: "",
|
|
1580
|
+
paymentAddress: "",
|
|
1581
|
+
paymentPublicKey: "",
|
|
1582
|
+
balance: void 0,
|
|
1583
|
+
network: MAINNET4222222,
|
|
1584
|
+
library: null,
|
|
1585
|
+
provider: null,
|
|
1586
|
+
accounts: [],
|
|
1587
|
+
connect: (walletName) => __async2222222(void 0, null, function* () {
|
|
1588
|
+
}),
|
|
1589
|
+
disconnect: () => {
|
|
1590
|
+
},
|
|
1591
|
+
requestAccounts: () => __async2222222(void 0, null, function* () {
|
|
1592
|
+
return [];
|
|
1593
|
+
}),
|
|
1594
|
+
getNetwork: () => __async2222222(void 0, null, function* () {
|
|
1595
|
+
return MAINNET4222222;
|
|
1596
|
+
}),
|
|
1597
|
+
switchNetwork: (network) => __async2222222(void 0, null, function* () {
|
|
1598
|
+
}),
|
|
1599
|
+
getPublicKey: () => __async2222222(void 0, null, function* () {
|
|
1600
|
+
return "";
|
|
1601
|
+
}),
|
|
1602
|
+
getBalance: () => __async2222222(void 0, null, function* () {
|
|
1603
|
+
return "";
|
|
1604
|
+
}),
|
|
1605
|
+
getInscriptions: () => __async2222222(void 0, null, function* () {
|
|
1606
|
+
return [];
|
|
1607
|
+
}),
|
|
1608
|
+
sendBTC: (to, amount) => __async2222222(void 0, null, function* () {
|
|
1609
|
+
return "";
|
|
1610
|
+
}),
|
|
1611
|
+
signMessage: (message) => __async2222222(void 0, null, function* () {
|
|
1612
|
+
return "";
|
|
1613
|
+
}),
|
|
1614
|
+
signPsbt: (tx) => __async2222222(void 0, null, function* () {
|
|
1615
|
+
return {
|
|
1616
|
+
signedPsbtHex: "",
|
|
1617
|
+
signedPsbtBase64: "",
|
|
1618
|
+
txId: ""
|
|
1619
|
+
};
|
|
1620
|
+
}),
|
|
1621
|
+
pushPsbt: (tx) => __async2222222(void 0, null, function* () {
|
|
1622
|
+
return "";
|
|
1623
|
+
}),
|
|
1624
|
+
inscribe: (content) => __async2222222(void 0, null, function* () {
|
|
1625
|
+
return "";
|
|
1626
|
+
}),
|
|
1627
|
+
isCreatingCommit: false,
|
|
1628
|
+
isInscribing: false
|
|
1629
|
+
};
|
|
1630
|
+
bitcoin2222222.initEccLib(ecc2222222);
|
|
1631
|
+
var MAINNET42222222 = "mainnet";
|
|
1632
|
+
var initialWalletContext22222222 = {
|
|
1633
|
+
hasUnisat: false,
|
|
1634
|
+
hasXverse: false,
|
|
1635
|
+
hasOyl: false,
|
|
1636
|
+
hasMagicEden: false,
|
|
1637
|
+
hasOkx: false,
|
|
1638
|
+
hasLeather: false,
|
|
1639
|
+
hasPhantom: false,
|
|
1640
|
+
hasWizz: false,
|
|
1641
|
+
isInitializing: true,
|
|
1642
|
+
connected: false,
|
|
1643
|
+
isConnecting: false,
|
|
1644
|
+
publicKey: "",
|
|
1645
|
+
address: "",
|
|
1646
|
+
paymentAddress: "",
|
|
1647
|
+
paymentPublicKey: "",
|
|
1648
|
+
balance: void 0,
|
|
1649
|
+
network: MAINNET42222222,
|
|
1650
|
+
library: null,
|
|
1651
|
+
provider: null,
|
|
1652
|
+
accounts: [],
|
|
1653
|
+
connect: (walletName) => __async2222222(void 0, null, function* () {
|
|
1654
|
+
}),
|
|
1655
|
+
disconnect: () => {
|
|
1656
|
+
},
|
|
1657
|
+
requestAccounts: () => __async2222222(void 0, null, function* () {
|
|
1658
|
+
return [];
|
|
1659
|
+
}),
|
|
1660
|
+
getNetwork: () => __async2222222(void 0, null, function* () {
|
|
1661
|
+
return MAINNET42222222;
|
|
1662
|
+
}),
|
|
1663
|
+
switchNetwork: (network) => __async2222222(void 0, null, function* () {
|
|
1664
|
+
}),
|
|
1665
|
+
getPublicKey: () => __async2222222(void 0, null, function* () {
|
|
1666
|
+
return "";
|
|
1667
|
+
}),
|
|
1668
|
+
getBalance: () => __async2222222(void 0, null, function* () {
|
|
1669
|
+
return "";
|
|
1670
|
+
}),
|
|
1671
|
+
getInscriptions: () => __async2222222(void 0, null, function* () {
|
|
1672
|
+
return [];
|
|
1673
|
+
}),
|
|
1674
|
+
sendBTC: (to, amount) => __async2222222(void 0, null, function* () {
|
|
1675
|
+
return "";
|
|
1676
|
+
}),
|
|
1677
|
+
signMessage: (message) => __async2222222(void 0, null, function* () {
|
|
1678
|
+
return "";
|
|
1679
|
+
}),
|
|
1680
|
+
signPsbt: (tx) => __async2222222(void 0, null, function* () {
|
|
1681
|
+
return {
|
|
1682
|
+
signedPsbtHex: "",
|
|
1683
|
+
signedPsbtBase64: "",
|
|
1684
|
+
txId: ""
|
|
1685
|
+
};
|
|
1686
|
+
}),
|
|
1687
|
+
pushPsbt: (tx) => __async2222222(void 0, null, function* () {
|
|
1688
|
+
return "";
|
|
1689
|
+
}),
|
|
1690
|
+
inscribe: (content) => __async2222222(void 0, null, function* () {
|
|
1691
|
+
return "";
|
|
1692
|
+
}),
|
|
1693
|
+
isCreatingCommit: false,
|
|
1694
|
+
isInscribing: false
|
|
1695
|
+
};
|
|
1696
|
+
bitcoin22222222.initEccLib(ecc22222222);
|
|
1697
|
+
var __async22222222 = (__this, __arguments, generator) => {
|
|
1698
|
+
return new Promise((resolve, reject) => {
|
|
1699
|
+
var fulfilled = (value) => {
|
|
1700
|
+
try {
|
|
1701
|
+
step(generator.next(value));
|
|
1702
|
+
} catch (e) {
|
|
1703
|
+
reject(e);
|
|
1704
|
+
}
|
|
1705
|
+
};
|
|
1706
|
+
var rejected = (value) => {
|
|
1707
|
+
try {
|
|
1708
|
+
step(generator.throw(value));
|
|
1709
|
+
} catch (e) {
|
|
1710
|
+
reject(e);
|
|
1711
|
+
}
|
|
1712
|
+
};
|
|
1713
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1714
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
1715
|
+
});
|
|
1716
|
+
};
|
|
1717
|
+
var MAINNET422222222 = "mainnet";
|
|
1718
|
+
var initialWalletContext222222222 = {
|
|
1719
|
+
hasUnisat: false,
|
|
1720
|
+
hasXverse: false,
|
|
1721
|
+
hasOyl: false,
|
|
1722
|
+
hasMagicEden: false,
|
|
1723
|
+
hasOkx: false,
|
|
1724
|
+
hasLeather: false,
|
|
1725
|
+
hasPhantom: false,
|
|
1726
|
+
hasWizz: false,
|
|
1727
|
+
isInitializing: true,
|
|
1728
|
+
connected: false,
|
|
1729
|
+
isConnecting: false,
|
|
1730
|
+
publicKey: "",
|
|
1731
|
+
address: "",
|
|
1732
|
+
paymentAddress: "",
|
|
1733
|
+
paymentPublicKey: "",
|
|
1734
|
+
balance: void 0,
|
|
1735
|
+
network: MAINNET422222222,
|
|
1736
|
+
library: null,
|
|
1737
|
+
provider: null,
|
|
1738
|
+
accounts: [],
|
|
1739
|
+
connect: (walletName) => __async22222222(void 0, null, function* () {
|
|
1740
|
+
}),
|
|
1741
|
+
disconnect: () => {
|
|
1742
|
+
},
|
|
1743
|
+
requestAccounts: () => __async22222222(void 0, null, function* () {
|
|
1744
|
+
return [];
|
|
1745
|
+
}),
|
|
1746
|
+
getNetwork: () => __async22222222(void 0, null, function* () {
|
|
1747
|
+
return MAINNET422222222;
|
|
1748
|
+
}),
|
|
1749
|
+
switchNetwork: (network) => __async22222222(void 0, null, function* () {
|
|
1750
|
+
}),
|
|
1751
|
+
getPublicKey: () => __async22222222(void 0, null, function* () {
|
|
1752
|
+
return "";
|
|
1753
|
+
}),
|
|
1754
|
+
getBalance: () => __async22222222(void 0, null, function* () {
|
|
1755
|
+
return "";
|
|
1756
|
+
}),
|
|
1757
|
+
getInscriptions: () => __async22222222(void 0, null, function* () {
|
|
1758
|
+
return [];
|
|
1759
|
+
}),
|
|
1760
|
+
sendBTC: (to, amount) => __async22222222(void 0, null, function* () {
|
|
1761
|
+
return "";
|
|
1762
|
+
}),
|
|
1763
|
+
signMessage: (message) => __async22222222(void 0, null, function* () {
|
|
1764
|
+
return "";
|
|
1765
|
+
}),
|
|
1766
|
+
signPsbt: (tx) => __async22222222(void 0, null, function* () {
|
|
1767
|
+
return {
|
|
1768
|
+
signedPsbtHex: "",
|
|
1769
|
+
signedPsbtBase64: "",
|
|
1770
|
+
txId: ""
|
|
1771
|
+
};
|
|
1772
|
+
}),
|
|
1773
|
+
pushPsbt: (tx) => __async22222222(void 0, null, function* () {
|
|
1774
|
+
return "";
|
|
1775
|
+
}),
|
|
1776
|
+
inscribe: (content) => __async22222222(void 0, null, function* () {
|
|
1777
|
+
return "";
|
|
1778
|
+
}),
|
|
1779
|
+
isCreatingCommit: false,
|
|
1780
|
+
isInscribing: false
|
|
1781
|
+
};
|
|
1782
|
+
bitcoin222222222.initEccLib(ecc222222222);
|
|
1783
|
+
var __async222222222 = (__this, __arguments, generator) => {
|
|
1784
|
+
return new Promise((resolve, reject) => {
|
|
1785
|
+
var fulfilled = (value) => {
|
|
1786
|
+
try {
|
|
1787
|
+
step(generator.next(value));
|
|
1788
|
+
} catch (e) {
|
|
1789
|
+
reject(e);
|
|
1790
|
+
}
|
|
1791
|
+
};
|
|
1792
|
+
var rejected = (value) => {
|
|
1793
|
+
try {
|
|
1794
|
+
step(generator.throw(value));
|
|
1795
|
+
} catch (e) {
|
|
1796
|
+
reject(e);
|
|
1797
|
+
}
|
|
1798
|
+
};
|
|
1799
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1800
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
1801
|
+
});
|
|
1802
|
+
};
|
|
1803
|
+
var MAINNET4222222222 = "mainnet";
|
|
1804
|
+
var initialWalletContext2222222222 = {
|
|
1805
|
+
hasUnisat: false,
|
|
1806
|
+
hasXverse: false,
|
|
1807
|
+
hasOyl: false,
|
|
1808
|
+
hasMagicEden: false,
|
|
1809
|
+
hasOkx: false,
|
|
1810
|
+
hasLeather: false,
|
|
1811
|
+
hasPhantom: false,
|
|
1812
|
+
hasWizz: false,
|
|
1813
|
+
isInitializing: true,
|
|
1814
|
+
connected: false,
|
|
1815
|
+
isConnecting: false,
|
|
1816
|
+
publicKey: "",
|
|
1817
|
+
address: "",
|
|
1818
|
+
paymentAddress: "",
|
|
1819
|
+
paymentPublicKey: "",
|
|
1820
|
+
balance: void 0,
|
|
1821
|
+
network: MAINNET4222222222,
|
|
1822
|
+
library: null,
|
|
1823
|
+
provider: null,
|
|
1824
|
+
accounts: [],
|
|
1825
|
+
connect: (walletName) => __async222222222(void 0, null, function* () {
|
|
1826
|
+
}),
|
|
1827
|
+
disconnect: () => {
|
|
1828
|
+
},
|
|
1829
|
+
requestAccounts: () => __async222222222(void 0, null, function* () {
|
|
1830
|
+
return [];
|
|
1831
|
+
}),
|
|
1832
|
+
getNetwork: () => __async222222222(void 0, null, function* () {
|
|
1833
|
+
return MAINNET4222222222;
|
|
1834
|
+
}),
|
|
1835
|
+
switchNetwork: (network) => __async222222222(void 0, null, function* () {
|
|
1836
|
+
}),
|
|
1837
|
+
getPublicKey: () => __async222222222(void 0, null, function* () {
|
|
1838
|
+
return "";
|
|
1839
|
+
}),
|
|
1840
|
+
getBalance: () => __async222222222(void 0, null, function* () {
|
|
1841
|
+
return "";
|
|
1842
|
+
}),
|
|
1843
|
+
getInscriptions: () => __async222222222(void 0, null, function* () {
|
|
1844
|
+
return [];
|
|
1845
|
+
}),
|
|
1846
|
+
sendBTC: (to, amount) => __async222222222(void 0, null, function* () {
|
|
1847
|
+
return "";
|
|
1848
|
+
}),
|
|
1849
|
+
signMessage: (message) => __async222222222(void 0, null, function* () {
|
|
1850
|
+
return "";
|
|
1851
|
+
}),
|
|
1852
|
+
signPsbt: (tx) => __async222222222(void 0, null, function* () {
|
|
1853
|
+
return {
|
|
1854
|
+
signedPsbtHex: "",
|
|
1855
|
+
signedPsbtBase64: "",
|
|
1856
|
+
txId: ""
|
|
1857
|
+
};
|
|
1858
|
+
}),
|
|
1859
|
+
pushPsbt: (tx) => __async222222222(void 0, null, function* () {
|
|
1860
|
+
return "";
|
|
1861
|
+
}),
|
|
1862
|
+
inscribe: (content) => __async222222222(void 0, null, function* () {
|
|
1863
|
+
return "";
|
|
1864
|
+
}),
|
|
1865
|
+
isCreatingCommit: false,
|
|
1866
|
+
isInscribing: false
|
|
1867
|
+
};
|
|
1868
|
+
bitcoin2222222222.initEccLib(ecc2222222222);
|
|
1869
|
+
var __async2222222222 = (__this, __arguments, generator) => {
|
|
1870
|
+
return new Promise((resolve, reject) => {
|
|
1871
|
+
var fulfilled = (value) => {
|
|
1872
|
+
try {
|
|
1873
|
+
step(generator.next(value));
|
|
1874
|
+
} catch (e) {
|
|
1875
|
+
reject(e);
|
|
1876
|
+
}
|
|
1877
|
+
};
|
|
1878
|
+
var rejected = (value) => {
|
|
1879
|
+
try {
|
|
1880
|
+
step(generator.throw(value));
|
|
1881
|
+
} catch (e) {
|
|
1882
|
+
reject(e);
|
|
1883
|
+
}
|
|
1884
|
+
};
|
|
1885
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1886
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
1887
|
+
});
|
|
1888
|
+
};
|
|
1889
|
+
var MAINNET42222222222 = "mainnet";
|
|
1890
|
+
var initialWalletContext22222222222 = {
|
|
1891
|
+
hasUnisat: false,
|
|
1892
|
+
hasXverse: false,
|
|
1893
|
+
hasOyl: false,
|
|
1894
|
+
hasMagicEden: false,
|
|
1895
|
+
hasOkx: false,
|
|
1896
|
+
hasLeather: false,
|
|
1897
|
+
hasPhantom: false,
|
|
1898
|
+
hasWizz: false,
|
|
1899
|
+
isInitializing: true,
|
|
1900
|
+
connected: false,
|
|
1901
|
+
isConnecting: false,
|
|
1902
|
+
publicKey: "",
|
|
1903
|
+
address: "",
|
|
1904
|
+
paymentAddress: "",
|
|
1905
|
+
paymentPublicKey: "",
|
|
1906
|
+
balance: void 0,
|
|
1907
|
+
network: MAINNET42222222222,
|
|
1908
|
+
library: null,
|
|
1909
|
+
provider: null,
|
|
1910
|
+
accounts: [],
|
|
1911
|
+
connect: (walletName) => __async2222222222(void 0, null, function* () {
|
|
1912
|
+
}),
|
|
1913
|
+
disconnect: () => {
|
|
1914
|
+
},
|
|
1915
|
+
requestAccounts: () => __async2222222222(void 0, null, function* () {
|
|
1916
|
+
return [];
|
|
1917
|
+
}),
|
|
1918
|
+
getNetwork: () => __async2222222222(void 0, null, function* () {
|
|
1919
|
+
return MAINNET42222222222;
|
|
1920
|
+
}),
|
|
1921
|
+
switchNetwork: (network) => __async2222222222(void 0, null, function* () {
|
|
1922
|
+
}),
|
|
1923
|
+
getPublicKey: () => __async2222222222(void 0, null, function* () {
|
|
1924
|
+
return "";
|
|
1925
|
+
}),
|
|
1926
|
+
getBalance: () => __async2222222222(void 0, null, function* () {
|
|
1927
|
+
return "";
|
|
1928
|
+
}),
|
|
1929
|
+
getInscriptions: () => __async2222222222(void 0, null, function* () {
|
|
1930
|
+
return [];
|
|
1931
|
+
}),
|
|
1932
|
+
sendBTC: (to, amount) => __async2222222222(void 0, null, function* () {
|
|
1933
|
+
return "";
|
|
1934
|
+
}),
|
|
1935
|
+
signMessage: (message) => __async2222222222(void 0, null, function* () {
|
|
1936
|
+
return "";
|
|
1937
|
+
}),
|
|
1938
|
+
signPsbt: (tx) => __async2222222222(void 0, null, function* () {
|
|
1939
|
+
return {
|
|
1940
|
+
signedPsbtHex: "",
|
|
1941
|
+
signedPsbtBase64: "",
|
|
1942
|
+
txId: ""
|
|
1943
|
+
};
|
|
1944
|
+
}),
|
|
1945
|
+
pushPsbt: (tx) => __async2222222222(void 0, null, function* () {
|
|
1946
|
+
return "";
|
|
1947
|
+
}),
|
|
1948
|
+
inscribe: (content) => __async2222222222(void 0, null, function* () {
|
|
1949
|
+
return "";
|
|
1950
|
+
}),
|
|
1951
|
+
isCreatingCommit: false,
|
|
1952
|
+
isInscribing: false
|
|
1953
|
+
};
|
|
1954
|
+
bitcoin22222222222.initEccLib(ecc22222222222);
|
|
1955
|
+
var __async22222222222 = (__this, __arguments, generator) => {
|
|
1956
|
+
return new Promise((resolve, reject) => {
|
|
1957
|
+
var fulfilled = (value) => {
|
|
1958
|
+
try {
|
|
1959
|
+
step(generator.next(value));
|
|
1960
|
+
} catch (e) {
|
|
1961
|
+
reject(e);
|
|
1962
|
+
}
|
|
1963
|
+
};
|
|
1964
|
+
var rejected = (value) => {
|
|
1965
|
+
try {
|
|
1966
|
+
step(generator.throw(value));
|
|
1967
|
+
} catch (e) {
|
|
1968
|
+
reject(e);
|
|
1969
|
+
}
|
|
1970
|
+
};
|
|
1971
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1972
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
1973
|
+
});
|
|
1974
|
+
};
|
|
1975
|
+
var MAINNET422222222222 = "mainnet";
|
|
1976
|
+
var initialWalletContext222222222222 = {
|
|
1977
|
+
hasUnisat: false,
|
|
1978
|
+
hasXverse: false,
|
|
1979
|
+
hasOyl: false,
|
|
1980
|
+
hasMagicEden: false,
|
|
1981
|
+
hasOkx: false,
|
|
1982
|
+
hasLeather: false,
|
|
1983
|
+
hasPhantom: false,
|
|
1984
|
+
hasWizz: false,
|
|
1985
|
+
isInitializing: true,
|
|
1986
|
+
connected: false,
|
|
1987
|
+
isConnecting: false,
|
|
1988
|
+
publicKey: "",
|
|
1989
|
+
address: "",
|
|
1990
|
+
paymentAddress: "",
|
|
1991
|
+
paymentPublicKey: "",
|
|
1992
|
+
balance: void 0,
|
|
1993
|
+
network: MAINNET422222222222,
|
|
1994
|
+
library: null,
|
|
1995
|
+
provider: null,
|
|
1996
|
+
accounts: [],
|
|
1997
|
+
connect: (walletName) => __async22222222222(void 0, null, function* () {
|
|
1998
|
+
}),
|
|
1999
|
+
disconnect: () => {
|
|
2000
|
+
},
|
|
2001
|
+
requestAccounts: () => __async22222222222(void 0, null, function* () {
|
|
2002
|
+
return [];
|
|
2003
|
+
}),
|
|
2004
|
+
getNetwork: () => __async22222222222(void 0, null, function* () {
|
|
2005
|
+
return MAINNET422222222222;
|
|
2006
|
+
}),
|
|
2007
|
+
switchNetwork: (network) => __async22222222222(void 0, null, function* () {
|
|
2008
|
+
}),
|
|
2009
|
+
getPublicKey: () => __async22222222222(void 0, null, function* () {
|
|
2010
|
+
return "";
|
|
2011
|
+
}),
|
|
2012
|
+
getBalance: () => __async22222222222(void 0, null, function* () {
|
|
2013
|
+
return "";
|
|
2014
|
+
}),
|
|
2015
|
+
getInscriptions: () => __async22222222222(void 0, null, function* () {
|
|
2016
|
+
return [];
|
|
2017
|
+
}),
|
|
2018
|
+
sendBTC: (to, amount) => __async22222222222(void 0, null, function* () {
|
|
2019
|
+
return "";
|
|
2020
|
+
}),
|
|
2021
|
+
signMessage: (message) => __async22222222222(void 0, null, function* () {
|
|
2022
|
+
return "";
|
|
2023
|
+
}),
|
|
2024
|
+
signPsbt: (tx) => __async22222222222(void 0, null, function* () {
|
|
2025
|
+
return {
|
|
2026
|
+
signedPsbtHex: "",
|
|
2027
|
+
signedPsbtBase64: "",
|
|
2028
|
+
txId: ""
|
|
2029
|
+
};
|
|
2030
|
+
}),
|
|
2031
|
+
pushPsbt: (tx) => __async22222222222(void 0, null, function* () {
|
|
2032
|
+
return "";
|
|
2033
|
+
}),
|
|
2034
|
+
inscribe: (content) => __async22222222222(void 0, null, function* () {
|
|
2035
|
+
return "";
|
|
2036
|
+
}),
|
|
2037
|
+
isCreatingCommit: false,
|
|
2038
|
+
isInscribing: false
|
|
2039
|
+
};
|
|
2040
|
+
bitcoin222222222222.initEccLib(ecc222222222222);
|
|
2041
|
+
var __async222222222222 = (__this, __arguments, generator) => {
|
|
2042
|
+
return new Promise((resolve, reject) => {
|
|
2043
|
+
var fulfilled = (value) => {
|
|
2044
|
+
try {
|
|
2045
|
+
step(generator.next(value));
|
|
2046
|
+
} catch (e) {
|
|
2047
|
+
reject(e);
|
|
2048
|
+
}
|
|
2049
|
+
};
|
|
2050
|
+
var rejected = (value) => {
|
|
2051
|
+
try {
|
|
2052
|
+
step(generator.throw(value));
|
|
2053
|
+
} catch (e) {
|
|
2054
|
+
reject(e);
|
|
2055
|
+
}
|
|
2056
|
+
};
|
|
2057
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
2058
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
2059
|
+
});
|
|
2060
|
+
};
|
|
2061
|
+
var MAINNET4222222222222 = "mainnet";
|
|
2062
|
+
var initialWalletContext2222222222222 = {
|
|
2063
|
+
hasUnisat: false,
|
|
2064
|
+
hasXverse: false,
|
|
2065
|
+
hasOyl: false,
|
|
2066
|
+
hasMagicEden: false,
|
|
2067
|
+
hasOkx: false,
|
|
2068
|
+
hasLeather: false,
|
|
2069
|
+
hasPhantom: false,
|
|
2070
|
+
hasWizz: false,
|
|
2071
|
+
isInitializing: true,
|
|
2072
|
+
connected: false,
|
|
2073
|
+
isConnecting: false,
|
|
2074
|
+
publicKey: "",
|
|
2075
|
+
address: "",
|
|
2076
|
+
paymentAddress: "",
|
|
2077
|
+
paymentPublicKey: "",
|
|
2078
|
+
balance: void 0,
|
|
2079
|
+
network: MAINNET4222222222222,
|
|
2080
|
+
library: null,
|
|
2081
|
+
provider: null,
|
|
2082
|
+
accounts: [],
|
|
2083
|
+
connect: (walletName) => __async222222222222(void 0, null, function* () {
|
|
2084
|
+
}),
|
|
2085
|
+
disconnect: () => {
|
|
2086
|
+
},
|
|
2087
|
+
requestAccounts: () => __async222222222222(void 0, null, function* () {
|
|
1049
2088
|
return [];
|
|
1050
2089
|
}),
|
|
1051
|
-
getNetwork: () =>
|
|
1052
|
-
return
|
|
2090
|
+
getNetwork: () => __async222222222222(void 0, null, function* () {
|
|
2091
|
+
return MAINNET4222222222222;
|
|
1053
2092
|
}),
|
|
1054
|
-
switchNetwork: (network) =>
|
|
2093
|
+
switchNetwork: (network) => __async222222222222(void 0, null, function* () {
|
|
1055
2094
|
}),
|
|
1056
|
-
getPublicKey: () =>
|
|
2095
|
+
getPublicKey: () => __async222222222222(void 0, null, function* () {
|
|
1057
2096
|
return "";
|
|
1058
2097
|
}),
|
|
1059
|
-
getBalance: () =>
|
|
2098
|
+
getBalance: () => __async222222222222(void 0, null, function* () {
|
|
1060
2099
|
return "";
|
|
1061
2100
|
}),
|
|
1062
|
-
getInscriptions: () =>
|
|
2101
|
+
getInscriptions: () => __async222222222222(void 0, null, function* () {
|
|
1063
2102
|
return [];
|
|
1064
2103
|
}),
|
|
1065
|
-
sendBTC: (to, amount) =>
|
|
2104
|
+
sendBTC: (to, amount) => __async222222222222(void 0, null, function* () {
|
|
1066
2105
|
return "";
|
|
1067
2106
|
}),
|
|
1068
|
-
signMessage: (message) =>
|
|
2107
|
+
signMessage: (message) => __async222222222222(void 0, null, function* () {
|
|
1069
2108
|
return "";
|
|
1070
2109
|
}),
|
|
1071
|
-
signPsbt: (tx) =>
|
|
2110
|
+
signPsbt: (tx) => __async222222222222(void 0, null, function* () {
|
|
1072
2111
|
return {
|
|
1073
2112
|
signedPsbtHex: "",
|
|
1074
2113
|
signedPsbtBase64: "",
|
|
1075
2114
|
txId: ""
|
|
1076
2115
|
};
|
|
1077
2116
|
}),
|
|
1078
|
-
pushPsbt: (tx) =>
|
|
2117
|
+
pushPsbt: (tx) => __async222222222222(void 0, null, function* () {
|
|
1079
2118
|
return "";
|
|
1080
2119
|
}),
|
|
1081
|
-
inscribe: (content) =>
|
|
2120
|
+
inscribe: (content) => __async222222222222(void 0, null, function* () {
|
|
1082
2121
|
return "";
|
|
1083
2122
|
}),
|
|
1084
2123
|
isCreatingCommit: false,
|
|
1085
2124
|
isInscribing: false
|
|
1086
2125
|
};
|
|
1087
|
-
|
|
1088
|
-
var
|
|
2126
|
+
bitcoin2222222222222.initEccLib(ecc2222222222222);
|
|
2127
|
+
var __async2222222222222 = (__this, __arguments, generator) => {
|
|
1089
2128
|
return new Promise((resolve, reject) => {
|
|
1090
2129
|
var fulfilled = (value) => {
|
|
1091
2130
|
try {
|
|
@@ -1105,8 +2144,8 @@ var __async22222 = (__this, __arguments, generator) => {
|
|
|
1105
2144
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
1106
2145
|
});
|
|
1107
2146
|
};
|
|
1108
|
-
var
|
|
1109
|
-
var
|
|
2147
|
+
var MAINNET42222222222222 = "mainnet";
|
|
2148
|
+
var initialWalletContext22222222222222 = {
|
|
1110
2149
|
hasUnisat: false,
|
|
1111
2150
|
hasXverse: false,
|
|
1112
2151
|
hasOyl: false,
|
|
@@ -1123,55 +2162,55 @@ var initialWalletContext22222 = {
|
|
|
1123
2162
|
paymentAddress: "",
|
|
1124
2163
|
paymentPublicKey: "",
|
|
1125
2164
|
balance: void 0,
|
|
1126
|
-
network:
|
|
2165
|
+
network: MAINNET42222222222222,
|
|
1127
2166
|
library: null,
|
|
1128
2167
|
provider: null,
|
|
1129
2168
|
accounts: [],
|
|
1130
|
-
connect: (walletName) =>
|
|
2169
|
+
connect: (walletName) => __async2222222222222(void 0, null, function* () {
|
|
1131
2170
|
}),
|
|
1132
2171
|
disconnect: () => {
|
|
1133
2172
|
},
|
|
1134
|
-
requestAccounts: () =>
|
|
2173
|
+
requestAccounts: () => __async2222222222222(void 0, null, function* () {
|
|
1135
2174
|
return [];
|
|
1136
2175
|
}),
|
|
1137
|
-
getNetwork: () =>
|
|
1138
|
-
return
|
|
2176
|
+
getNetwork: () => __async2222222222222(void 0, null, function* () {
|
|
2177
|
+
return MAINNET42222222222222;
|
|
1139
2178
|
}),
|
|
1140
|
-
switchNetwork: (network) =>
|
|
2179
|
+
switchNetwork: (network) => __async2222222222222(void 0, null, function* () {
|
|
1141
2180
|
}),
|
|
1142
|
-
getPublicKey: () =>
|
|
2181
|
+
getPublicKey: () => __async2222222222222(void 0, null, function* () {
|
|
1143
2182
|
return "";
|
|
1144
2183
|
}),
|
|
1145
|
-
getBalance: () =>
|
|
2184
|
+
getBalance: () => __async2222222222222(void 0, null, function* () {
|
|
1146
2185
|
return "";
|
|
1147
2186
|
}),
|
|
1148
|
-
getInscriptions: () =>
|
|
2187
|
+
getInscriptions: () => __async2222222222222(void 0, null, function* () {
|
|
1149
2188
|
return [];
|
|
1150
2189
|
}),
|
|
1151
|
-
sendBTC: (to, amount) =>
|
|
2190
|
+
sendBTC: (to, amount) => __async2222222222222(void 0, null, function* () {
|
|
1152
2191
|
return "";
|
|
1153
2192
|
}),
|
|
1154
|
-
signMessage: (message) =>
|
|
2193
|
+
signMessage: (message) => __async2222222222222(void 0, null, function* () {
|
|
1155
2194
|
return "";
|
|
1156
2195
|
}),
|
|
1157
|
-
signPsbt: (tx) =>
|
|
2196
|
+
signPsbt: (tx) => __async2222222222222(void 0, null, function* () {
|
|
1158
2197
|
return {
|
|
1159
2198
|
signedPsbtHex: "",
|
|
1160
2199
|
signedPsbtBase64: "",
|
|
1161
2200
|
txId: ""
|
|
1162
2201
|
};
|
|
1163
2202
|
}),
|
|
1164
|
-
pushPsbt: (tx) =>
|
|
2203
|
+
pushPsbt: (tx) => __async2222222222222(void 0, null, function* () {
|
|
1165
2204
|
return "";
|
|
1166
2205
|
}),
|
|
1167
|
-
inscribe: (content) =>
|
|
2206
|
+
inscribe: (content) => __async2222222222222(void 0, null, function* () {
|
|
1168
2207
|
return "";
|
|
1169
2208
|
}),
|
|
1170
2209
|
isCreatingCommit: false,
|
|
1171
2210
|
isInscribing: false
|
|
1172
2211
|
};
|
|
1173
|
-
|
|
1174
|
-
var
|
|
2212
|
+
bitcoin22222222222222.initEccLib(ecc22222222222222);
|
|
2213
|
+
var __async22222222222222 = (__this, __arguments, generator) => {
|
|
1175
2214
|
return new Promise((resolve, reject) => {
|
|
1176
2215
|
var fulfilled = (value) => {
|
|
1177
2216
|
try {
|
|
@@ -1191,8 +2230,8 @@ var __async222222 = (__this, __arguments, generator) => {
|
|
|
1191
2230
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
1192
2231
|
});
|
|
1193
2232
|
};
|
|
1194
|
-
var
|
|
1195
|
-
var
|
|
2233
|
+
var MAINNET422222222222222 = "mainnet";
|
|
2234
|
+
var initialWalletContext222222222222222 = {
|
|
1196
2235
|
hasUnisat: false,
|
|
1197
2236
|
hasXverse: false,
|
|
1198
2237
|
hasOyl: false,
|
|
@@ -1209,55 +2248,55 @@ var initialWalletContext222222 = {
|
|
|
1209
2248
|
paymentAddress: "",
|
|
1210
2249
|
paymentPublicKey: "",
|
|
1211
2250
|
balance: void 0,
|
|
1212
|
-
network:
|
|
2251
|
+
network: MAINNET422222222222222,
|
|
1213
2252
|
library: null,
|
|
1214
2253
|
provider: null,
|
|
1215
2254
|
accounts: [],
|
|
1216
|
-
connect: (walletName) =>
|
|
2255
|
+
connect: (walletName) => __async22222222222222(void 0, null, function* () {
|
|
1217
2256
|
}),
|
|
1218
2257
|
disconnect: () => {
|
|
1219
2258
|
},
|
|
1220
|
-
requestAccounts: () =>
|
|
2259
|
+
requestAccounts: () => __async22222222222222(void 0, null, function* () {
|
|
1221
2260
|
return [];
|
|
1222
2261
|
}),
|
|
1223
|
-
getNetwork: () =>
|
|
1224
|
-
return
|
|
2262
|
+
getNetwork: () => __async22222222222222(void 0, null, function* () {
|
|
2263
|
+
return MAINNET422222222222222;
|
|
1225
2264
|
}),
|
|
1226
|
-
switchNetwork: (network) =>
|
|
2265
|
+
switchNetwork: (network) => __async22222222222222(void 0, null, function* () {
|
|
1227
2266
|
}),
|
|
1228
|
-
getPublicKey: () =>
|
|
2267
|
+
getPublicKey: () => __async22222222222222(void 0, null, function* () {
|
|
1229
2268
|
return "";
|
|
1230
2269
|
}),
|
|
1231
|
-
getBalance: () =>
|
|
2270
|
+
getBalance: () => __async22222222222222(void 0, null, function* () {
|
|
1232
2271
|
return "";
|
|
1233
2272
|
}),
|
|
1234
|
-
getInscriptions: () =>
|
|
2273
|
+
getInscriptions: () => __async22222222222222(void 0, null, function* () {
|
|
1235
2274
|
return [];
|
|
1236
2275
|
}),
|
|
1237
|
-
sendBTC: (to, amount) =>
|
|
2276
|
+
sendBTC: (to, amount) => __async22222222222222(void 0, null, function* () {
|
|
1238
2277
|
return "";
|
|
1239
2278
|
}),
|
|
1240
|
-
signMessage: (message) =>
|
|
2279
|
+
signMessage: (message) => __async22222222222222(void 0, null, function* () {
|
|
1241
2280
|
return "";
|
|
1242
2281
|
}),
|
|
1243
|
-
signPsbt: (tx) =>
|
|
2282
|
+
signPsbt: (tx) => __async22222222222222(void 0, null, function* () {
|
|
1244
2283
|
return {
|
|
1245
2284
|
signedPsbtHex: "",
|
|
1246
2285
|
signedPsbtBase64: "",
|
|
1247
2286
|
txId: ""
|
|
1248
2287
|
};
|
|
1249
2288
|
}),
|
|
1250
|
-
pushPsbt: (tx) =>
|
|
2289
|
+
pushPsbt: (tx) => __async22222222222222(void 0, null, function* () {
|
|
1251
2290
|
return "";
|
|
1252
2291
|
}),
|
|
1253
|
-
inscribe: (content) =>
|
|
2292
|
+
inscribe: (content) => __async22222222222222(void 0, null, function* () {
|
|
1254
2293
|
return "";
|
|
1255
2294
|
}),
|
|
1256
2295
|
isCreatingCommit: false,
|
|
1257
2296
|
isInscribing: false
|
|
1258
2297
|
};
|
|
1259
|
-
|
|
1260
|
-
var
|
|
2298
|
+
bitcoin222222222222222.initEccLib(ecc222222222222222);
|
|
2299
|
+
var __async222222222222222 = (__this, __arguments, generator) => {
|
|
1261
2300
|
return new Promise((resolve, reject) => {
|
|
1262
2301
|
var fulfilled = (value) => {
|
|
1263
2302
|
try {
|
|
@@ -1277,8 +2316,8 @@ var __async2222222 = (__this, __arguments, generator) => {
|
|
|
1277
2316
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
1278
2317
|
});
|
|
1279
2318
|
};
|
|
1280
|
-
var
|
|
1281
|
-
var
|
|
2319
|
+
var MAINNET4222222222222222 = "mainnet";
|
|
2320
|
+
var initialWalletContext2222222222222222 = {
|
|
1282
2321
|
hasUnisat: false,
|
|
1283
2322
|
hasXverse: false,
|
|
1284
2323
|
hasOyl: false,
|
|
@@ -1295,55 +2334,55 @@ var initialWalletContext2222222 = {
|
|
|
1295
2334
|
paymentAddress: "",
|
|
1296
2335
|
paymentPublicKey: "",
|
|
1297
2336
|
balance: void 0,
|
|
1298
|
-
network:
|
|
2337
|
+
network: MAINNET4222222222222222,
|
|
1299
2338
|
library: null,
|
|
1300
2339
|
provider: null,
|
|
1301
2340
|
accounts: [],
|
|
1302
|
-
connect: (walletName) =>
|
|
2341
|
+
connect: (walletName) => __async222222222222222(void 0, null, function* () {
|
|
1303
2342
|
}),
|
|
1304
2343
|
disconnect: () => {
|
|
1305
2344
|
},
|
|
1306
|
-
requestAccounts: () =>
|
|
2345
|
+
requestAccounts: () => __async222222222222222(void 0, null, function* () {
|
|
1307
2346
|
return [];
|
|
1308
2347
|
}),
|
|
1309
|
-
getNetwork: () =>
|
|
1310
|
-
return
|
|
2348
|
+
getNetwork: () => __async222222222222222(void 0, null, function* () {
|
|
2349
|
+
return MAINNET4222222222222222;
|
|
1311
2350
|
}),
|
|
1312
|
-
switchNetwork: (network) =>
|
|
2351
|
+
switchNetwork: (network) => __async222222222222222(void 0, null, function* () {
|
|
1313
2352
|
}),
|
|
1314
|
-
getPublicKey: () =>
|
|
2353
|
+
getPublicKey: () => __async222222222222222(void 0, null, function* () {
|
|
1315
2354
|
return "";
|
|
1316
2355
|
}),
|
|
1317
|
-
getBalance: () =>
|
|
2356
|
+
getBalance: () => __async222222222222222(void 0, null, function* () {
|
|
1318
2357
|
return "";
|
|
1319
2358
|
}),
|
|
1320
|
-
getInscriptions: () =>
|
|
2359
|
+
getInscriptions: () => __async222222222222222(void 0, null, function* () {
|
|
1321
2360
|
return [];
|
|
1322
2361
|
}),
|
|
1323
|
-
sendBTC: (to, amount) =>
|
|
2362
|
+
sendBTC: (to, amount) => __async222222222222222(void 0, null, function* () {
|
|
1324
2363
|
return "";
|
|
1325
2364
|
}),
|
|
1326
|
-
signMessage: (message) =>
|
|
2365
|
+
signMessage: (message) => __async222222222222222(void 0, null, function* () {
|
|
1327
2366
|
return "";
|
|
1328
2367
|
}),
|
|
1329
|
-
signPsbt: (tx) =>
|
|
2368
|
+
signPsbt: (tx) => __async222222222222222(void 0, null, function* () {
|
|
1330
2369
|
return {
|
|
1331
2370
|
signedPsbtHex: "",
|
|
1332
2371
|
signedPsbtBase64: "",
|
|
1333
2372
|
txId: ""
|
|
1334
2373
|
};
|
|
1335
2374
|
}),
|
|
1336
|
-
pushPsbt: (tx) =>
|
|
2375
|
+
pushPsbt: (tx) => __async222222222222222(void 0, null, function* () {
|
|
1337
2376
|
return "";
|
|
1338
2377
|
}),
|
|
1339
|
-
inscribe: (content) =>
|
|
2378
|
+
inscribe: (content) => __async222222222222222(void 0, null, function* () {
|
|
1340
2379
|
return "";
|
|
1341
2380
|
}),
|
|
1342
2381
|
isCreatingCommit: false,
|
|
1343
2382
|
isInscribing: false
|
|
1344
2383
|
};
|
|
1345
|
-
|
|
1346
|
-
var
|
|
2384
|
+
bitcoin2222222222222222.initEccLib(ecc2222222222222222);
|
|
2385
|
+
var __async2222222222222222 = (__this, __arguments, generator) => {
|
|
1347
2386
|
return new Promise((resolve, reject) => {
|
|
1348
2387
|
var fulfilled = (value) => {
|
|
1349
2388
|
try {
|
|
@@ -1363,8 +2402,8 @@ var __async22222222 = (__this, __arguments, generator) => {
|
|
|
1363
2402
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
1364
2403
|
});
|
|
1365
2404
|
};
|
|
1366
|
-
var
|
|
1367
|
-
var
|
|
2405
|
+
var MAINNET42222222222222222 = "mainnet";
|
|
2406
|
+
var initialWalletContext22222222222222222 = {
|
|
1368
2407
|
hasUnisat: false,
|
|
1369
2408
|
hasXverse: false,
|
|
1370
2409
|
hasOyl: false,
|
|
@@ -1381,55 +2420,55 @@ var initialWalletContext22222222 = {
|
|
|
1381
2420
|
paymentAddress: "",
|
|
1382
2421
|
paymentPublicKey: "",
|
|
1383
2422
|
balance: void 0,
|
|
1384
|
-
network:
|
|
2423
|
+
network: MAINNET42222222222222222,
|
|
1385
2424
|
library: null,
|
|
1386
2425
|
provider: null,
|
|
1387
2426
|
accounts: [],
|
|
1388
|
-
connect: (walletName) =>
|
|
2427
|
+
connect: (walletName) => __async2222222222222222(void 0, null, function* () {
|
|
1389
2428
|
}),
|
|
1390
2429
|
disconnect: () => {
|
|
1391
2430
|
},
|
|
1392
|
-
requestAccounts: () =>
|
|
2431
|
+
requestAccounts: () => __async2222222222222222(void 0, null, function* () {
|
|
1393
2432
|
return [];
|
|
1394
2433
|
}),
|
|
1395
|
-
getNetwork: () =>
|
|
1396
|
-
return
|
|
2434
|
+
getNetwork: () => __async2222222222222222(void 0, null, function* () {
|
|
2435
|
+
return MAINNET42222222222222222;
|
|
1397
2436
|
}),
|
|
1398
|
-
switchNetwork: (network) =>
|
|
2437
|
+
switchNetwork: (network) => __async2222222222222222(void 0, null, function* () {
|
|
1399
2438
|
}),
|
|
1400
|
-
getPublicKey: () =>
|
|
2439
|
+
getPublicKey: () => __async2222222222222222(void 0, null, function* () {
|
|
1401
2440
|
return "";
|
|
1402
2441
|
}),
|
|
1403
|
-
getBalance: () =>
|
|
2442
|
+
getBalance: () => __async2222222222222222(void 0, null, function* () {
|
|
1404
2443
|
return "";
|
|
1405
2444
|
}),
|
|
1406
|
-
getInscriptions: () =>
|
|
2445
|
+
getInscriptions: () => __async2222222222222222(void 0, null, function* () {
|
|
1407
2446
|
return [];
|
|
1408
2447
|
}),
|
|
1409
|
-
sendBTC: (to, amount) =>
|
|
2448
|
+
sendBTC: (to, amount) => __async2222222222222222(void 0, null, function* () {
|
|
1410
2449
|
return "";
|
|
1411
2450
|
}),
|
|
1412
|
-
signMessage: (message) =>
|
|
2451
|
+
signMessage: (message) => __async2222222222222222(void 0, null, function* () {
|
|
1413
2452
|
return "";
|
|
1414
2453
|
}),
|
|
1415
|
-
signPsbt: (tx) =>
|
|
2454
|
+
signPsbt: (tx) => __async2222222222222222(void 0, null, function* () {
|
|
1416
2455
|
return {
|
|
1417
2456
|
signedPsbtHex: "",
|
|
1418
2457
|
signedPsbtBase64: "",
|
|
1419
2458
|
txId: ""
|
|
1420
2459
|
};
|
|
1421
2460
|
}),
|
|
1422
|
-
pushPsbt: (tx) =>
|
|
2461
|
+
pushPsbt: (tx) => __async2222222222222222(void 0, null, function* () {
|
|
1423
2462
|
return "";
|
|
1424
2463
|
}),
|
|
1425
|
-
inscribe: (content) =>
|
|
2464
|
+
inscribe: (content) => __async2222222222222222(void 0, null, function* () {
|
|
1426
2465
|
return "";
|
|
1427
2466
|
}),
|
|
1428
2467
|
isCreatingCommit: false,
|
|
1429
2468
|
isInscribing: false
|
|
1430
2469
|
};
|
|
1431
|
-
|
|
1432
|
-
var
|
|
2470
|
+
bitcoin22222222222222222.initEccLib(ecc22222222222222222);
|
|
2471
|
+
var __async22222222222222222 = (__this, __arguments, generator) => {
|
|
1433
2472
|
return new Promise((resolve, reject) => {
|
|
1434
2473
|
var fulfilled = (value) => {
|
|
1435
2474
|
try {
|
|
@@ -1449,8 +2488,8 @@ var __async222222222 = (__this, __arguments, generator) => {
|
|
|
1449
2488
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
1450
2489
|
});
|
|
1451
2490
|
};
|
|
1452
|
-
var
|
|
1453
|
-
var
|
|
2491
|
+
var MAINNET422222222222222222 = "mainnet";
|
|
2492
|
+
var initialWalletContext222222222222222222 = {
|
|
1454
2493
|
hasUnisat: false,
|
|
1455
2494
|
hasXverse: false,
|
|
1456
2495
|
hasOyl: false,
|
|
@@ -1467,55 +2506,55 @@ var initialWalletContext222222222 = {
|
|
|
1467
2506
|
paymentAddress: "",
|
|
1468
2507
|
paymentPublicKey: "",
|
|
1469
2508
|
balance: void 0,
|
|
1470
|
-
network:
|
|
2509
|
+
network: MAINNET422222222222222222,
|
|
1471
2510
|
library: null,
|
|
1472
2511
|
provider: null,
|
|
1473
2512
|
accounts: [],
|
|
1474
|
-
connect: (walletName) =>
|
|
2513
|
+
connect: (walletName) => __async22222222222222222(void 0, null, function* () {
|
|
1475
2514
|
}),
|
|
1476
2515
|
disconnect: () => {
|
|
1477
2516
|
},
|
|
1478
|
-
requestAccounts: () =>
|
|
2517
|
+
requestAccounts: () => __async22222222222222222(void 0, null, function* () {
|
|
1479
2518
|
return [];
|
|
1480
2519
|
}),
|
|
1481
|
-
getNetwork: () =>
|
|
1482
|
-
return
|
|
2520
|
+
getNetwork: () => __async22222222222222222(void 0, null, function* () {
|
|
2521
|
+
return MAINNET422222222222222222;
|
|
1483
2522
|
}),
|
|
1484
|
-
switchNetwork: (network) =>
|
|
2523
|
+
switchNetwork: (network) => __async22222222222222222(void 0, null, function* () {
|
|
1485
2524
|
}),
|
|
1486
|
-
getPublicKey: () =>
|
|
2525
|
+
getPublicKey: () => __async22222222222222222(void 0, null, function* () {
|
|
1487
2526
|
return "";
|
|
1488
2527
|
}),
|
|
1489
|
-
getBalance: () =>
|
|
2528
|
+
getBalance: () => __async22222222222222222(void 0, null, function* () {
|
|
1490
2529
|
return "";
|
|
1491
2530
|
}),
|
|
1492
|
-
getInscriptions: () =>
|
|
2531
|
+
getInscriptions: () => __async22222222222222222(void 0, null, function* () {
|
|
1493
2532
|
return [];
|
|
1494
2533
|
}),
|
|
1495
|
-
sendBTC: (to, amount) =>
|
|
2534
|
+
sendBTC: (to, amount) => __async22222222222222222(void 0, null, function* () {
|
|
1496
2535
|
return "";
|
|
1497
2536
|
}),
|
|
1498
|
-
signMessage: (message) =>
|
|
2537
|
+
signMessage: (message) => __async22222222222222222(void 0, null, function* () {
|
|
1499
2538
|
return "";
|
|
1500
2539
|
}),
|
|
1501
|
-
signPsbt: (tx) =>
|
|
2540
|
+
signPsbt: (tx) => __async22222222222222222(void 0, null, function* () {
|
|
1502
2541
|
return {
|
|
1503
2542
|
signedPsbtHex: "",
|
|
1504
2543
|
signedPsbtBase64: "",
|
|
1505
2544
|
txId: ""
|
|
1506
2545
|
};
|
|
1507
2546
|
}),
|
|
1508
|
-
pushPsbt: (tx) =>
|
|
2547
|
+
pushPsbt: (tx) => __async22222222222222222(void 0, null, function* () {
|
|
1509
2548
|
return "";
|
|
1510
2549
|
}),
|
|
1511
|
-
inscribe: (content) =>
|
|
2550
|
+
inscribe: (content) => __async22222222222222222(void 0, null, function* () {
|
|
1512
2551
|
return "";
|
|
1513
2552
|
}),
|
|
1514
2553
|
isCreatingCommit: false,
|
|
1515
2554
|
isInscribing: false
|
|
1516
2555
|
};
|
|
1517
|
-
|
|
1518
|
-
var
|
|
2556
|
+
bitcoin222222222222222222.initEccLib(ecc222222222222222222);
|
|
2557
|
+
var __async222222222222222222 = (__this, __arguments, generator) => {
|
|
1519
2558
|
return new Promise((resolve, reject) => {
|
|
1520
2559
|
var fulfilled = (value) => {
|
|
1521
2560
|
try {
|
|
@@ -1535,8 +2574,8 @@ var __async2222222222 = (__this, __arguments, generator) => {
|
|
|
1535
2574
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
1536
2575
|
});
|
|
1537
2576
|
};
|
|
1538
|
-
var
|
|
1539
|
-
var
|
|
2577
|
+
var MAINNET4222222222222222222 = "mainnet";
|
|
2578
|
+
var initialWalletContext2222222222222222222 = {
|
|
1540
2579
|
hasUnisat: false,
|
|
1541
2580
|
hasXverse: false,
|
|
1542
2581
|
hasOyl: false,
|
|
@@ -1553,55 +2592,55 @@ var initialWalletContext2222222222 = {
|
|
|
1553
2592
|
paymentAddress: "",
|
|
1554
2593
|
paymentPublicKey: "",
|
|
1555
2594
|
balance: void 0,
|
|
1556
|
-
network:
|
|
2595
|
+
network: MAINNET4222222222222222222,
|
|
1557
2596
|
library: null,
|
|
1558
2597
|
provider: null,
|
|
1559
2598
|
accounts: [],
|
|
1560
|
-
connect: (walletName) =>
|
|
2599
|
+
connect: (walletName) => __async222222222222222222(void 0, null, function* () {
|
|
1561
2600
|
}),
|
|
1562
2601
|
disconnect: () => {
|
|
1563
2602
|
},
|
|
1564
|
-
requestAccounts: () =>
|
|
2603
|
+
requestAccounts: () => __async222222222222222222(void 0, null, function* () {
|
|
1565
2604
|
return [];
|
|
1566
2605
|
}),
|
|
1567
|
-
getNetwork: () =>
|
|
1568
|
-
return
|
|
2606
|
+
getNetwork: () => __async222222222222222222(void 0, null, function* () {
|
|
2607
|
+
return MAINNET4222222222222222222;
|
|
1569
2608
|
}),
|
|
1570
|
-
switchNetwork: (network) =>
|
|
2609
|
+
switchNetwork: (network) => __async222222222222222222(void 0, null, function* () {
|
|
1571
2610
|
}),
|
|
1572
|
-
getPublicKey: () =>
|
|
2611
|
+
getPublicKey: () => __async222222222222222222(void 0, null, function* () {
|
|
1573
2612
|
return "";
|
|
1574
2613
|
}),
|
|
1575
|
-
getBalance: () =>
|
|
2614
|
+
getBalance: () => __async222222222222222222(void 0, null, function* () {
|
|
1576
2615
|
return "";
|
|
1577
2616
|
}),
|
|
1578
|
-
getInscriptions: () =>
|
|
2617
|
+
getInscriptions: () => __async222222222222222222(void 0, null, function* () {
|
|
1579
2618
|
return [];
|
|
1580
2619
|
}),
|
|
1581
|
-
sendBTC: (to, amount) =>
|
|
2620
|
+
sendBTC: (to, amount) => __async222222222222222222(void 0, null, function* () {
|
|
1582
2621
|
return "";
|
|
1583
2622
|
}),
|
|
1584
|
-
signMessage: (message) =>
|
|
2623
|
+
signMessage: (message) => __async222222222222222222(void 0, null, function* () {
|
|
1585
2624
|
return "";
|
|
1586
2625
|
}),
|
|
1587
|
-
signPsbt: (tx) =>
|
|
2626
|
+
signPsbt: (tx) => __async222222222222222222(void 0, null, function* () {
|
|
1588
2627
|
return {
|
|
1589
2628
|
signedPsbtHex: "",
|
|
1590
2629
|
signedPsbtBase64: "",
|
|
1591
2630
|
txId: ""
|
|
1592
2631
|
};
|
|
1593
2632
|
}),
|
|
1594
|
-
pushPsbt: (tx) =>
|
|
2633
|
+
pushPsbt: (tx) => __async222222222222222222(void 0, null, function* () {
|
|
1595
2634
|
return "";
|
|
1596
2635
|
}),
|
|
1597
|
-
inscribe: (content) =>
|
|
2636
|
+
inscribe: (content) => __async222222222222222222(void 0, null, function* () {
|
|
1598
2637
|
return "";
|
|
1599
2638
|
}),
|
|
1600
2639
|
isCreatingCommit: false,
|
|
1601
2640
|
isInscribing: false
|
|
1602
2641
|
};
|
|
1603
|
-
|
|
1604
|
-
var
|
|
2642
|
+
bitcoin2222222222222222222.initEccLib(ecc2222222222222222222);
|
|
2643
|
+
var __async2222222222222222222 = (__this, __arguments, generator) => {
|
|
1605
2644
|
return new Promise((resolve, reject) => {
|
|
1606
2645
|
var fulfilled = (value) => {
|
|
1607
2646
|
try {
|
|
@@ -1621,8 +2660,8 @@ var __async22222222222 = (__this, __arguments, generator) => {
|
|
|
1621
2660
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
1622
2661
|
});
|
|
1623
2662
|
};
|
|
1624
|
-
var
|
|
1625
|
-
var
|
|
2663
|
+
var MAINNET42222222222222222222 = "mainnet";
|
|
2664
|
+
var initialWalletContext22222222222222222222 = {
|
|
1626
2665
|
hasUnisat: false,
|
|
1627
2666
|
hasXverse: false,
|
|
1628
2667
|
hasOyl: false,
|
|
@@ -1639,55 +2678,55 @@ var initialWalletContext22222222222 = {
|
|
|
1639
2678
|
paymentAddress: "",
|
|
1640
2679
|
paymentPublicKey: "",
|
|
1641
2680
|
balance: void 0,
|
|
1642
|
-
network:
|
|
2681
|
+
network: MAINNET42222222222222222222,
|
|
1643
2682
|
library: null,
|
|
1644
2683
|
provider: null,
|
|
1645
2684
|
accounts: [],
|
|
1646
|
-
connect: (walletName) =>
|
|
2685
|
+
connect: (walletName) => __async2222222222222222222(void 0, null, function* () {
|
|
1647
2686
|
}),
|
|
1648
2687
|
disconnect: () => {
|
|
1649
2688
|
},
|
|
1650
|
-
requestAccounts: () =>
|
|
2689
|
+
requestAccounts: () => __async2222222222222222222(void 0, null, function* () {
|
|
1651
2690
|
return [];
|
|
1652
2691
|
}),
|
|
1653
|
-
getNetwork: () =>
|
|
1654
|
-
return
|
|
2692
|
+
getNetwork: () => __async2222222222222222222(void 0, null, function* () {
|
|
2693
|
+
return MAINNET42222222222222222222;
|
|
1655
2694
|
}),
|
|
1656
|
-
switchNetwork: (network) =>
|
|
2695
|
+
switchNetwork: (network) => __async2222222222222222222(void 0, null, function* () {
|
|
1657
2696
|
}),
|
|
1658
|
-
getPublicKey: () =>
|
|
2697
|
+
getPublicKey: () => __async2222222222222222222(void 0, null, function* () {
|
|
1659
2698
|
return "";
|
|
1660
2699
|
}),
|
|
1661
|
-
getBalance: () =>
|
|
2700
|
+
getBalance: () => __async2222222222222222222(void 0, null, function* () {
|
|
1662
2701
|
return "";
|
|
1663
2702
|
}),
|
|
1664
|
-
getInscriptions: () =>
|
|
2703
|
+
getInscriptions: () => __async2222222222222222222(void 0, null, function* () {
|
|
1665
2704
|
return [];
|
|
1666
2705
|
}),
|
|
1667
|
-
sendBTC: (to, amount) =>
|
|
2706
|
+
sendBTC: (to, amount) => __async2222222222222222222(void 0, null, function* () {
|
|
1668
2707
|
return "";
|
|
1669
2708
|
}),
|
|
1670
|
-
signMessage: (message) =>
|
|
2709
|
+
signMessage: (message) => __async2222222222222222222(void 0, null, function* () {
|
|
1671
2710
|
return "";
|
|
1672
2711
|
}),
|
|
1673
|
-
signPsbt: (tx) =>
|
|
2712
|
+
signPsbt: (tx) => __async2222222222222222222(void 0, null, function* () {
|
|
1674
2713
|
return {
|
|
1675
2714
|
signedPsbtHex: "",
|
|
1676
2715
|
signedPsbtBase64: "",
|
|
1677
2716
|
txId: ""
|
|
1678
2717
|
};
|
|
1679
2718
|
}),
|
|
1680
|
-
pushPsbt: (tx) =>
|
|
2719
|
+
pushPsbt: (tx) => __async2222222222222222222(void 0, null, function* () {
|
|
1681
2720
|
return "";
|
|
1682
2721
|
}),
|
|
1683
|
-
inscribe: (content) =>
|
|
2722
|
+
inscribe: (content) => __async2222222222222222222(void 0, null, function* () {
|
|
1684
2723
|
return "";
|
|
1685
2724
|
}),
|
|
1686
2725
|
isCreatingCommit: false,
|
|
1687
2726
|
isInscribing: false
|
|
1688
2727
|
};
|
|
1689
|
-
|
|
1690
|
-
var
|
|
2728
|
+
bitcoin22222222222222222222.initEccLib(ecc22222222222222222222);
|
|
2729
|
+
var __async22222222222222222222 = (__this, __arguments, generator) => {
|
|
1691
2730
|
return new Promise((resolve, reject) => {
|
|
1692
2731
|
var fulfilled = (value) => {
|
|
1693
2732
|
try {
|
|
@@ -1707,8 +2746,8 @@ var __async222222222222 = (__this, __arguments, generator) => {
|
|
|
1707
2746
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
1708
2747
|
});
|
|
1709
2748
|
};
|
|
1710
|
-
var
|
|
1711
|
-
var
|
|
2749
|
+
var MAINNET422222222222222222222 = "mainnet";
|
|
2750
|
+
var initialWalletContext222222222222222222222 = {
|
|
1712
2751
|
hasUnisat: false,
|
|
1713
2752
|
hasXverse: false,
|
|
1714
2753
|
hasOyl: false,
|
|
@@ -1725,66 +2764,75 @@ var initialWalletContext222222222222 = {
|
|
|
1725
2764
|
paymentAddress: "",
|
|
1726
2765
|
paymentPublicKey: "",
|
|
1727
2766
|
balance: void 0,
|
|
1728
|
-
network:
|
|
2767
|
+
network: MAINNET422222222222222222222,
|
|
1729
2768
|
library: null,
|
|
1730
2769
|
provider: null,
|
|
1731
2770
|
accounts: [],
|
|
1732
|
-
connect: (walletName) =>
|
|
2771
|
+
connect: (walletName) => __async22222222222222222222(void 0, null, function* () {
|
|
1733
2772
|
}),
|
|
1734
2773
|
disconnect: () => {
|
|
1735
2774
|
},
|
|
1736
|
-
requestAccounts: () =>
|
|
2775
|
+
requestAccounts: () => __async22222222222222222222(void 0, null, function* () {
|
|
1737
2776
|
return [];
|
|
1738
2777
|
}),
|
|
1739
|
-
getNetwork: () =>
|
|
1740
|
-
return
|
|
2778
|
+
getNetwork: () => __async22222222222222222222(void 0, null, function* () {
|
|
2779
|
+
return MAINNET422222222222222222222;
|
|
1741
2780
|
}),
|
|
1742
|
-
switchNetwork: (network) =>
|
|
2781
|
+
switchNetwork: (network) => __async22222222222222222222(void 0, null, function* () {
|
|
1743
2782
|
}),
|
|
1744
|
-
getPublicKey: () =>
|
|
2783
|
+
getPublicKey: () => __async22222222222222222222(void 0, null, function* () {
|
|
1745
2784
|
return "";
|
|
1746
2785
|
}),
|
|
1747
|
-
getBalance: () =>
|
|
2786
|
+
getBalance: () => __async22222222222222222222(void 0, null, function* () {
|
|
1748
2787
|
return "";
|
|
1749
2788
|
}),
|
|
1750
|
-
getInscriptions: () =>
|
|
2789
|
+
getInscriptions: () => __async22222222222222222222(void 0, null, function* () {
|
|
1751
2790
|
return [];
|
|
1752
2791
|
}),
|
|
1753
|
-
sendBTC: (to, amount) =>
|
|
2792
|
+
sendBTC: (to, amount) => __async22222222222222222222(void 0, null, function* () {
|
|
1754
2793
|
return "";
|
|
1755
2794
|
}),
|
|
1756
|
-
signMessage: (message) =>
|
|
2795
|
+
signMessage: (message) => __async22222222222222222222(void 0, null, function* () {
|
|
1757
2796
|
return "";
|
|
1758
2797
|
}),
|
|
1759
|
-
signPsbt: (tx) =>
|
|
2798
|
+
signPsbt: (tx) => __async22222222222222222222(void 0, null, function* () {
|
|
1760
2799
|
return {
|
|
1761
2800
|
signedPsbtHex: "",
|
|
1762
2801
|
signedPsbtBase64: "",
|
|
1763
2802
|
txId: ""
|
|
1764
2803
|
};
|
|
1765
2804
|
}),
|
|
1766
|
-
pushPsbt: (tx) =>
|
|
2805
|
+
pushPsbt: (tx) => __async22222222222222222222(void 0, null, function* () {
|
|
1767
2806
|
return "";
|
|
1768
2807
|
}),
|
|
1769
|
-
inscribe: (content) =>
|
|
2808
|
+
inscribe: (content) => __async22222222222222222222(void 0, null, function* () {
|
|
1770
2809
|
return "";
|
|
1771
2810
|
}),
|
|
1772
2811
|
isCreatingCommit: false,
|
|
1773
2812
|
isInscribing: false
|
|
1774
2813
|
};
|
|
1775
|
-
bitcoin3.initEccLib(
|
|
1776
|
-
var LaserEyesContext = createContext(
|
|
1777
|
-
var LaserEyesContext2 = createContext2(
|
|
1778
|
-
var LaserEyesContext3 = createContext3(
|
|
1779
|
-
var LaserEyesContext4 = createContext4(
|
|
1780
|
-
var LaserEyesContext5 = createContext5(
|
|
1781
|
-
var LaserEyesContext6 = createContext6(
|
|
1782
|
-
var LaserEyesContext7 = createContext7(
|
|
1783
|
-
var LaserEyesContext8 = createContext8(
|
|
1784
|
-
var LaserEyesContext9 = createContext9(
|
|
1785
|
-
var LaserEyesContext10 = createContext10(
|
|
1786
|
-
var LaserEyesContext11 = createContext11(
|
|
1787
|
-
var LaserEyesContext12 = createContext12(
|
|
2814
|
+
bitcoin3.initEccLib(ecc222222222222222222222);
|
|
2815
|
+
var LaserEyesContext = createContext(initialWalletContext222222222222222222222);
|
|
2816
|
+
var LaserEyesContext2 = createContext2(initialWalletContext22222222222222222222);
|
|
2817
|
+
var LaserEyesContext3 = createContext3(initialWalletContext2222222222222222222);
|
|
2818
|
+
var LaserEyesContext4 = createContext4(initialWalletContext222222222222222222);
|
|
2819
|
+
var LaserEyesContext5 = createContext5(initialWalletContext22222222222222222);
|
|
2820
|
+
var LaserEyesContext6 = createContext6(initialWalletContext2222222222222222);
|
|
2821
|
+
var LaserEyesContext7 = createContext7(initialWalletContext222222222222222);
|
|
2822
|
+
var LaserEyesContext8 = createContext8(initialWalletContext22222222222222);
|
|
2823
|
+
var LaserEyesContext9 = createContext9(initialWalletContext2222222222222);
|
|
2824
|
+
var LaserEyesContext10 = createContext10(initialWalletContext222222222222);
|
|
2825
|
+
var LaserEyesContext11 = createContext11(initialWalletContext22222222222);
|
|
2826
|
+
var LaserEyesContext12 = createContext12(initialWalletContext2222222222);
|
|
2827
|
+
var LaserEyesContext13 = createContext13(initialWalletContext222222222);
|
|
2828
|
+
var LaserEyesContext14 = createContext14(initialWalletContext22222222);
|
|
2829
|
+
var LaserEyesContext15 = createContext15(initialWalletContext2222222);
|
|
2830
|
+
var LaserEyesContext16 = createContext16(initialWalletContext222222);
|
|
2831
|
+
var LaserEyesContext17 = createContext17(initialWalletContext22222);
|
|
2832
|
+
var LaserEyesContext18 = createContext18(initialWalletContext2222);
|
|
2833
|
+
var LaserEyesContext19 = createContext19(initialWalletContext222);
|
|
2834
|
+
var LaserEyesContext20 = createContext20(initialWalletContext22);
|
|
2835
|
+
var LaserEyesContext21 = createContext21(initialWalletContext2);
|
|
1788
2836
|
|
|
1789
2837
|
// example/lib/urls.ts
|
|
1790
2838
|
var MEMPOOL_SPACE_URL3 = "https://mempool.space";
|
|
@@ -1793,42 +2841,42 @@ var MEMPOOL_SPACE_SIGNET_URL2 = "https://mempool.space/signet";
|
|
|
1793
2841
|
var getMempoolSpaceUrl3 = (network) => network === TESTNET3 ? MEMPOOL_SPACE_TESTNET_URL3 : network === SIGNET3 ? MEMPOOL_SPACE_SIGNET_URL2 : MEMPOOL_SPACE_URL3;
|
|
1794
2842
|
|
|
1795
2843
|
// src/providers/LaserEyesProvider.tsx
|
|
1796
|
-
import { jsx as
|
|
1797
|
-
var
|
|
2844
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
2845
|
+
var LaserEyesContext22 = createContext22(initialWalletContext);
|
|
1798
2846
|
var useLaserEyes = () => {
|
|
1799
|
-
return
|
|
2847
|
+
return useContext22(LaserEyesContext22);
|
|
1800
2848
|
};
|
|
1801
2849
|
var LaserEyesProvider = ({
|
|
1802
2850
|
children,
|
|
1803
2851
|
config
|
|
1804
2852
|
}) => {
|
|
1805
|
-
const selfRef =
|
|
2853
|
+
const selfRef = useRef22({
|
|
1806
2854
|
accounts: []
|
|
1807
2855
|
});
|
|
1808
2856
|
const self = selfRef.current;
|
|
1809
|
-
const [library, setLibrary] =
|
|
1810
|
-
const [provider, setProvider] =
|
|
1811
|
-
const [isInitializing, setIsInitializing] =
|
|
1812
|
-
const [connected, setConnected] =
|
|
1813
|
-
const [isConnecting, setIsConnecting] =
|
|
1814
|
-
const [accounts, setAccounts] =
|
|
1815
|
-
const [publicKey, setPublicKey] =
|
|
1816
|
-
const [paymentPublicKey, setPaymentPublicKey] =
|
|
1817
|
-
const [address3, setAddress] =
|
|
1818
|
-
const [paymentAddress, setPaymentAddress] =
|
|
1819
|
-
const [balance, setBalance] =
|
|
1820
|
-
const [hasUnisat, setHasUnisat] =
|
|
1821
|
-
const [hasXverse, setHasXverse] =
|
|
1822
|
-
const [hasOyl, setHasOyl] =
|
|
1823
|
-
const [hasMagicEden, setHasMagicEden] =
|
|
1824
|
-
const [hasOkx, setHasOkx] =
|
|
1825
|
-
const [hasLeather, setHasLeather] =
|
|
1826
|
-
const [hasPhantom, setHasPhantom] =
|
|
1827
|
-
const [hasWizz, setHasWizz] =
|
|
1828
|
-
const [network, setNetwork] =
|
|
2857
|
+
const [library, setLibrary] = useState43(null);
|
|
2858
|
+
const [provider, setProvider] = useState43();
|
|
2859
|
+
const [isInitializing, setIsInitializing] = useState43(true);
|
|
2860
|
+
const [connected, setConnected] = useState43(false);
|
|
2861
|
+
const [isConnecting, setIsConnecting] = useState43(false);
|
|
2862
|
+
const [accounts, setAccounts] = useState43([]);
|
|
2863
|
+
const [publicKey, setPublicKey] = useState43("");
|
|
2864
|
+
const [paymentPublicKey, setPaymentPublicKey] = useState43("");
|
|
2865
|
+
const [address3, setAddress] = useState43("");
|
|
2866
|
+
const [paymentAddress, setPaymentAddress] = useState43("");
|
|
2867
|
+
const [balance, setBalance] = useState43();
|
|
2868
|
+
const [hasUnisat, setHasUnisat] = useState43(false);
|
|
2869
|
+
const [hasXverse, setHasXverse] = useState43(false);
|
|
2870
|
+
const [hasOyl, setHasOyl] = useState43(false);
|
|
2871
|
+
const [hasMagicEden, setHasMagicEden] = useState43(false);
|
|
2872
|
+
const [hasOkx, setHasOkx] = useState43(false);
|
|
2873
|
+
const [hasLeather, setHasLeather] = useState43(false);
|
|
2874
|
+
const [hasPhantom, setHasPhantom] = useState43(false);
|
|
2875
|
+
const [hasWizz, setHasWizz] = useState43(false);
|
|
2876
|
+
const [network, setNetwork] = useLocalStorage22("network", MAINNET, {
|
|
1829
2877
|
initializeWithValue: false
|
|
1830
2878
|
});
|
|
1831
|
-
|
|
2879
|
+
useEffect43(() => {
|
|
1832
2880
|
if (config) {
|
|
1833
2881
|
setNetwork(config.network);
|
|
1834
2882
|
getNetwork().then((foundNetwork) => {
|
|
@@ -1845,7 +2893,7 @@ var LaserEyesProvider = ({
|
|
|
1845
2893
|
setIsInitializing(false);
|
|
1846
2894
|
}
|
|
1847
2895
|
};
|
|
1848
|
-
|
|
2896
|
+
useEffect43(() => {
|
|
1849
2897
|
const observer = new MutationObserver(() => {
|
|
1850
2898
|
const unisatLib = window == null ? void 0 : window.unisat;
|
|
1851
2899
|
if (unisatLib) {
|
|
@@ -1858,7 +2906,7 @@ var LaserEyesProvider = ({
|
|
|
1858
2906
|
observer.disconnect();
|
|
1859
2907
|
};
|
|
1860
2908
|
}, []);
|
|
1861
|
-
|
|
2909
|
+
useEffect43(() => {
|
|
1862
2910
|
const observer = new MutationObserver(() => {
|
|
1863
2911
|
var _a;
|
|
1864
2912
|
const xverseLib = (_a = window == null ? void 0 : window.XverseProviders) == null ? void 0 : _a.BitcoinProvider;
|
|
@@ -1872,7 +2920,7 @@ var LaserEyesProvider = ({
|
|
|
1872
2920
|
observer.disconnect();
|
|
1873
2921
|
};
|
|
1874
2922
|
}, []);
|
|
1875
|
-
|
|
2923
|
+
useEffect43(() => {
|
|
1876
2924
|
const observer = new MutationObserver(() => {
|
|
1877
2925
|
const oylLib = window == null ? void 0 : window.oyl;
|
|
1878
2926
|
if (oylLib) {
|
|
@@ -1885,7 +2933,7 @@ var LaserEyesProvider = ({
|
|
|
1885
2933
|
observer.disconnect();
|
|
1886
2934
|
};
|
|
1887
2935
|
}, []);
|
|
1888
|
-
|
|
2936
|
+
useEffect43(() => {
|
|
1889
2937
|
const observer = new MutationObserver(() => {
|
|
1890
2938
|
const magicEdenLib = window == null ? void 0 : window.magicEden;
|
|
1891
2939
|
if (magicEdenLib) {
|
|
@@ -1898,7 +2946,7 @@ var LaserEyesProvider = ({
|
|
|
1898
2946
|
observer.disconnect();
|
|
1899
2947
|
};
|
|
1900
2948
|
}, []);
|
|
1901
|
-
|
|
2949
|
+
useEffect43(() => {
|
|
1902
2950
|
const observer = new MutationObserver(() => {
|
|
1903
2951
|
var _a, _b;
|
|
1904
2952
|
let foundOkx;
|
|
@@ -1917,7 +2965,7 @@ var LaserEyesProvider = ({
|
|
|
1917
2965
|
observer.disconnect();
|
|
1918
2966
|
};
|
|
1919
2967
|
}, [network]);
|
|
1920
|
-
|
|
2968
|
+
useEffect43(() => {
|
|
1921
2969
|
const observer = new MutationObserver(() => {
|
|
1922
2970
|
const leatherLib = window == null ? void 0 : window.LeatherProvider;
|
|
1923
2971
|
if (leatherLib) {
|
|
@@ -1930,7 +2978,7 @@ var LaserEyesProvider = ({
|
|
|
1930
2978
|
observer.disconnect();
|
|
1931
2979
|
};
|
|
1932
2980
|
}, []);
|
|
1933
|
-
|
|
2981
|
+
useEffect43(() => {
|
|
1934
2982
|
const observer = new MutationObserver(() => {
|
|
1935
2983
|
var _a;
|
|
1936
2984
|
const phantomLib = (_a = window == null ? void 0 : window.phantom) == null ? void 0 : _a.bitcoin;
|
|
@@ -1947,7 +2995,7 @@ var LaserEyesProvider = ({
|
|
|
1947
2995
|
observer.disconnect();
|
|
1948
2996
|
};
|
|
1949
2997
|
}, []);
|
|
1950
|
-
|
|
2998
|
+
useEffect43(() => {
|
|
1951
2999
|
const observer = new MutationObserver(() => {
|
|
1952
3000
|
const wizzLib = window == null ? void 0 : window.wizz;
|
|
1953
3001
|
if (wizzLib) {
|
|
@@ -1960,7 +3008,7 @@ var LaserEyesProvider = ({
|
|
|
1960
3008
|
observer.disconnect();
|
|
1961
3009
|
};
|
|
1962
3010
|
}, []);
|
|
1963
|
-
|
|
3011
|
+
useEffect43(() => {
|
|
1964
3012
|
checkInitializationComplete();
|
|
1965
3013
|
}, [
|
|
1966
3014
|
hasUnisat,
|
|
@@ -1972,10 +3020,10 @@ var LaserEyesProvider = ({
|
|
|
1972
3020
|
hasPhantom,
|
|
1973
3021
|
hasWizz
|
|
1974
3022
|
]);
|
|
1975
|
-
|
|
3023
|
+
useEffect43(() => {
|
|
1976
3024
|
setBalance(void 0);
|
|
1977
3025
|
}, [network]);
|
|
1978
|
-
|
|
3026
|
+
useEffect43(() => {
|
|
1979
3027
|
if (provider !== UNISAT && provider !== WIZZ) {
|
|
1980
3028
|
return;
|
|
1981
3029
|
}
|
|
@@ -1989,7 +3037,7 @@ var LaserEyesProvider = ({
|
|
|
1989
3037
|
library.removeListener("networkChanged", handleNetworkChanged);
|
|
1990
3038
|
};
|
|
1991
3039
|
}, [library]);
|
|
1992
|
-
|
|
3040
|
+
useEffect43(() => {
|
|
1993
3041
|
if (!isInitializing) {
|
|
1994
3042
|
const defaultWallet = localStorage == null ? void 0 : localStorage.getItem(
|
|
1995
3043
|
LOCAL_STORAGE_DEFAULT_WALLET
|
|
@@ -2000,7 +3048,7 @@ var LaserEyesProvider = ({
|
|
|
2000
3048
|
}
|
|
2001
3049
|
}
|
|
2002
3050
|
}, [isInitializing]);
|
|
2003
|
-
const connectUnisat =
|
|
3051
|
+
const connectUnisat = useCallback43(() => __async(void 0, null, function* () {
|
|
2004
3052
|
try {
|
|
2005
3053
|
localStorage == null ? void 0 : localStorage.setItem(LOCAL_STORAGE_DEFAULT_WALLET, UNISAT);
|
|
2006
3054
|
const lib = window.unisat;
|
|
@@ -2024,7 +3072,7 @@ var LaserEyesProvider = ({
|
|
|
2024
3072
|
throw error;
|
|
2025
3073
|
}
|
|
2026
3074
|
}), [hasUnisat]);
|
|
2027
|
-
const connectXverse =
|
|
3075
|
+
const connectXverse = useCallback43(() => __async(void 0, null, function* () {
|
|
2028
3076
|
try {
|
|
2029
3077
|
localStorage == null ? void 0 : localStorage.setItem(LOCAL_STORAGE_DEFAULT_WALLET, XVERSE);
|
|
2030
3078
|
let xverseNetwork = getXverseNetwork((config == null ? void 0 : config.network) || MAINNET);
|
|
@@ -2058,7 +3106,7 @@ var LaserEyesProvider = ({
|
|
|
2058
3106
|
throw new Error(`Can't lasereyes to ${XVERSE} wallet`);
|
|
2059
3107
|
}
|
|
2060
3108
|
};
|
|
2061
|
-
yield
|
|
3109
|
+
yield getAddress22(getAddressOptions);
|
|
2062
3110
|
setConnected(true);
|
|
2063
3111
|
} catch (error) {
|
|
2064
3112
|
throw error;
|
|
@@ -2123,7 +3171,7 @@ var LaserEyesProvider = ({
|
|
|
2123
3171
|
}
|
|
2124
3172
|
};
|
|
2125
3173
|
console.log(JSON.stringify(getAddressOptions));
|
|
2126
|
-
yield
|
|
3174
|
+
yield getAddress22(getAddressOptions);
|
|
2127
3175
|
setConnected(true);
|
|
2128
3176
|
} catch (error) {
|
|
2129
3177
|
console.log("error", error);
|
|
@@ -2154,7 +3202,7 @@ var LaserEyesProvider = ({
|
|
|
2154
3202
|
throw error;
|
|
2155
3203
|
}
|
|
2156
3204
|
});
|
|
2157
|
-
const connectLeather =
|
|
3205
|
+
const connectLeather = useCallback43(() => __async(void 0, null, function* () {
|
|
2158
3206
|
try {
|
|
2159
3207
|
localStorage == null ? void 0 : localStorage.setItem(LOCAL_STORAGE_DEFAULT_WALLET, LEATHER);
|
|
2160
3208
|
const lib = window.LeatherProvider;
|
|
@@ -2547,7 +3595,7 @@ var LaserEyesProvider = ({
|
|
|
2547
3595
|
throw new Error("Transaction failed");
|
|
2548
3596
|
return txId;
|
|
2549
3597
|
} else if (provider === XVERSE) {
|
|
2550
|
-
const response = yield
|
|
3598
|
+
const response = yield request22("sendTransfer", {
|
|
2551
3599
|
recipients: [
|
|
2552
3600
|
{
|
|
2553
3601
|
address: to,
|
|
@@ -2558,7 +3606,7 @@ var LaserEyesProvider = ({
|
|
|
2558
3606
|
if (response.status === "success") {
|
|
2559
3607
|
return response.result.txid;
|
|
2560
3608
|
} else {
|
|
2561
|
-
if (response.error.code ===
|
|
3609
|
+
if (response.error.code === RpcErrorCode22.USER_REJECTION) {
|
|
2562
3610
|
throw new Error("User rejected the request");
|
|
2563
3611
|
} else {
|
|
2564
3612
|
throw new Error("Error sending BTC: " + response.error.message);
|
|
@@ -2611,7 +3659,7 @@ var LaserEyesProvider = ({
|
|
|
2611
3659
|
if ((_a = response == null ? void 0 : response.result) == null ? void 0 : _a.txid) {
|
|
2612
3660
|
return response.result.txid;
|
|
2613
3661
|
} else {
|
|
2614
|
-
if (response.error.code ===
|
|
3662
|
+
if (response.error.code === RpcErrorCode22.USER_REJECTION) {
|
|
2615
3663
|
throw new Error("User rejected the request");
|
|
2616
3664
|
} else {
|
|
2617
3665
|
throw new Error("Error sending BTC: " + response.error.message);
|
|
@@ -2637,14 +3685,14 @@ var LaserEyesProvider = ({
|
|
|
2637
3685
|
if (provider === UNISAT) {
|
|
2638
3686
|
return yield library == null ? void 0 : library.signMessage(message);
|
|
2639
3687
|
} else if (provider === XVERSE) {
|
|
2640
|
-
const response = yield
|
|
3688
|
+
const response = yield request22("signMessage", {
|
|
2641
3689
|
address: address3,
|
|
2642
3690
|
message
|
|
2643
3691
|
});
|
|
2644
3692
|
if (response.status === "success") {
|
|
2645
3693
|
return response.result.signature;
|
|
2646
3694
|
} else {
|
|
2647
|
-
if (response.error.code ===
|
|
3695
|
+
if (response.error.code === RpcErrorCode22.USER_REJECTION) {
|
|
2648
3696
|
throw new Error("User rejected the request");
|
|
2649
3697
|
} else {
|
|
2650
3698
|
throw new Error("Error signing message: " + response.error.message);
|
|
@@ -2652,13 +3700,13 @@ var LaserEyesProvider = ({
|
|
|
2652
3700
|
}
|
|
2653
3701
|
} else if (provider === MAGIC_EDEN) {
|
|
2654
3702
|
let signedMessage;
|
|
2655
|
-
yield
|
|
3703
|
+
yield signMessageSatsConnect22({
|
|
2656
3704
|
getProvider: () => __async(void 0, null, function* () {
|
|
2657
3705
|
return window.magicEden.bitcoin;
|
|
2658
3706
|
}),
|
|
2659
3707
|
payload: {
|
|
2660
3708
|
network: {
|
|
2661
|
-
type:
|
|
3709
|
+
type: BitcoinNetworkType22.Mainnet
|
|
2662
3710
|
},
|
|
2663
3711
|
address: paymentAddress,
|
|
2664
3712
|
message
|
|
@@ -2702,11 +3750,11 @@ var LaserEyesProvider = ({
|
|
|
2702
3750
|
if (!psbt)
|
|
2703
3751
|
throw new Error("No PSBT provided");
|
|
2704
3752
|
if (isHex(psbt)) {
|
|
2705
|
-
psbtBase64 =
|
|
3753
|
+
psbtBase64 = bitcoin25.Psbt.fromHex(psbt).toBase64();
|
|
2706
3754
|
psbtHex = psbt;
|
|
2707
3755
|
} else if (isBase64(psbt)) {
|
|
2708
3756
|
psbtBase64 = psbt;
|
|
2709
|
-
psbtHex =
|
|
3757
|
+
psbtHex = bitcoin25.Psbt.fromBase64(psbt).toHex();
|
|
2710
3758
|
} else {
|
|
2711
3759
|
throw new Error("Invalid PSBT format");
|
|
2712
3760
|
}
|
|
@@ -2714,7 +3762,7 @@ var LaserEyesProvider = ({
|
|
|
2714
3762
|
const signedPsbt = yield library == null ? void 0 : library.signPsbt(psbtHex, {
|
|
2715
3763
|
autoFinalized: finalize
|
|
2716
3764
|
});
|
|
2717
|
-
const psbtSignedPsbt =
|
|
3765
|
+
const psbtSignedPsbt = bitcoin25.Psbt.fromHex(signedPsbt);
|
|
2718
3766
|
if (finalize && broadcast) {
|
|
2719
3767
|
const txId = yield pushPsbt(signedPsbt);
|
|
2720
3768
|
return {
|
|
@@ -2729,7 +3777,7 @@ var LaserEyesProvider = ({
|
|
|
2729
3777
|
txId: void 0
|
|
2730
3778
|
};
|
|
2731
3779
|
} else if (provider === XVERSE) {
|
|
2732
|
-
const toSignPsbt =
|
|
3780
|
+
const toSignPsbt = bitcoin25.Psbt.fromBase64(String(psbtBase64), {
|
|
2733
3781
|
network: getBitcoinNetwork(network)
|
|
2734
3782
|
});
|
|
2735
3783
|
const inputs = toSignPsbt.data.inputs;
|
|
@@ -2747,7 +3795,7 @@ var LaserEyesProvider = ({
|
|
|
2747
3795
|
for (var iter = __forAwait(inputs), more, temp, error; more = !(temp = yield iter.next()).done; more = false) {
|
|
2748
3796
|
let input = temp.value;
|
|
2749
3797
|
const { script } = input.witnessUtxo;
|
|
2750
|
-
const addressFromScript =
|
|
3798
|
+
const addressFromScript = fromOutputScript22(
|
|
2751
3799
|
script,
|
|
2752
3800
|
getBitcoinNetwork(network)
|
|
2753
3801
|
);
|
|
@@ -2790,7 +3838,7 @@ var LaserEyesProvider = ({
|
|
|
2790
3838
|
if (response.txId) {
|
|
2791
3839
|
txId = response.txId;
|
|
2792
3840
|
} else if (response.psbtBase64) {
|
|
2793
|
-
const signedPsbt =
|
|
3841
|
+
const signedPsbt = bitcoin25.Psbt.fromBase64(
|
|
2794
3842
|
String(response.psbtBase64),
|
|
2795
3843
|
{
|
|
2796
3844
|
network: getBitcoinNetwork(network)
|
|
@@ -2802,7 +3850,7 @@ var LaserEyesProvider = ({
|
|
|
2802
3850
|
},
|
|
2803
3851
|
onCancel: () => console.log("Canceled")
|
|
2804
3852
|
};
|
|
2805
|
-
yield
|
|
3853
|
+
yield signTransaction22(signPsbtOptions);
|
|
2806
3854
|
return {
|
|
2807
3855
|
signedPsbtHex,
|
|
2808
3856
|
signedPsbtBase64,
|
|
@@ -2811,7 +3859,7 @@ var LaserEyesProvider = ({
|
|
|
2811
3859
|
} else if (provider === OYL) {
|
|
2812
3860
|
const signedPsbt = yield library == null ? void 0 : library.signPsbt(psbtHex, true, true);
|
|
2813
3861
|
console.log({ signedPsbt });
|
|
2814
|
-
const psbtSignedPsbt =
|
|
3862
|
+
const psbtSignedPsbt = bitcoin25.Psbt.fromHex(signedPsbt);
|
|
2815
3863
|
if (broadcast) {
|
|
2816
3864
|
const txId = yield pushPsbt(psbtSignedPsbt.toHex());
|
|
2817
3865
|
return {
|
|
@@ -2827,7 +3875,7 @@ var LaserEyesProvider = ({
|
|
|
2827
3875
|
};
|
|
2828
3876
|
}
|
|
2829
3877
|
} else if (provider === MAGIC_EDEN) {
|
|
2830
|
-
const toSignPsbt =
|
|
3878
|
+
const toSignPsbt = bitcoin25.Psbt.fromBase64(String(psbtBase64), {
|
|
2831
3879
|
network: getBitcoinNetwork(network)
|
|
2832
3880
|
});
|
|
2833
3881
|
const inputs = toSignPsbt.data.inputs;
|
|
@@ -2845,7 +3893,7 @@ var LaserEyesProvider = ({
|
|
|
2845
3893
|
for (var iter2 = __forAwait(inputs), more2, temp2, error2; more2 = !(temp2 = yield iter2.next()).done; more2 = false) {
|
|
2846
3894
|
let input = temp2.value;
|
|
2847
3895
|
const { script } = input.witnessUtxo;
|
|
2848
|
-
const addressFromScript =
|
|
3896
|
+
const addressFromScript = fromOutputScript22(
|
|
2849
3897
|
script,
|
|
2850
3898
|
getBitcoinNetwork(network)
|
|
2851
3899
|
);
|
|
@@ -2889,7 +3937,7 @@ var LaserEyesProvider = ({
|
|
|
2889
3937
|
},
|
|
2890
3938
|
onFinish: (response) => {
|
|
2891
3939
|
if (response.psbtBase64) {
|
|
2892
|
-
const signedPsbt =
|
|
3940
|
+
const signedPsbt = bitcoin25.Psbt.fromBase64(
|
|
2893
3941
|
String(response.psbtBase64),
|
|
2894
3942
|
{
|
|
2895
3943
|
network: getBitcoinNetwork(network)
|
|
@@ -2908,9 +3956,9 @@ var LaserEyesProvider = ({
|
|
|
2908
3956
|
throw error3;
|
|
2909
3957
|
}
|
|
2910
3958
|
};
|
|
2911
|
-
yield
|
|
3959
|
+
yield signTransaction22(signPsbtOptions);
|
|
2912
3960
|
if (broadcast) {
|
|
2913
|
-
const signed =
|
|
3961
|
+
const signed = bitcoin25.Psbt.fromBase64(String(signedPsbtBase64));
|
|
2914
3962
|
const finalized = signed.finalizeAllInputs();
|
|
2915
3963
|
const extracted = finalized.extractTransaction();
|
|
2916
3964
|
const txId2 = yield pushPsbt(extracted.toHex());
|
|
@@ -2930,7 +3978,7 @@ var LaserEyesProvider = ({
|
|
|
2930
3978
|
const signedPsbt = yield library == null ? void 0 : library.signPsbt(psbtHex, {
|
|
2931
3979
|
autoFinalized: finalize
|
|
2932
3980
|
});
|
|
2933
|
-
const psbtSignedPsbt =
|
|
3981
|
+
const psbtSignedPsbt = bitcoin25.Psbt.fromHex(signedPsbt);
|
|
2934
3982
|
if (finalize && broadcast) {
|
|
2935
3983
|
const txId = yield pushPsbt(signedPsbt);
|
|
2936
3984
|
return {
|
|
@@ -2956,7 +4004,7 @@ var LaserEyesProvider = ({
|
|
|
2956
4004
|
);
|
|
2957
4005
|
const leatherHexResult = response.result;
|
|
2958
4006
|
const signedTx = leatherHexResult.hex;
|
|
2959
|
-
const signed =
|
|
4007
|
+
const signed = bitcoin25.Psbt.fromHex(String(signedTx));
|
|
2960
4008
|
if (finalize && broadcast) {
|
|
2961
4009
|
const finalized = signed.finalizeAllInputs();
|
|
2962
4010
|
const txId = yield pushPsbt(finalized.toHex());
|
|
@@ -2984,7 +4032,7 @@ var LaserEyesProvider = ({
|
|
|
2984
4032
|
autoFinalized: finalize,
|
|
2985
4033
|
broadcast: false
|
|
2986
4034
|
});
|
|
2987
|
-
const psbtSignedPsbt =
|
|
4035
|
+
const psbtSignedPsbt = bitcoin25.Psbt.fromHex(signedPsbt);
|
|
2988
4036
|
if (finalize && broadcast) {
|
|
2989
4037
|
const txId = yield pushPsbt(signedPsbt);
|
|
2990
4038
|
return {
|
|
@@ -3016,11 +4064,11 @@ var LaserEyesProvider = ({
|
|
|
3016
4064
|
} else if (provider === OKX) {
|
|
3017
4065
|
return yield library == null ? void 0 : library.pushPsbt(psbt);
|
|
3018
4066
|
} else if (provider === MAGIC_EDEN) {
|
|
3019
|
-
return yield
|
|
4067
|
+
return yield axios45.post(`${getMempoolSpaceUrl3(network)}/api/tx`, psbt).then((res) => res.data);
|
|
3020
4068
|
} else if (provider === LEATHER) {
|
|
3021
|
-
const decoded =
|
|
4069
|
+
const decoded = bitcoin25.Psbt.fromHex(psbt);
|
|
3022
4070
|
const extracted = decoded.extractTransaction();
|
|
3023
|
-
return yield
|
|
4071
|
+
return yield axios45.post(`${getMempoolSpaceUrl3(network)}/api/tx`, extracted.toHex()).then((res) => res.data);
|
|
3024
4072
|
} else if (provider === WIZZ) {
|
|
3025
4073
|
return yield library == null ? void 0 : library.pushPsbt(psbt);
|
|
3026
4074
|
} else {
|
|
@@ -3030,8 +4078,8 @@ var LaserEyesProvider = ({
|
|
|
3030
4078
|
throw error;
|
|
3031
4079
|
}
|
|
3032
4080
|
});
|
|
3033
|
-
return /* @__PURE__ */
|
|
3034
|
-
|
|
4081
|
+
return /* @__PURE__ */ jsx58(
|
|
4082
|
+
LaserEyesContext22.Provider,
|
|
3035
4083
|
{
|
|
3036
4084
|
value: {
|
|
3037
4085
|
library,
|
|
@@ -3074,36 +4122,36 @@ var LaserEyesProvider = ({
|
|
|
3074
4122
|
};
|
|
3075
4123
|
|
|
3076
4124
|
// src/hooks/useInscriber.ts
|
|
3077
|
-
import { useCallback as
|
|
4125
|
+
import { useCallback as useCallback44, useEffect as useEffect44, useState as useState44 } from "react";
|
|
3078
4126
|
|
|
3079
4127
|
// src/consts/inscribe.ts
|
|
3080
4128
|
var MIME_TYPE_TEXT = "text/plain;charset=utf-8";
|
|
3081
4129
|
|
|
3082
4130
|
// src/hooks/useInscriber.ts
|
|
3083
|
-
import
|
|
4131
|
+
import axios46 from "axios";
|
|
3084
4132
|
var DESCRIBE_API_URL = "http://localhost:3000/api";
|
|
3085
4133
|
var useInscriber = ({
|
|
3086
4134
|
inscribeApiUrl = DESCRIBE_API_URL
|
|
3087
4135
|
}) => {
|
|
3088
4136
|
const { address: address3, paymentAddress, paymentPublicKey, publicKey, signPsbt } = useLaserEyes();
|
|
3089
|
-
const [content, setContent] =
|
|
3090
|
-
const [mimeType, setMimeType] =
|
|
3091
|
-
const [commitPsbtHex, setCommitPsbtHex] =
|
|
3092
|
-
const [commitPsbtBase64, setCommitPsbtBase64] =
|
|
3093
|
-
const [commitTxId, setCommitTxId] =
|
|
3094
|
-
const [feeRate, setFeeRate] =
|
|
3095
|
-
const [totalFees, setTotalFees] =
|
|
3096
|
-
const [inscriberAddress, setInscriberAddress] =
|
|
3097
|
-
const [inscriptionTxId, setInscriptionTxId] =
|
|
3098
|
-
const [previewUrl, setPreviewUrl] =
|
|
3099
|
-
const [isFetchingCommitPsbt, setIsFetchingCommitPsbt] =
|
|
3100
|
-
const [isInscribing, setIsInscribing] =
|
|
3101
|
-
|
|
4137
|
+
const [content, setContent] = useState44("");
|
|
4138
|
+
const [mimeType, setMimeType] = useState44(MIME_TYPE_TEXT);
|
|
4139
|
+
const [commitPsbtHex, setCommitPsbtHex] = useState44("");
|
|
4140
|
+
const [commitPsbtBase64, setCommitPsbtBase64] = useState44("");
|
|
4141
|
+
const [commitTxId, setCommitTxId] = useState44("");
|
|
4142
|
+
const [feeRate, setFeeRate] = useState44(10);
|
|
4143
|
+
const [totalFees, setTotalFees] = useState44(0);
|
|
4144
|
+
const [inscriberAddress, setInscriberAddress] = useState44("");
|
|
4145
|
+
const [inscriptionTxId, setInscriptionTxId] = useState44("");
|
|
4146
|
+
const [previewUrl, setPreviewUrl] = useState44("");
|
|
4147
|
+
const [isFetchingCommitPsbt, setIsFetchingCommitPsbt] = useState44(false);
|
|
4148
|
+
const [isInscribing, setIsInscribing] = useState44(false);
|
|
4149
|
+
useEffect44(() => {
|
|
3102
4150
|
setCommitPsbtHex("");
|
|
3103
4151
|
setCommitPsbtBase64("");
|
|
3104
4152
|
setCommitTxId("");
|
|
3105
4153
|
}, [content, address3, mimeType, feeRate]);
|
|
3106
|
-
const getCommitPsbt =
|
|
4154
|
+
const getCommitPsbt = useCallback44(() => __async(void 0, null, function* () {
|
|
3107
4155
|
try {
|
|
3108
4156
|
if (!content)
|
|
3109
4157
|
throw new Error("missing content");
|
|
@@ -3116,7 +4164,7 @@ var useInscriber = ({
|
|
|
3116
4164
|
if (!mimeType)
|
|
3117
4165
|
throw new Error("missing mimeType");
|
|
3118
4166
|
setIsFetchingCommitPsbt(true);
|
|
3119
|
-
return yield
|
|
4167
|
+
return yield axios46.post(`${inscribeApiUrl}/create-inscription`, {
|
|
3120
4168
|
content,
|
|
3121
4169
|
paymentAddress,
|
|
3122
4170
|
paymentPublicKey,
|
|
@@ -3150,7 +4198,7 @@ var useInscriber = ({
|
|
|
3150
4198
|
throw e;
|
|
3151
4199
|
}
|
|
3152
4200
|
});
|
|
3153
|
-
const inscribe =
|
|
4201
|
+
const inscribe = useCallback44(
|
|
3154
4202
|
(_0) => __async(void 0, [_0], function* ({
|
|
3155
4203
|
content: providedContent,
|
|
3156
4204
|
mimeType: providedMimeType,
|
|
@@ -3179,7 +4227,7 @@ var useInscriber = ({
|
|
|
3179
4227
|
yield delay(1e4);
|
|
3180
4228
|
if (!inscribeCommitTxId)
|
|
3181
4229
|
throw new Error("missing commitTxId");
|
|
3182
|
-
return yield
|
|
4230
|
+
return yield axios46.post(`${inscribeApiUrl}/inscribe`, {
|
|
3183
4231
|
content,
|
|
3184
4232
|
mimeType,
|
|
3185
4233
|
ordinalAddress: address3,
|
|
@@ -3232,22 +4280,627 @@ var useInscriber = ({
|
|
|
3232
4280
|
reset
|
|
3233
4281
|
};
|
|
3234
4282
|
};
|
|
4283
|
+
|
|
4284
|
+
// src/icons/oyl.tsx
|
|
4285
|
+
import { jsx as jsx59, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
4286
|
+
var OylLogo = (_a) => {
|
|
4287
|
+
var _b = _a, {
|
|
4288
|
+
size = 42,
|
|
4289
|
+
variant = "first",
|
|
4290
|
+
className
|
|
4291
|
+
} = _b, props = __objRest(_b, [
|
|
4292
|
+
"size",
|
|
4293
|
+
"variant",
|
|
4294
|
+
"className"
|
|
4295
|
+
]);
|
|
4296
|
+
if (variant === "first") {
|
|
4297
|
+
return /* @__PURE__ */ jsxs33(
|
|
4298
|
+
"svg",
|
|
4299
|
+
__spreadProps(__spreadValues({
|
|
4300
|
+
className,
|
|
4301
|
+
width: size,
|
|
4302
|
+
height: size,
|
|
4303
|
+
viewBox: "0 0 42 42",
|
|
4304
|
+
fill: "none",
|
|
4305
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
4306
|
+
}, props), {
|
|
4307
|
+
children: [
|
|
4308
|
+
/* @__PURE__ */ jsx59(
|
|
4309
|
+
"rect",
|
|
4310
|
+
{
|
|
4311
|
+
width: "42",
|
|
4312
|
+
height: "42",
|
|
4313
|
+
rx: "10",
|
|
4314
|
+
fill: "#090A0C",
|
|
4315
|
+
style: { fill: "#090A0C", fillOpacity: 1 }
|
|
4316
|
+
}
|
|
4317
|
+
),
|
|
4318
|
+
/* @__PURE__ */ jsx59(
|
|
4319
|
+
"path",
|
|
4320
|
+
{
|
|
4321
|
+
d: "M21 14C29.222 14 38 15.9676 38 20.9054C38 25.8622 29.222 28 21 28C12.778 28 4 26.0324 4 21.0946C4 16.1378 12.778 14 21 14ZM21.0397 25.3135C24.6939 25.3135 30.1752 24.3297 30.1752 21C30.1752 17.6703 24.6939 16.6865 21.0397 16.6865H20.9603C17.3061 16.6865 11.8248 17.6703 11.8248 21C11.8248 24.3297 17.3061 25.3135 20.9603 25.3135H21.0397Z",
|
|
4322
|
+
fill: "white",
|
|
4323
|
+
style: { fill: "white", fillOpacity: 1 }
|
|
4324
|
+
}
|
|
4325
|
+
)
|
|
4326
|
+
]
|
|
4327
|
+
})
|
|
4328
|
+
);
|
|
4329
|
+
}
|
|
4330
|
+
return /* @__PURE__ */ jsxs33(
|
|
4331
|
+
"svg",
|
|
4332
|
+
__spreadProps(__spreadValues({
|
|
4333
|
+
className,
|
|
4334
|
+
width: size,
|
|
4335
|
+
height: size,
|
|
4336
|
+
viewBox: "0 0 42 42",
|
|
4337
|
+
fill: "none",
|
|
4338
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
4339
|
+
}, props), {
|
|
4340
|
+
children: [
|
|
4341
|
+
/* @__PURE__ */ jsx59(
|
|
4342
|
+
"rect",
|
|
4343
|
+
{
|
|
4344
|
+
width: "42",
|
|
4345
|
+
height: "42",
|
|
4346
|
+
rx: "10",
|
|
4347
|
+
fill: "white",
|
|
4348
|
+
style: { fill: "white", fillOpacity: 1 }
|
|
4349
|
+
}
|
|
4350
|
+
),
|
|
4351
|
+
/* @__PURE__ */ jsx59(
|
|
4352
|
+
"path",
|
|
4353
|
+
{
|
|
4354
|
+
d: "M21 14C29.222 14 38 15.9676 38 20.9054C38 25.8622 29.222 28 21 28C12.778 28 4 26.0324 4 21.0946C4 16.1378 12.778 14 21 14ZM21.0397 25.3135C24.6939 25.3135 30.1752 24.3297 30.1752 21C30.1752 17.6703 24.6939 16.6865 21.0397 16.6865H20.9603C17.3061 16.6865 11.8248 17.6703 11.8248 21C11.8248 24.3297 17.3061 25.3135 20.9603 25.3135H21.0397Z",
|
|
4355
|
+
fill: "#090A0C",
|
|
4356
|
+
style: { fill: "#090A0C", fillOpacity: 1 }
|
|
4357
|
+
}
|
|
4358
|
+
)
|
|
4359
|
+
]
|
|
4360
|
+
})
|
|
4361
|
+
);
|
|
4362
|
+
};
|
|
4363
|
+
|
|
4364
|
+
// src/icons/leather.tsx
|
|
4365
|
+
import { jsx as jsx60, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
4366
|
+
var LeatherLogo = (_a) => {
|
|
4367
|
+
var _b = _a, {
|
|
4368
|
+
size = 42,
|
|
4369
|
+
variant = "first",
|
|
4370
|
+
className
|
|
4371
|
+
} = _b, props = __objRest(_b, [
|
|
4372
|
+
"size",
|
|
4373
|
+
"variant",
|
|
4374
|
+
"className"
|
|
4375
|
+
]);
|
|
4376
|
+
if (variant === "first") {
|
|
4377
|
+
return /* @__PURE__ */ jsxs34(
|
|
4378
|
+
"svg",
|
|
4379
|
+
__spreadProps(__spreadValues({
|
|
4380
|
+
className,
|
|
4381
|
+
width: size,
|
|
4382
|
+
height: size,
|
|
4383
|
+
viewBox: "0 0 128 128",
|
|
4384
|
+
fill: "none",
|
|
4385
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
4386
|
+
}, props), {
|
|
4387
|
+
children: [
|
|
4388
|
+
/* @__PURE__ */ jsx60("rect", { width: "128", height: "128", rx: "26.8387", fill: "#12100F" }),
|
|
4389
|
+
/* @__PURE__ */ jsx60(
|
|
4390
|
+
"path",
|
|
4391
|
+
{
|
|
4392
|
+
d: "M74.9171 52.7114C82.4766 51.5408 93.4087 43.5804 93.4087 37.3761C93.4087 35.5031 91.8968 34.2154 89.6871 34.2154C85.5004 34.2154 78.4061 40.5368 74.9171 52.7114ZM39.911 83.4991C30.0256 83.4991 29.2115 93.3324 39.0969 93.3324C43.5163 93.3324 48.8661 91.5764 51.6573 88.4157C47.5868 84.9038 44.2141 83.4991 39.911 83.4991ZM102.829 79.2848C103.41 95.7907 95.0369 105.039 80.8484 105.039C72.4748 105.039 68.2881 101.878 59.333 96.0249C54.681 101.176 45.8423 105.039 38.5154 105.039C13.2785 105.039 14.3252 72.8463 40.0273 72.8463C45.3771 72.8463 49.9128 74.2511 55.7277 77.88L59.5656 64.4177C43.7489 60.0864 35.8405 47.9118 43.6326 30.4693H56.1929C49.215 42.0586 53.9832 51.6578 62.822 52.7114C67.5903 35.7372 77.8246 22.509 91.4316 22.509C99.1074 22.509 105.155 27.5428 105.155 36.6737C105.155 51.3066 86.0819 63.2471 71.6607 64.4177L65.7295 85.3721C72.4748 93.2153 91.199 100.824 91.199 79.2848H102.829Z",
|
|
4393
|
+
fill: "#F5F1ED"
|
|
4394
|
+
}
|
|
4395
|
+
)
|
|
4396
|
+
]
|
|
4397
|
+
})
|
|
4398
|
+
);
|
|
4399
|
+
}
|
|
4400
|
+
return /* @__PURE__ */ jsxs34(
|
|
4401
|
+
"svg",
|
|
4402
|
+
__spreadProps(__spreadValues({
|
|
4403
|
+
className,
|
|
4404
|
+
width: size,
|
|
4405
|
+
height: size,
|
|
4406
|
+
viewBox: "0 0 128 128",
|
|
4407
|
+
fill: "none",
|
|
4408
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
4409
|
+
}, props), {
|
|
4410
|
+
children: [
|
|
4411
|
+
/* @__PURE__ */ jsx60("rect", { width: "128", height: "128", rx: "26.8387", fill: "#F5F1ED" }),
|
|
4412
|
+
/* @__PURE__ */ jsx60(
|
|
4413
|
+
"path",
|
|
4414
|
+
{
|
|
4415
|
+
d: "M74.9171 52.7115C82.4766 51.5409 93.4087 43.5806 93.4087 37.3762C93.4087 35.5032 91.8968 34.2155 89.6871 34.2155C85.5004 34.2155 78.4061 40.5369 74.9171 52.7115ZM39.911 83.4992C30.0256 83.4992 29.2115 93.3325 39.0969 93.3325C43.5163 93.3325 48.8661 91.5766 51.6573 88.4159C47.5868 84.904 44.2141 83.4992 39.911 83.4992ZM102.829 79.2849C103.41 95.7908 95.0369 105.039 80.8484 105.039C72.4748 105.039 68.2881 101.878 59.333 96.025C54.681 101.176 45.8423 105.039 38.5154 105.039C13.2785 105.039 14.3252 72.8464 40.0273 72.8464C45.3771 72.8464 49.9128 74.2512 55.7277 77.8801L59.5656 64.4179C43.7489 60.0865 35.8405 47.9119 43.6326 30.4695H56.1929C49.215 42.0587 53.9832 51.6579 62.822 52.7115C67.5903 35.7373 77.8246 22.5092 91.4316 22.5092C99.1074 22.5092 105.155 27.5429 105.155 36.6738C105.155 51.3068 86.0819 63.2472 71.6607 64.4179L65.7295 85.3722C72.4748 93.2155 91.199 100.825 91.199 79.2849H102.829Z",
|
|
4416
|
+
fill: "#12100F"
|
|
4417
|
+
}
|
|
4418
|
+
)
|
|
4419
|
+
]
|
|
4420
|
+
})
|
|
4421
|
+
);
|
|
4422
|
+
};
|
|
4423
|
+
|
|
4424
|
+
// src/icons/phantom.tsx
|
|
4425
|
+
import { jsx as jsx61, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
4426
|
+
var PhantomLogo = (_a) => {
|
|
4427
|
+
var _b = _a, {
|
|
4428
|
+
size = 42,
|
|
4429
|
+
variant = "first",
|
|
4430
|
+
className
|
|
4431
|
+
} = _b, props = __objRest(_b, [
|
|
4432
|
+
"size",
|
|
4433
|
+
"variant",
|
|
4434
|
+
"className"
|
|
4435
|
+
]);
|
|
4436
|
+
if (variant === "first") {
|
|
4437
|
+
return /* @__PURE__ */ jsxs35(
|
|
4438
|
+
"svg",
|
|
4439
|
+
__spreadProps(__spreadValues({
|
|
4440
|
+
className,
|
|
4441
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4442
|
+
width: size,
|
|
4443
|
+
height: size,
|
|
4444
|
+
viewBox: "0 0 42 42",
|
|
4445
|
+
fill: "none"
|
|
4446
|
+
}, props), {
|
|
4447
|
+
children: [
|
|
4448
|
+
/* @__PURE__ */ jsxs35("g", { clipPath: "url(#a)", children: [
|
|
4449
|
+
/* @__PURE__ */ jsx61(
|
|
4450
|
+
"path",
|
|
4451
|
+
{
|
|
4452
|
+
fill: "#AB9FF2",
|
|
4453
|
+
d: "M32 0H10C4.477 0 0 4.477 0 10v22c0 5.523 4.477 10 10 10h22c5.523 0 10-4.477 10-10V10c0-5.523-4.477-10-10-10Z"
|
|
4454
|
+
}
|
|
4455
|
+
),
|
|
4456
|
+
/* @__PURE__ */ jsx61(
|
|
4457
|
+
"path",
|
|
4458
|
+
{
|
|
4459
|
+
fill: "#FFFDF8",
|
|
4460
|
+
fillRule: "evenodd",
|
|
4461
|
+
d: "M17.686 27.567c-1.676 2.569-4.484 5.819-8.22 5.819-1.767 0-3.466-.728-3.466-3.887C6 21.454 16.984 9 27.176 9c5.798 0 8.108 4.023 8.108 8.59 0 5.864-3.805 12.568-7.587 12.568-1.2 0-1.79-.659-1.79-1.704 0-.273.046-.568.137-.887-1.291 2.205-3.783 4.25-6.116 4.25-1.698 0-2.559-1.068-2.559-2.568 0-.545.114-1.113.317-1.681Zm8.78-10.135c0 1.331-.786 1.997-1.664 1.997-.892 0-1.664-.666-1.664-1.997s.772-1.996 1.664-1.996c.878 0 1.663.665 1.663 1.996Zm4.99 0c0 1.331-.785 1.997-1.663 1.997-.892 0-1.664-.666-1.664-1.997 0-1.33.772-1.996 1.664-1.996.878 0 1.664.665 1.664 1.996Z",
|
|
4462
|
+
clipRule: "evenodd"
|
|
4463
|
+
}
|
|
4464
|
+
)
|
|
4465
|
+
] }),
|
|
4466
|
+
/* @__PURE__ */ jsx61("defs", { children: /* @__PURE__ */ jsx61("clipPath", { id: "a", children: /* @__PURE__ */ jsx61("path", { fill: "#fff", d: "M0 0h42v42H0z" }) }) })
|
|
4467
|
+
]
|
|
4468
|
+
})
|
|
4469
|
+
);
|
|
4470
|
+
}
|
|
4471
|
+
return /* @__PURE__ */ jsxs35(
|
|
4472
|
+
"svg",
|
|
4473
|
+
__spreadProps(__spreadValues({
|
|
4474
|
+
className,
|
|
4475
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4476
|
+
width: size,
|
|
4477
|
+
height: size,
|
|
4478
|
+
viewBox: "0 0 42 42",
|
|
4479
|
+
fill: "none"
|
|
4480
|
+
}, props), {
|
|
4481
|
+
children: [
|
|
4482
|
+
/* @__PURE__ */ jsxs35("g", { clipPath: "url(#a)", children: [
|
|
4483
|
+
/* @__PURE__ */ jsx61(
|
|
4484
|
+
"path",
|
|
4485
|
+
{
|
|
4486
|
+
fill: "#FFFDF8",
|
|
4487
|
+
d: "M32 0H10C4.477 0 0 4.477 0 10v22c0 5.523 4.477 10 10 10h22c5.523 0 10-4.477 10-10V10c0-5.523-4.477-10-10-10Z"
|
|
4488
|
+
}
|
|
4489
|
+
),
|
|
4490
|
+
/* @__PURE__ */ jsx61(
|
|
4491
|
+
"path",
|
|
4492
|
+
{
|
|
4493
|
+
fill: "#AB9FF2",
|
|
4494
|
+
fillRule: "evenodd",
|
|
4495
|
+
d: "M17.686 27.567c-1.676 2.569-4.484 5.819-8.22 5.819-1.767 0-3.466-.728-3.466-3.887C6 21.454 16.984 9 27.176 9c5.798 0 8.108 4.023 8.108 8.59 0 5.864-3.805 12.568-7.587 12.568-1.2 0-1.79-.659-1.79-1.704 0-.273.046-.568.137-.887-1.291 2.205-3.783 4.25-6.116 4.25-1.698 0-2.559-1.068-2.559-2.568 0-.545.114-1.113.317-1.681Zm8.78-10.135c0 1.331-.786 1.997-1.664 1.997-.892 0-1.664-.666-1.664-1.997s.772-1.996 1.664-1.996c.878 0 1.663.665 1.663 1.996Zm4.99 0c0 1.331-.785 1.997-1.663 1.997-.892 0-1.664-.666-1.664-1.997 0-1.33.772-1.996 1.664-1.996.878 0 1.664.665 1.664 1.996Z",
|
|
4496
|
+
clipRule: "evenodd"
|
|
4497
|
+
}
|
|
4498
|
+
)
|
|
4499
|
+
] }),
|
|
4500
|
+
/* @__PURE__ */ jsx61("defs", { children: /* @__PURE__ */ jsx61("clipPath", { id: "a", children: /* @__PURE__ */ jsx61("path", { fill: "#fff", d: "M0 0h42v42H0z" }) }) })
|
|
4501
|
+
]
|
|
4502
|
+
})
|
|
4503
|
+
);
|
|
4504
|
+
};
|
|
4505
|
+
|
|
4506
|
+
// src/icons/xverse.tsx
|
|
4507
|
+
import { jsx as jsx62, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
4508
|
+
var XverseLogo = (_a) => {
|
|
4509
|
+
var _b = _a, {
|
|
4510
|
+
size = 42,
|
|
4511
|
+
variant = "first",
|
|
4512
|
+
className
|
|
4513
|
+
} = _b, props = __objRest(_b, [
|
|
4514
|
+
"size",
|
|
4515
|
+
"variant",
|
|
4516
|
+
"className"
|
|
4517
|
+
]);
|
|
4518
|
+
return /* @__PURE__ */ jsxs36(
|
|
4519
|
+
"svg",
|
|
4520
|
+
__spreadProps(__spreadValues({
|
|
4521
|
+
className,
|
|
4522
|
+
width: size,
|
|
4523
|
+
height: size,
|
|
4524
|
+
viewBox: "0 0 42 42",
|
|
4525
|
+
fill: "none",
|
|
4526
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
4527
|
+
}, props), {
|
|
4528
|
+
children: [
|
|
4529
|
+
/* @__PURE__ */ jsxs36("g", { clipPath: "url(#clip0_3_53)", children: [
|
|
4530
|
+
/* @__PURE__ */ jsx62(
|
|
4531
|
+
"path",
|
|
4532
|
+
{
|
|
4533
|
+
d: "M32 0H10C4.47715 0 0 4.47715 0 10V32C0 37.5228 4.47715 42 10 42H32C37.5228 42 42 37.5228 42 32V10C42 4.47715 37.5228 0 32 0Z",
|
|
4534
|
+
fill: "#181818"
|
|
4535
|
+
}
|
|
4536
|
+
),
|
|
4537
|
+
/* @__PURE__ */ jsx62(
|
|
4538
|
+
"path",
|
|
4539
|
+
{
|
|
4540
|
+
d: "M32 31.6745V27.6829C32 27.5233 31.9203 27.3636 31.8406 27.2438L14.8225 10.1597C14.7029 10.0399 14.5435 10 14.3841 10H10.3986C10.1993 10 10.0399 10.1597 10.0399 10.3592V14.0715C10.0399 14.2311 10.1196 14.3908 10.1993 14.5105L16.2971 20.6177C16.4565 20.7774 16.4565 20.977 16.2971 21.1366L10.1196 27.3237C10.0399 27.4035 10 27.4834 10 27.5632V31.6346C10 31.8342 10.1594 31.9939 10.3587 31.9939H17.0544C17.2536 31.9939 17.413 31.8342 17.413 31.6346V29.2396C17.413 29.1598 17.4529 29.0401 17.5326 29.0002L20.8406 25.6871C21 25.5275 21.1993 25.5275 21.3587 25.6871L27.4964 31.8342C27.6159 31.954 27.7753 31.9939 27.9348 31.9939H31.6413C31.8406 32.0337 32 31.8741 32 31.6745Z",
|
|
4541
|
+
fill: "white"
|
|
4542
|
+
}
|
|
4543
|
+
),
|
|
4544
|
+
/* @__PURE__ */ jsx62(
|
|
4545
|
+
"path",
|
|
4546
|
+
{
|
|
4547
|
+
d: "M23.3406 15.0793H26.5592C26.7507 15.0793 26.9039 15.2333 26.9039 15.4257V18.658C26.9039 18.9658 27.2871 19.1197 27.4788 18.8888L31.8851 14.4637C31.9617 14.3867 32 14.3097 32 14.2328V10.3463C32 10.1539 31.8468 10 31.6552 10H27.7469C27.6703 10 27.5554 10.0385 27.5171 10.1154L23.1107 14.5021C22.8808 14.6945 23.0341 15.0793 23.3406 15.0793Z",
|
|
4548
|
+
fill: "#EE7A30"
|
|
4549
|
+
}
|
|
4550
|
+
)
|
|
4551
|
+
] }),
|
|
4552
|
+
/* @__PURE__ */ jsx62("defs", { children: /* @__PURE__ */ jsx62("clipPath", { id: "clip0_3_53", children: /* @__PURE__ */ jsx62("rect", { width: "42", height: "42", fill: "white" }) }) })
|
|
4553
|
+
]
|
|
4554
|
+
})
|
|
4555
|
+
);
|
|
4556
|
+
};
|
|
4557
|
+
|
|
4558
|
+
// src/icons/unisat.tsx
|
|
4559
|
+
import { jsx as jsx63, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
4560
|
+
var UnisatLogo = (_a) => {
|
|
4561
|
+
var _b = _a, {
|
|
4562
|
+
size = 42,
|
|
4563
|
+
variant = "first",
|
|
4564
|
+
className
|
|
4565
|
+
} = _b, props = __objRest(_b, [
|
|
4566
|
+
"size",
|
|
4567
|
+
"variant",
|
|
4568
|
+
"className"
|
|
4569
|
+
]);
|
|
4570
|
+
return /* @__PURE__ */ jsxs37(
|
|
4571
|
+
"svg",
|
|
4572
|
+
__spreadProps(__spreadValues({
|
|
4573
|
+
className,
|
|
4574
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4575
|
+
width: size,
|
|
4576
|
+
height: size,
|
|
4577
|
+
viewBox: "0 0 42 42",
|
|
4578
|
+
fill: "none"
|
|
4579
|
+
}, props), {
|
|
4580
|
+
children: [
|
|
4581
|
+
/* @__PURE__ */ jsxs37("g", { clipPath: "url(#a)", children: [
|
|
4582
|
+
/* @__PURE__ */ jsx63(
|
|
4583
|
+
"path",
|
|
4584
|
+
{
|
|
4585
|
+
fill: "#000",
|
|
4586
|
+
d: "M32 0H10C4.477 0 0 4.477 0 10v22c0 5.523 4.477 10 10 10h22c5.523 0 10-4.477 10-10V10c0-5.523-4.477-10-10-10Z"
|
|
4587
|
+
}
|
|
4588
|
+
),
|
|
4589
|
+
/* @__PURE__ */ jsx63(
|
|
4590
|
+
"path",
|
|
4591
|
+
{
|
|
4592
|
+
fill: "url(#b)",
|
|
4593
|
+
d: "m25.517 9.483 5.759 5.611c.49.477.731.959.724 1.445-.008.486-.219.929-.631 1.33-.431.421-.897.634-1.395.644-.497.007-.992-.228-1.482-.705l-5.89-5.738c-.669-.652-1.315-1.114-1.936-1.385a2.873 2.873 0 0 0-1.96-.127c-.685.185-1.42.662-2.21 1.428-1.086 1.06-1.605 2.054-1.552 2.983.053.929.593 1.893 1.617 2.89l5.938 5.786c.496.482.74.964.732 1.443-.008.48-.22.923-.64 1.332-.419.408-.88.62-1.382.638-.502.016-1.001-.217-1.495-.7l-5.76-5.61c-.936-.912-1.613-1.776-2.029-2.59-.416-.815-.572-1.737-.464-2.765.097-.88.384-1.732.863-2.558.477-.827 1.161-1.671 2.048-2.537C15.43 9.268 16.438 8.48 17.4 7.93c.96-.55 1.889-.854 2.786-.917.899-.064 1.784.112 2.66.527.876.415 1.765 1.061 2.67 1.943h.002Z"
|
|
4594
|
+
}
|
|
4595
|
+
),
|
|
4596
|
+
/* @__PURE__ */ jsx63(
|
|
4597
|
+
"path",
|
|
4598
|
+
{
|
|
4599
|
+
fill: "url(#c)",
|
|
4600
|
+
d: "m16.482 32.123-5.758-5.611c-.49-.479-.731-.959-.724-1.445.008-.486.219-.929.631-1.33.431-.421.897-.634 1.395-.644.498-.007.992.227 1.482.705l5.888 5.738c.671.652 1.315 1.114 1.936 1.385.622.27 1.276.312 1.962.127.685-.185 1.42-.662 2.21-1.43 1.086-1.06 1.605-2.054 1.552-2.983-.053-.929-.593-1.893-1.617-2.891l-3.164-3.056c-.496-.482-.74-.964-.732-1.443.008-.48.22-.923.64-1.332.419-.408.88-.62 1.382-.638.502-.016 1.002.217 1.496.7l2.983 2.88c.936.912 1.613 1.775 2.03 2.59.415.815.571 1.736.463 2.764a6.477 6.477 0 0 1-.863 2.559c-.477.826-1.16 1.67-2.048 2.536-1.057 1.03-2.066 1.819-3.027 2.368-.962.55-1.89.856-2.79.92-.898.063-1.784-.113-2.66-.527-.876-.415-1.765-1.062-2.67-1.944l.003.002Z"
|
|
4601
|
+
}
|
|
4602
|
+
),
|
|
4603
|
+
/* @__PURE__ */ jsx63(
|
|
4604
|
+
"path",
|
|
4605
|
+
{
|
|
4606
|
+
fill: "url(#d)",
|
|
4607
|
+
d: "M20.073 17.645c1.168 0 2.115-.93 2.115-2.08 0-1.149-.947-2.08-2.115-2.08-1.168 0-2.115.931-2.115 2.08 0 1.15.947 2.08 2.115 2.08Z"
|
|
4608
|
+
}
|
|
4609
|
+
)
|
|
4610
|
+
] }),
|
|
4611
|
+
/* @__PURE__ */ jsxs37("defs", { children: [
|
|
4612
|
+
/* @__PURE__ */ jsxs37(
|
|
4613
|
+
"linearGradient",
|
|
4614
|
+
{
|
|
4615
|
+
id: "b",
|
|
4616
|
+
x1: 30.329,
|
|
4617
|
+
x2: 12.579,
|
|
4618
|
+
y1: 12.752,
|
|
4619
|
+
y2: 20.772,
|
|
4620
|
+
gradientUnits: "userSpaceOnUse",
|
|
4621
|
+
children: [
|
|
4622
|
+
/* @__PURE__ */ jsx63("stop", { stopColor: "#201C1B" }),
|
|
4623
|
+
/* @__PURE__ */ jsx63("stop", { offset: 0.36, stopColor: "#77390D" }),
|
|
4624
|
+
/* @__PURE__ */ jsx63("stop", { offset: 0.67, stopColor: "#EA8101" }),
|
|
4625
|
+
/* @__PURE__ */ jsx63("stop", { offset: 1, stopColor: "#F4B852" })
|
|
4626
|
+
]
|
|
4627
|
+
}
|
|
4628
|
+
),
|
|
4629
|
+
/* @__PURE__ */ jsxs37(
|
|
4630
|
+
"linearGradient",
|
|
4631
|
+
{
|
|
4632
|
+
id: "c",
|
|
4633
|
+
x1: 12.163,
|
|
4634
|
+
x2: 32.789,
|
|
4635
|
+
y1: 29.085,
|
|
4636
|
+
y2: 22.844,
|
|
4637
|
+
gradientUnits: "userSpaceOnUse",
|
|
4638
|
+
children: [
|
|
4639
|
+
/* @__PURE__ */ jsx63("stop", { stopColor: "#1F1D1C" }),
|
|
4640
|
+
/* @__PURE__ */ jsx63("stop", { offset: 0.37, stopColor: "#77390D" }),
|
|
4641
|
+
/* @__PURE__ */ jsx63("stop", { offset: 0.67, stopColor: "#EA8101" }),
|
|
4642
|
+
/* @__PURE__ */ jsx63("stop", { offset: 1, stopColor: "#F4FB52" })
|
|
4643
|
+
]
|
|
4644
|
+
}
|
|
4645
|
+
),
|
|
4646
|
+
/* @__PURE__ */ jsxs37(
|
|
4647
|
+
"radialGradient",
|
|
4648
|
+
{
|
|
4649
|
+
id: "d",
|
|
4650
|
+
cx: 0,
|
|
4651
|
+
cy: 0,
|
|
4652
|
+
r: 1,
|
|
4653
|
+
gradientTransform: "matrix(2.11484 0 0 2.08019 20.073 15.567)",
|
|
4654
|
+
gradientUnits: "userSpaceOnUse",
|
|
4655
|
+
children: [
|
|
4656
|
+
/* @__PURE__ */ jsx63("stop", { stopColor: "#F4B852" }),
|
|
4657
|
+
/* @__PURE__ */ jsx63("stop", { offset: 0.33, stopColor: "#EA8101" }),
|
|
4658
|
+
/* @__PURE__ */ jsx63("stop", { offset: 0.64, stopColor: "#77390D" }),
|
|
4659
|
+
/* @__PURE__ */ jsx63("stop", { offset: 1, stopColor: "#211C1D" })
|
|
4660
|
+
]
|
|
4661
|
+
}
|
|
4662
|
+
),
|
|
4663
|
+
/* @__PURE__ */ jsx63("clipPath", { id: "a", children: /* @__PURE__ */ jsx63("path", { fill: "#fff", d: "M0 0h42v42H0z" }) })
|
|
4664
|
+
] })
|
|
4665
|
+
]
|
|
4666
|
+
})
|
|
4667
|
+
);
|
|
4668
|
+
};
|
|
4669
|
+
|
|
4670
|
+
// src/icons/wizz.tsx
|
|
4671
|
+
import { jsx as jsx64, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
4672
|
+
var WizzLogo = (_a) => {
|
|
4673
|
+
var _b = _a, {
|
|
4674
|
+
size = 42,
|
|
4675
|
+
variant = "first",
|
|
4676
|
+
className
|
|
4677
|
+
} = _b, props = __objRest(_b, [
|
|
4678
|
+
"size",
|
|
4679
|
+
"variant",
|
|
4680
|
+
"className"
|
|
4681
|
+
]);
|
|
4682
|
+
return /* @__PURE__ */ jsxs38(
|
|
4683
|
+
"svg",
|
|
4684
|
+
__spreadProps(__spreadValues({
|
|
4685
|
+
className,
|
|
4686
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4687
|
+
width: size,
|
|
4688
|
+
height: size,
|
|
4689
|
+
viewBox: "0 0 42 42",
|
|
4690
|
+
fill: "none"
|
|
4691
|
+
}, props), {
|
|
4692
|
+
children: [
|
|
4693
|
+
/* @__PURE__ */ jsxs38("g", { clipPath: "url(#a)", children: [
|
|
4694
|
+
/* @__PURE__ */ jsx64(
|
|
4695
|
+
"path",
|
|
4696
|
+
{
|
|
4697
|
+
fill: "#000",
|
|
4698
|
+
d: "M32 0H10C4.477 0 0 4.477 0 10v22c0 5.523 4.477 10 10 10h22c5.523 0 10-4.477 10-10V10c0-5.523-4.477-10-10-10Z"
|
|
4699
|
+
}
|
|
4700
|
+
),
|
|
4701
|
+
/* @__PURE__ */ jsxs38("g", { fillRule: "evenodd", clipPath: "url(#b)", clipRule: "evenodd", children: [
|
|
4702
|
+
/* @__PURE__ */ jsx64(
|
|
4703
|
+
"path",
|
|
4704
|
+
{
|
|
4705
|
+
fill: "#FFD815",
|
|
4706
|
+
d: "m26.507 17.74-1.623-1.623-1.624 1.623 1.623 1.623 1.624 1.624 1.623-1.624-1.623-1.623Z"
|
|
4707
|
+
}
|
|
4708
|
+
),
|
|
4709
|
+
/* @__PURE__ */ jsx64(
|
|
4710
|
+
"path",
|
|
4711
|
+
{
|
|
4712
|
+
fill: "#FF9813",
|
|
4713
|
+
d: "m26.507 8-1.624 1.623 1.624 1.624 1.623-1.624L26.507 8ZM33 14.493l-1.623-1.623-1.624 1.623 1.624 1.623L33 14.493ZM23.26 27.48l1.623 1.623 1.624-1.623-1.623-1.624-1.624 1.624ZM11.897 16.117l1.623 1.623 1.623-1.623-1.623-1.624-1.623 1.624ZM20.014 8 18.39 9.623l1.624 1.624 1.623-1.624L20.014 8ZM13.52 11.247l1.624 1.623 1.623-1.623-1.623-1.624-1.624 1.624ZM31.377 19.363l-1.624 1.623 1.624 1.624L33 20.987l-1.623-1.624ZM28.13 25.856l1.623 1.624 1.624-1.624-1.624-1.623-1.623 1.623Z"
|
|
4714
|
+
}
|
|
4715
|
+
),
|
|
4716
|
+
/* @__PURE__ */ jsx64(
|
|
4717
|
+
"path",
|
|
4718
|
+
{
|
|
4719
|
+
fill: "#5B5B72",
|
|
4720
|
+
d: "m26.507 20.986-1.624-1.623-1.623 1.623-1.623-1.623-1.623-1.623 1.623-1.624-1.623-1.623-1.624-1.623-1.623 1.623 1.623 1.623-1.623 1.624 1.623 1.623-1.623 1.623-.812-.811-1.623 1.623 1.623 1.623-1.623 1.624-1.543 1.542-1.542 1.543-1.624 1.623L8 31.377 9.623 33l1.624-1.623 1.623-1.624 1.543-1.542.08-.08 1.462-1.463.08-.08 1.544-1.543 1.623 1.623 1.623-1.623-.811-.812 1.623-1.623 1.623 1.623 1.623-1.623 1.624 1.623 1.623-1.623-1.623-1.624Z"
|
|
4721
|
+
}
|
|
4722
|
+
),
|
|
4723
|
+
/* @__PURE__ */ jsx64(
|
|
4724
|
+
"path",
|
|
4725
|
+
{
|
|
4726
|
+
fill: "#FF9813",
|
|
4727
|
+
d: "m26.507 14.493-1.624-1.623-1.623 1.623-1.623-1.623-1.623 1.623 1.623 1.623-1.623 1.624 1.623 1.623 1.623 1.623 1.623-1.623-1.623-1.623 1.623-1.623 1.624 1.623 1.623-1.623-1.623-1.624Z"
|
|
4728
|
+
}
|
|
4729
|
+
)
|
|
4730
|
+
] })
|
|
4731
|
+
] }),
|
|
4732
|
+
/* @__PURE__ */ jsxs38("defs", { children: [
|
|
4733
|
+
/* @__PURE__ */ jsx64("clipPath", { id: "a", children: /* @__PURE__ */ jsx64("path", { fill: "#fff", d: "M0 0h42v42H0z" }) }),
|
|
4734
|
+
/* @__PURE__ */ jsx64("clipPath", { id: "b", children: /* @__PURE__ */ jsx64("path", { fill: "#fff", d: "M8 8h25v25H8z" }) })
|
|
4735
|
+
] })
|
|
4736
|
+
]
|
|
4737
|
+
})
|
|
4738
|
+
);
|
|
4739
|
+
};
|
|
4740
|
+
|
|
4741
|
+
// src/icons/okx.tsx
|
|
4742
|
+
import { jsx as jsx65, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
4743
|
+
var OkxLogo = (_a) => {
|
|
4744
|
+
var _b = _a, {
|
|
4745
|
+
size = 42,
|
|
4746
|
+
variant = "first",
|
|
4747
|
+
className
|
|
4748
|
+
} = _b, props = __objRest(_b, [
|
|
4749
|
+
"size",
|
|
4750
|
+
"variant",
|
|
4751
|
+
"className"
|
|
4752
|
+
]);
|
|
4753
|
+
return /* @__PURE__ */ jsxs39(
|
|
4754
|
+
"svg",
|
|
4755
|
+
__spreadProps(__spreadValues({
|
|
4756
|
+
className,
|
|
4757
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4758
|
+
width: size,
|
|
4759
|
+
height: size,
|
|
4760
|
+
viewBox: "0 0 42 42",
|
|
4761
|
+
fill: "none"
|
|
4762
|
+
}, props), {
|
|
4763
|
+
children: [
|
|
4764
|
+
/* @__PURE__ */ jsxs39("g", { clipPath: "url(#a)", children: [
|
|
4765
|
+
/* @__PURE__ */ jsx65(
|
|
4766
|
+
"path",
|
|
4767
|
+
{
|
|
4768
|
+
fill: "#000",
|
|
4769
|
+
d: "M32 0H10C4.477 0 0 4.477 0 10v22c0 5.523 4.477 10 10 10h22c5.523 0 10-4.477 10-10V10c0-5.523-4.477-10-10-10Z"
|
|
4770
|
+
}
|
|
4771
|
+
),
|
|
4772
|
+
/* @__PURE__ */ jsx65("g", { fill: "#fff", clipPath: "url(#b)", children: /* @__PURE__ */ jsx65("path", { d: "M24.578 17.052h-6.787a.523.523 0 0 0-.52.52v6.788c0 .286.235.52.52.52h6.787c.286 0 .521-.234.521-.52v-6.787a.523.523 0 0 0-.52-.521ZM16.733 9.223H9.946a.523.523 0 0 0-.521.521v6.787c0 .286.235.521.52.521h6.788c.285 0 .52-.235.52-.52V9.743a.523.523 0 0 0-.52-.52ZM32.424 9.223h-6.787a.523.523 0 0 0-.521.521v6.787c0 .286.235.521.52.521h6.788c.286 0 .52-.235.52-.52V9.743a.523.523 0 0 0-.52-.52ZM16.733 24.898H9.946a.523.523 0 0 0-.521.52v6.788c0 .285.235.52.52.52h6.788c.285 0 .52-.235.52-.52v-6.788a.523.523 0 0 0-.52-.52ZM32.424 24.898h-6.787a.523.523 0 0 0-.521.52v6.788c0 .285.235.52.52.52h6.788c.286 0 .52-.235.52-.52v-6.788a.523.523 0 0 0-.52-.52Z" }) })
|
|
4773
|
+
] }),
|
|
4774
|
+
/* @__PURE__ */ jsxs39("defs", { children: [
|
|
4775
|
+
/* @__PURE__ */ jsx65("clipPath", { id: "a", children: /* @__PURE__ */ jsx65("path", { fill: "#fff", d: "M0 0h42v42H0z" }) }),
|
|
4776
|
+
/* @__PURE__ */ jsx65("clipPath", { id: "b", children: /* @__PURE__ */ jsx65("path", { fill: "#fff", d: "M0 0h42v42H0z" }) })
|
|
4777
|
+
] })
|
|
4778
|
+
]
|
|
4779
|
+
})
|
|
4780
|
+
);
|
|
4781
|
+
};
|
|
4782
|
+
|
|
4783
|
+
// src/icons/magiceden.tsx
|
|
4784
|
+
import { jsx as jsx66, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
4785
|
+
var MagicEdenLogo = (_a) => {
|
|
4786
|
+
var _b = _a, {
|
|
4787
|
+
size = 42,
|
|
4788
|
+
variant = "first",
|
|
4789
|
+
className
|
|
4790
|
+
} = _b, props = __objRest(_b, [
|
|
4791
|
+
"size",
|
|
4792
|
+
"variant",
|
|
4793
|
+
"className"
|
|
4794
|
+
]);
|
|
4795
|
+
return /* @__PURE__ */ jsxs40(
|
|
4796
|
+
"svg",
|
|
4797
|
+
__spreadProps(__spreadValues({
|
|
4798
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4799
|
+
width: size,
|
|
4800
|
+
height: size,
|
|
4801
|
+
className,
|
|
4802
|
+
viewBox: "0 0 42 42",
|
|
4803
|
+
fill: "none"
|
|
4804
|
+
}, props), {
|
|
4805
|
+
children: [
|
|
4806
|
+
/* @__PURE__ */ jsxs40("g", { clipPath: "url(#clip0_17_93)", children: [
|
|
4807
|
+
/* @__PURE__ */ jsx66(
|
|
4808
|
+
"path",
|
|
4809
|
+
{
|
|
4810
|
+
fill: "#070C34",
|
|
4811
|
+
d: "M32 0H10C4.477 0 0 4.477 0 10v22c0 5.523 4.477 10 10 10h22c5.523 0 10-4.477 10-10V10c0-5.523-4.477-10-10-10Z"
|
|
4812
|
+
}
|
|
4813
|
+
),
|
|
4814
|
+
/* @__PURE__ */ jsx66(
|
|
4815
|
+
"path",
|
|
4816
|
+
{
|
|
4817
|
+
fill: "url(#paint0_linear_17_93)",
|
|
4818
|
+
d: "m27.666 16.837 1.874 2.177c.215.245.404.446.483.562.56.55.874 1.293.874 2.07-.053.915-.657 1.54-1.213 2.205l-1.311 1.521-.685.79a.184.184 0 0 0 .046.281c.033.02.07.028.107.026h6.835c1.045 0 2.36.868 2.283 2.184 0 .597-.247 1.171-.68 1.595a2.36 2.36 0 0 1-1.637.664H23.936c-.704 0-2.598.076-3.128-1.521a1.841 1.841 0 0 1-.043-1.035 4.5 4.5 0 0 1 .72-1.404 65.543 65.543 0 0 1 1.695-2.343c.741-1.002 1.503-1.971 2.251-2.992a.19.19 0 0 0 .04-.116.19.19 0 0 0-.04-.116l-2.72-3.156a.192.192 0 0 0-.153-.073.192.192 0 0 0-.152.073c-.728.96-3.917 5.203-4.598 6.063-.68.86-2.355.907-3.283 0l-4.255-4.161a.197.197 0 0 0-.1-.053.195.195 0 0 0-.2.082.192.192 0 0 0-.032.106v8a2.678 2.678 0 0 1-.494 1.594c-.33.466-.804.823-1.352 1.014a2.375 2.375 0 0 1-2.111-.293 2.271 2.271 0 0 1-.72-.805A2.22 2.22 0 0 1 5 28.736V14.349a2.416 2.416 0 0 1 .548-1.422c.33-.406.785-.7 1.298-.841a2.632 2.632 0 0 1 2.502.664l6.54 6.381c.019.02.043.034.07.043a.197.197 0 0 0 .161-.013.188.188 0 0 0 .061-.054l4.646-6.27c.215-.254.485-.46.79-.601.304-.142.636-.217.976-.221H34.68c.33 0 .657.07.959.204a2.31 2.31 0 0 1 1.263 1.409c.096.309.122.633.079.952a2.288 2.288 0 0 1-.813 1.42c-.439.364-.996.56-1.572.551h-6.768a.188.188 0 0 0-.163.099.187.187 0 0 0-.022.095c0 .032.013.065.032.093h-.008Z"
|
|
4819
|
+
}
|
|
4820
|
+
)
|
|
4821
|
+
] }),
|
|
4822
|
+
/* @__PURE__ */ jsxs40("defs", { children: [
|
|
4823
|
+
/* @__PURE__ */ jsxs40(
|
|
4824
|
+
"linearGradient",
|
|
4825
|
+
{
|
|
4826
|
+
id: "paint0_linear_17_93",
|
|
4827
|
+
x1: "-0.315",
|
|
4828
|
+
x2: "35.366",
|
|
4829
|
+
y1: "9.343",
|
|
4830
|
+
y2: "30.176",
|
|
4831
|
+
gradientUnits: "userSpaceOnUse",
|
|
4832
|
+
children: [
|
|
4833
|
+
/* @__PURE__ */ jsx66("stop", { offset: "0.23", stopColor: "#FF0074" }),
|
|
4834
|
+
/* @__PURE__ */ jsx66("stop", { offset: "0.26", stopColor: "#FF0068" }),
|
|
4835
|
+
/* @__PURE__ */ jsx66("stop", { offset: "0.32", stopColor: "#FF0048" }),
|
|
4836
|
+
/* @__PURE__ */ jsx66("stop", { offset: "0.39", stopColor: "#FF0015" }),
|
|
4837
|
+
/* @__PURE__ */ jsx66("stop", { offset: "0.41", stopColor: "#FF0009" }),
|
|
4838
|
+
/* @__PURE__ */ jsx66("stop", { offset: "0.43", stopColor: "#FF0908" }),
|
|
4839
|
+
/* @__PURE__ */ jsx66("stop", { offset: "0.54", stopColor: "#FF4003" }),
|
|
4840
|
+
/* @__PURE__ */ jsx66("stop", { offset: "0.62", stopColor: "#FF6201" }),
|
|
4841
|
+
/* @__PURE__ */ jsx66("stop", { offset: "0.66", stopColor: "#FF6F00" }),
|
|
4842
|
+
/* @__PURE__ */ jsx66("stop", { offset: "0.72", stopColor: "#FF8700" }),
|
|
4843
|
+
/* @__PURE__ */ jsx66("stop", { offset: "0.83", stopColor: "#FFAB00" }),
|
|
4844
|
+
/* @__PURE__ */ jsx66("stop", { offset: "0.92", stopColor: "#FFC100" }),
|
|
4845
|
+
/* @__PURE__ */ jsx66("stop", { offset: "0.98", stopColor: "#FFCA00" })
|
|
4846
|
+
]
|
|
4847
|
+
}
|
|
4848
|
+
),
|
|
4849
|
+
/* @__PURE__ */ jsx66("clipPath", { id: "clip0_17_93", children: /* @__PURE__ */ jsx66("path", { fill: "#fff", d: "M0 0h42v42H0z" }) })
|
|
4850
|
+
] })
|
|
4851
|
+
]
|
|
4852
|
+
})
|
|
4853
|
+
);
|
|
4854
|
+
};
|
|
4855
|
+
|
|
4856
|
+
// src/icons/walletIcon.tsx
|
|
4857
|
+
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
4858
|
+
var WalletIcon = ({
|
|
4859
|
+
size,
|
|
4860
|
+
className,
|
|
4861
|
+
variant,
|
|
4862
|
+
walletName
|
|
4863
|
+
}) => {
|
|
4864
|
+
if (walletName === XVERSE) {
|
|
4865
|
+
return /* @__PURE__ */ jsx67(XverseLogo, { size, className, variant });
|
|
4866
|
+
} else if (walletName === WIZZ) {
|
|
4867
|
+
return /* @__PURE__ */ jsx67(WizzLogo, { size, className, variant });
|
|
4868
|
+
} else if (walletName === LEATHER) {
|
|
4869
|
+
return /* @__PURE__ */ jsx67(LeatherLogo, { size, className, variant });
|
|
4870
|
+
} else if (walletName === MAGIC_EDEN) {
|
|
4871
|
+
return /* @__PURE__ */ jsx67(MagicEdenLogo, { size, className, variant });
|
|
4872
|
+
} else if (walletName === OKX) {
|
|
4873
|
+
return /* @__PURE__ */ jsx67(OkxLogo, { size, className, variant });
|
|
4874
|
+
} else if (walletName === PHANTOM) {
|
|
4875
|
+
return /* @__PURE__ */ jsx67(PhantomLogo, { size, className, variant });
|
|
4876
|
+
} else if (walletName === UNISAT) {
|
|
4877
|
+
return /* @__PURE__ */ jsx67(UnisatLogo, { size, className, variant });
|
|
4878
|
+
} else if (walletName === OYL) {
|
|
4879
|
+
return /* @__PURE__ */ jsx67(OylLogo, { size, className, variant });
|
|
4880
|
+
} else {
|
|
4881
|
+
return /* @__PURE__ */ jsx67(LeatherLogo, { size, className, variant });
|
|
4882
|
+
}
|
|
4883
|
+
};
|
|
3235
4884
|
export {
|
|
3236
4885
|
LEATHER,
|
|
3237
4886
|
LEATHER_MAINNET,
|
|
3238
4887
|
LEATHER_TESTNET,
|
|
3239
4888
|
LaserEyesProvider,
|
|
4889
|
+
LeatherLogo,
|
|
3240
4890
|
MAGIC_EDEN,
|
|
3241
4891
|
MAINNET,
|
|
3242
4892
|
MEMPOOL_SPACE_SIGNET_URL,
|
|
3243
4893
|
MEMPOOL_SPACE_TESTNET_URL,
|
|
3244
4894
|
MEMPOOL_SPACE_URL,
|
|
4895
|
+
MagicEdenLogo,
|
|
3245
4896
|
OKX,
|
|
3246
4897
|
OKX_MAINNET,
|
|
3247
4898
|
OKX_TESTNET,
|
|
3248
4899
|
OP_WALLET_MAINNET,
|
|
3249
4900
|
OP_WALLET_TESTNET,
|
|
3250
4901
|
OYL,
|
|
4902
|
+
OkxLogo,
|
|
4903
|
+
OylLogo,
|
|
3251
4904
|
P2PKH,
|
|
3252
4905
|
P2PSH,
|
|
3253
4906
|
P2SH,
|
|
@@ -3255,21 +4908,26 @@ export {
|
|
|
3255
4908
|
P2WPKH,
|
|
3256
4909
|
P2WSH,
|
|
3257
4910
|
PHANTOM,
|
|
4911
|
+
PhantomLogo,
|
|
3258
4912
|
REGTEST,
|
|
3259
4913
|
SIGNET,
|
|
3260
4914
|
TESTNET,
|
|
3261
4915
|
UNISAT,
|
|
3262
4916
|
UNISAT_MAINNET,
|
|
3263
4917
|
UNISAT_TESTNET,
|
|
4918
|
+
UnisatLogo,
|
|
3264
4919
|
WALLETS,
|
|
3265
4920
|
WIZZ,
|
|
3266
4921
|
WIZZ_MAINNET,
|
|
3267
4922
|
WIZZ_TESTNET,
|
|
4923
|
+
WalletIcon,
|
|
4924
|
+
WizzLogo,
|
|
3268
4925
|
XVERSE,
|
|
3269
4926
|
XVERSE_MAINNET,
|
|
3270
4927
|
XVERSE_NETWORK,
|
|
3271
4928
|
XVERSE_SIGNET,
|
|
3272
4929
|
XVERSE_TESTNET,
|
|
4930
|
+
XverseLogo,
|
|
3273
4931
|
createConfig,
|
|
3274
4932
|
createSendBtcPsbt,
|
|
3275
4933
|
delay,
|