@omnisat/lasereyes 0.0.30 → 0.0.32
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 +9 -7
- package/dist/index.js +247 -2341
- package/dist/index.mjs +417 -2807
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -88,6 +88,7 @@ var __forAwait = (obj, it, method) => {
|
|
|
88
88
|
// src/index.tsx
|
|
89
89
|
var src_exports = {};
|
|
90
90
|
__export(src_exports, {
|
|
91
|
+
FRACTAL_TESTNET: () => FRACTAL_TESTNET,
|
|
91
92
|
LEATHER: () => LEATHER,
|
|
92
93
|
LEATHER_MAINNET: () => LEATHER_MAINNET,
|
|
93
94
|
LEATHER_TESTNET: () => LEATHER_TESTNET,
|
|
@@ -119,6 +120,7 @@ __export(src_exports, {
|
|
|
119
120
|
SIGNET: () => SIGNET,
|
|
120
121
|
TESTNET: () => TESTNET,
|
|
121
122
|
UNISAT: () => UNISAT,
|
|
123
|
+
UNISAT_FRACTAL_TESTNET: () => UNISAT_FRACTAL_TESTNET,
|
|
122
124
|
UNISAT_MAINNET: () => UNISAT_MAINNET,
|
|
123
125
|
UNISAT_TESTNET: () => UNISAT_TESTNET,
|
|
124
126
|
UnisatLogo: () => UnisatLogo,
|
|
@@ -165,6 +167,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
165
167
|
var XVERSE_NETWORK = "Mainnet";
|
|
166
168
|
var UNISAT_MAINNET = "livenet";
|
|
167
169
|
var UNISAT_TESTNET = "testnet";
|
|
170
|
+
var UNISAT_FRACTAL_TESTNET = "unknown";
|
|
168
171
|
var OP_WALLET_MAINNET = "livenet";
|
|
169
172
|
var OP_WALLET_TESTNET = "testnet";
|
|
170
173
|
var XVERSE_MAINNET = "Mainnet";
|
|
@@ -179,6 +182,7 @@ var LEATHER_TESTNET = "testnet";
|
|
|
179
182
|
var MAINNET = "mainnet";
|
|
180
183
|
var SIGNET = "signet";
|
|
181
184
|
var TESTNET = "testnet";
|
|
185
|
+
var FRACTAL_TESTNET = "fractal_testnet";
|
|
182
186
|
var REGTEST = "regtest";
|
|
183
187
|
var getXverseNetwork = (network) => {
|
|
184
188
|
if (network === MAINNET)
|
|
@@ -201,6 +205,8 @@ var getUnisatNetwork = (network) => {
|
|
|
201
205
|
return UNISAT_MAINNET;
|
|
202
206
|
if (network === TESTNET)
|
|
203
207
|
return UNISAT_TESTNET;
|
|
208
|
+
if (network === FRACTAL_TESTNET)
|
|
209
|
+
return UNISAT_FRACTAL_TESTNET;
|
|
204
210
|
return UNISAT_MAINNET;
|
|
205
211
|
};
|
|
206
212
|
var getWizzNetwork = (network) => {
|
|
@@ -215,6 +221,8 @@ var getNetworkForUnisat = (network) => {
|
|
|
215
221
|
return MAINNET;
|
|
216
222
|
if (network === UNISAT_TESTNET)
|
|
217
223
|
return TESTNET;
|
|
224
|
+
if (network === UNISAT_FRACTAL_TESTNET)
|
|
225
|
+
return FRACTAL_TESTNET;
|
|
218
226
|
return MAINNET;
|
|
219
227
|
};
|
|
220
228
|
var getNetworkForXverse = (network) => {
|
|
@@ -302,8 +310,8 @@ var createConfig = (config) => {
|
|
|
302
310
|
};
|
|
303
311
|
|
|
304
312
|
// src/providers/LaserEyesProvider.tsx
|
|
305
|
-
var
|
|
306
|
-
var
|
|
313
|
+
var import_react = require("react");
|
|
314
|
+
var bitcoin2 = __toESM(require("bitcoinjs-lib"));
|
|
307
315
|
|
|
308
316
|
// src/consts/settings.ts
|
|
309
317
|
var LOCAL_STORAGE_DEFAULT_WALLET = "defaultWallet";
|
|
@@ -373,7 +381,7 @@ var initialWalletContext = {
|
|
|
373
381
|
};
|
|
374
382
|
|
|
375
383
|
// src/providers/LaserEyesProvider.tsx
|
|
376
|
-
var
|
|
384
|
+
var import_usehooks_ts = require("usehooks-ts");
|
|
377
385
|
|
|
378
386
|
// src/lib/helpers.ts
|
|
379
387
|
var bitcoin = __toESM(require("bitcoinjs-lib"));
|
|
@@ -388,7 +396,7 @@ var getMempoolSpaceUrl2 = (network) => network === TESTNET ? MEMPOOL_SPACE_TESTN
|
|
|
388
396
|
var ecc = __toESM(require("@bitcoinerlab/secp256k1"));
|
|
389
397
|
bitcoin.initEccLib(ecc);
|
|
390
398
|
var getBitcoinNetwork = (network) => {
|
|
391
|
-
if (network === TESTNET) {
|
|
399
|
+
if (network === TESTNET || network === FRACTAL_TESTNET) {
|
|
392
400
|
return bitcoin.networks.testnet;
|
|
393
401
|
} else if (network === SIGNET) {
|
|
394
402
|
return bitcoin.networks.testnet;
|
|
@@ -408,9 +416,9 @@ var findPaymentAddress = (addresses) => {
|
|
|
408
416
|
({ purpose }) => purpose === "payment"
|
|
409
417
|
);
|
|
410
418
|
};
|
|
411
|
-
var getBTCBalance = (
|
|
419
|
+
var getBTCBalance = (address2) => __async(void 0, null, function* () {
|
|
412
420
|
try {
|
|
413
|
-
return yield import_axios.default.get(`https://blockchain.info/q/addressbalance/${
|
|
421
|
+
return yield import_axios.default.get(`https://blockchain.info/q/addressbalance/${address2}`).then((response) => response.data);
|
|
414
422
|
} catch (error) {
|
|
415
423
|
console.error("Error fetching BTC balance:", error);
|
|
416
424
|
throw new Error("Failed to fetch BTC balance");
|
|
@@ -439,9 +447,9 @@ function estimateTxSize(taprootInputCount, nonTaprootInputCount, outputCount) {
|
|
|
439
447
|
const totalOutputSize = outputCount * outputSize;
|
|
440
448
|
return baseTxSize + totalInputSize + totalOutputSize;
|
|
441
449
|
}
|
|
442
|
-
function createSendBtcPsbt(
|
|
450
|
+
function createSendBtcPsbt(address2, paymentAddress, recipientAddress, amount, paymentPublicKey, network, feeRate = 7) {
|
|
443
451
|
return __async(this, null, function* () {
|
|
444
|
-
const isTaprootOnly =
|
|
452
|
+
const isTaprootOnly = address2 === paymentAddress;
|
|
445
453
|
const mempoolUrl = `${getMempoolSpaceUrl2(
|
|
446
454
|
network
|
|
447
455
|
)}/api/address/${paymentAddress}/utxo`;
|
|
@@ -525,2152 +533,45 @@ function delay(ms) {
|
|
|
525
533
|
}
|
|
526
534
|
|
|
527
535
|
// src/providers/LaserEyesProvider.tsx
|
|
528
|
-
var
|
|
529
|
-
var
|
|
530
|
-
var
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
var import_react = _toESM(require("react"));
|
|
534
|
-
var bitcoin24 = __toESM(require("bitcoinjs-lib"), 1);
|
|
535
|
-
var import_usehooks_ts = _toESM(require("usehooks-ts"));
|
|
536
|
-
var bitcoin2 = __toESM(require("bitcoinjs-lib"), 1);
|
|
537
|
-
var import_axios2 = __toESM(require("axios"), 1);
|
|
538
|
-
var ecc2 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
539
|
-
var import_sats_connect = _toESM(require("sats-connect"));
|
|
540
|
-
var import_address = _toESM(require("bitcoinjs-lib/src/address"));
|
|
541
|
-
var import_axios3 = __toESM(require("axios"), 1);
|
|
542
|
-
var import_react2 = _toESM(require("react"));
|
|
543
|
-
var bitcoin23 = __toESM(require("bitcoinjs-lib"), 1);
|
|
544
|
-
var import_usehooks_ts2 = _toESM(require("usehooks-ts"));
|
|
545
|
-
var bitcoin22 = __toESM(require("bitcoinjs-lib"), 1);
|
|
546
|
-
var import_axios4 = __toESM(require("axios"), 1);
|
|
547
|
-
var ecc22 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
548
|
-
var import_sats_connect2 = _toESM(require("sats-connect"));
|
|
549
|
-
var import_address2 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
550
|
-
var import_axios5 = __toESM(require("axios"), 1);
|
|
551
|
-
var import_react3 = _toESM(require("react"));
|
|
552
|
-
var bitcoin21 = __toESM(require("bitcoinjs-lib"), 1);
|
|
553
|
-
var import_usehooks_ts3 = _toESM(require("usehooks-ts"));
|
|
554
|
-
var bitcoin222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
555
|
-
var import_axios6 = __toESM(require("axios"), 1);
|
|
556
|
-
var ecc222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
557
|
-
var import_sats_connect3 = _toESM(require("sats-connect"));
|
|
558
|
-
var import_address3 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
559
|
-
var import_axios7 = __toESM(require("axios"), 1);
|
|
560
|
-
var import_react4 = _toESM(require("react"));
|
|
561
|
-
var bitcoin20 = __toESM(require("bitcoinjs-lib"), 1);
|
|
562
|
-
var import_usehooks_ts4 = _toESM(require("usehooks-ts"));
|
|
563
|
-
var bitcoin2222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
564
|
-
var import_axios8 = __toESM(require("axios"), 1);
|
|
565
|
-
var ecc2222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
566
|
-
var import_sats_connect4 = _toESM(require("sats-connect"));
|
|
567
|
-
var import_address4 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
568
|
-
var import_axios9 = __toESM(require("axios"), 1);
|
|
569
|
-
var import_react5 = _toESM(require("react"));
|
|
570
|
-
var bitcoin19 = __toESM(require("bitcoinjs-lib"), 1);
|
|
571
|
-
var import_usehooks_ts5 = _toESM(require("usehooks-ts"));
|
|
572
|
-
var bitcoin22222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
573
|
-
var import_axios10 = __toESM(require("axios"), 1);
|
|
574
|
-
var ecc22222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
575
|
-
var import_sats_connect5 = _toESM(require("sats-connect"));
|
|
576
|
-
var import_address5 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
577
|
-
var import_axios11 = __toESM(require("axios"), 1);
|
|
578
|
-
var import_react6 = _toESM(require("react"));
|
|
579
|
-
var bitcoin18 = __toESM(require("bitcoinjs-lib"), 1);
|
|
580
|
-
var import_usehooks_ts6 = _toESM(require("usehooks-ts"));
|
|
581
|
-
var bitcoin222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
582
|
-
var import_axios12 = __toESM(require("axios"), 1);
|
|
583
|
-
var ecc222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
584
|
-
var import_sats_connect6 = _toESM(require("sats-connect"));
|
|
585
|
-
var import_address6 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
586
|
-
var import_axios13 = __toESM(require("axios"), 1);
|
|
587
|
-
var import_react7 = _toESM(require("react"));
|
|
588
|
-
var bitcoin17 = __toESM(require("bitcoinjs-lib"), 1);
|
|
589
|
-
var import_usehooks_ts7 = _toESM(require("usehooks-ts"));
|
|
590
|
-
var bitcoin2222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
591
|
-
var import_axios14 = __toESM(require("axios"), 1);
|
|
592
|
-
var ecc2222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
593
|
-
var import_sats_connect7 = _toESM(require("sats-connect"));
|
|
594
|
-
var import_address7 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
595
|
-
var import_axios15 = __toESM(require("axios"), 1);
|
|
596
|
-
var import_react8 = _toESM(require("react"));
|
|
597
|
-
var bitcoin16 = __toESM(require("bitcoinjs-lib"), 1);
|
|
598
|
-
var import_usehooks_ts8 = _toESM(require("usehooks-ts"));
|
|
599
|
-
var bitcoin22222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
600
|
-
var import_axios16 = __toESM(require("axios"), 1);
|
|
601
|
-
var ecc22222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
602
|
-
var import_sats_connect8 = _toESM(require("sats-connect"));
|
|
603
|
-
var import_address8 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
604
|
-
var import_axios17 = __toESM(require("axios"), 1);
|
|
605
|
-
var import_react9 = _toESM(require("react"));
|
|
606
|
-
var bitcoin15 = __toESM(require("bitcoinjs-lib"), 1);
|
|
607
|
-
var import_usehooks_ts9 = _toESM(require("usehooks-ts"));
|
|
608
|
-
var bitcoin222222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
609
|
-
var import_axios18 = __toESM(require("axios"), 1);
|
|
610
|
-
var ecc222222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
611
|
-
var import_sats_connect9 = _toESM(require("sats-connect"));
|
|
612
|
-
var import_address9 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
613
|
-
var import_axios19 = __toESM(require("axios"), 1);
|
|
614
|
-
var import_react10 = _toESM(require("react"));
|
|
615
|
-
var bitcoin14 = __toESM(require("bitcoinjs-lib"), 1);
|
|
616
|
-
var import_usehooks_ts10 = _toESM(require("usehooks-ts"));
|
|
617
|
-
var bitcoin2222222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
618
|
-
var import_axios20 = __toESM(require("axios"), 1);
|
|
619
|
-
var ecc2222222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
620
|
-
var import_sats_connect10 = _toESM(require("sats-connect"));
|
|
621
|
-
var import_address10 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
622
|
-
var import_axios21 = __toESM(require("axios"), 1);
|
|
623
|
-
var import_react11 = _toESM(require("react"));
|
|
624
|
-
var bitcoin13 = __toESM(require("bitcoinjs-lib"), 1);
|
|
625
|
-
var import_usehooks_ts11 = _toESM(require("usehooks-ts"));
|
|
626
|
-
var bitcoin22222222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
627
|
-
var import_axios22 = __toESM(require("axios"), 1);
|
|
628
|
-
var ecc22222222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
629
|
-
var import_sats_connect11 = _toESM(require("sats-connect"));
|
|
630
|
-
var import_address11 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
631
|
-
var import_axios23 = __toESM(require("axios"), 1);
|
|
632
|
-
var import_react12 = _toESM(require("react"));
|
|
633
|
-
var bitcoin12 = __toESM(require("bitcoinjs-lib"), 1);
|
|
634
|
-
var import_usehooks_ts12 = _toESM(require("usehooks-ts"));
|
|
635
|
-
var bitcoin222222222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
636
|
-
var import_axios24 = __toESM(require("axios"), 1);
|
|
637
|
-
var ecc222222222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
638
|
-
var import_sats_connect12 = _toESM(require("sats-connect"));
|
|
639
|
-
var import_address12 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
640
|
-
var import_axios25 = __toESM(require("axios"), 1);
|
|
641
|
-
var import_react13 = _toESM(require("react"));
|
|
642
|
-
var bitcoin11 = __toESM(require("bitcoinjs-lib"), 1);
|
|
643
|
-
var import_usehooks_ts13 = _toESM(require("usehooks-ts"));
|
|
644
|
-
var bitcoin2222222222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
645
|
-
var import_axios26 = __toESM(require("axios"), 1);
|
|
646
|
-
var ecc2222222222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
647
|
-
var import_sats_connect13 = _toESM(require("sats-connect"));
|
|
648
|
-
var import_address13 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
649
|
-
var import_axios27 = __toESM(require("axios"), 1);
|
|
650
|
-
var import_react14 = _toESM(require("react"));
|
|
651
|
-
var bitcoin10 = __toESM(require("bitcoinjs-lib"), 1);
|
|
652
|
-
var import_usehooks_ts14 = _toESM(require("usehooks-ts"));
|
|
653
|
-
var bitcoin22222222222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
654
|
-
var import_axios28 = __toESM(require("axios"), 1);
|
|
655
|
-
var ecc22222222222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
656
|
-
var import_sats_connect14 = _toESM(require("sats-connect"));
|
|
657
|
-
var import_address14 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
658
|
-
var import_axios29 = __toESM(require("axios"), 1);
|
|
659
|
-
var import_react15 = _toESM(require("react"));
|
|
660
|
-
var bitcoin9 = __toESM(require("bitcoinjs-lib"), 1);
|
|
661
|
-
var import_usehooks_ts15 = _toESM(require("usehooks-ts"));
|
|
662
|
-
var bitcoin222222222222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
663
|
-
var import_axios30 = __toESM(require("axios"), 1);
|
|
664
|
-
var ecc222222222222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
665
|
-
var import_sats_connect15 = _toESM(require("sats-connect"));
|
|
666
|
-
var import_address15 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
667
|
-
var import_axios31 = __toESM(require("axios"), 1);
|
|
668
|
-
var import_react16 = _toESM(require("react"));
|
|
669
|
-
var bitcoin8 = __toESM(require("bitcoinjs-lib"), 1);
|
|
670
|
-
var import_usehooks_ts16 = _toESM(require("usehooks-ts"));
|
|
671
|
-
var bitcoin2222222222222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
672
|
-
var import_axios32 = __toESM(require("axios"), 1);
|
|
673
|
-
var ecc2222222222222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
674
|
-
var import_sats_connect16 = _toESM(require("sats-connect"));
|
|
675
|
-
var import_address16 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
676
|
-
var import_axios33 = __toESM(require("axios"), 1);
|
|
677
|
-
var import_react17 = _toESM(require("react"));
|
|
678
|
-
var bitcoin7 = __toESM(require("bitcoinjs-lib"), 1);
|
|
679
|
-
var import_usehooks_ts17 = _toESM(require("usehooks-ts"));
|
|
680
|
-
var bitcoin22222222222222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
681
|
-
var import_axios34 = __toESM(require("axios"), 1);
|
|
682
|
-
var ecc22222222222222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
683
|
-
var import_sats_connect17 = _toESM(require("sats-connect"));
|
|
684
|
-
var import_address17 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
685
|
-
var import_axios35 = __toESM(require("axios"), 1);
|
|
686
|
-
var import_react18 = _toESM(require("react"));
|
|
687
|
-
var bitcoin6 = __toESM(require("bitcoinjs-lib"), 1);
|
|
688
|
-
var import_usehooks_ts18 = _toESM(require("usehooks-ts"));
|
|
689
|
-
var bitcoin222222222222222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
690
|
-
var import_axios36 = __toESM(require("axios"), 1);
|
|
691
|
-
var ecc222222222222222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
692
|
-
var import_sats_connect18 = _toESM(require("sats-connect"));
|
|
693
|
-
var import_address18 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
694
|
-
var import_axios37 = __toESM(require("axios"), 1);
|
|
695
|
-
var import_react19 = _toESM(require("react"));
|
|
696
|
-
var bitcoin5 = __toESM(require("bitcoinjs-lib"), 1);
|
|
697
|
-
var import_usehooks_ts19 = _toESM(require("usehooks-ts"));
|
|
698
|
-
var bitcoin2222222222222222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
699
|
-
var import_axios38 = __toESM(require("axios"), 1);
|
|
700
|
-
var ecc2222222222222222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
701
|
-
var import_sats_connect19 = _toESM(require("sats-connect"));
|
|
702
|
-
var import_address19 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
703
|
-
var import_axios39 = __toESM(require("axios"), 1);
|
|
704
|
-
var import_react20 = _toESM(require("react"));
|
|
705
|
-
var bitcoin4 = __toESM(require("bitcoinjs-lib"), 1);
|
|
706
|
-
var import_usehooks_ts20 = _toESM(require("usehooks-ts"));
|
|
707
|
-
var bitcoin22222222222222222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
708
|
-
var import_axios40 = __toESM(require("axios"), 1);
|
|
709
|
-
var ecc22222222222222222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
710
|
-
var import_sats_connect20 = _toESM(require("sats-connect"));
|
|
711
|
-
var import_address20 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
712
|
-
var import_axios41 = __toESM(require("axios"), 1);
|
|
713
|
-
var import_react21 = _toESM(require("react"));
|
|
714
|
-
var bitcoin222222222222222222222 = __toESM(require("bitcoinjs-lib"), 1);
|
|
715
|
-
var import_usehooks_ts21 = _toESM(require("usehooks-ts"));
|
|
716
|
-
var bitcoin3 = __toESM(require("bitcoinjs-lib"), 1);
|
|
717
|
-
var import_axios42 = __toESM(require("axios"), 1);
|
|
718
|
-
var ecc222222222222222222222 = __toESM(require("@bitcoinerlab/secp256k1"), 1);
|
|
719
|
-
var import_sats_connect21 = _toESM(require("sats-connect"));
|
|
720
|
-
var import_address21 = _toESM(require("bitcoinjs-lib/src/address"));
|
|
721
|
-
var import_axios43 = __toESM(require("axios"), 1);
|
|
722
|
-
var import_jsx_runtime = _toESM(require("react/jsx-runtime"));
|
|
723
|
-
var import_react22 = _toESM(require("react"));
|
|
724
|
-
var import_axios44 = __toESM(require("axios"), 1);
|
|
725
|
-
var import_jsx_runtime2 = _toESM(require("react/jsx-runtime"));
|
|
726
|
-
var import_react23 = _toESM(require("react"));
|
|
727
|
-
var import_axios45 = __toESM(require("axios"), 1);
|
|
728
|
-
var import_jsx_runtime3 = _toESM(require("react/jsx-runtime"));
|
|
729
|
-
var import_react24 = _toESM(require("react"));
|
|
730
|
-
var import_axios46 = __toESM(require("axios"), 1);
|
|
731
|
-
var import_jsx_runtime4 = _toESM(require("react/jsx-runtime"));
|
|
732
|
-
var import_react25 = _toESM(require("react"));
|
|
733
|
-
var import_axios47 = __toESM(require("axios"), 1);
|
|
734
|
-
var import_jsx_runtime5 = _toESM(require("react/jsx-runtime"));
|
|
735
|
-
var import_react26 = _toESM(require("react"));
|
|
736
|
-
var import_axios48 = __toESM(require("axios"), 1);
|
|
737
|
-
var import_jsx_runtime6 = _toESM(require("react/jsx-runtime"));
|
|
738
|
-
var import_react27 = _toESM(require("react"));
|
|
739
|
-
var import_axios49 = __toESM(require("axios"), 1);
|
|
740
|
-
var import_jsx_runtime7 = _toESM(require("react/jsx-runtime"));
|
|
741
|
-
var import_react28 = _toESM(require("react"));
|
|
742
|
-
var import_axios50 = __toESM(require("axios"), 1);
|
|
743
|
-
var import_jsx_runtime8 = _toESM(require("react/jsx-runtime"));
|
|
744
|
-
var import_react29 = _toESM(require("react"));
|
|
745
|
-
var import_axios51 = __toESM(require("axios"), 1);
|
|
746
|
-
var import_jsx_runtime9 = _toESM(require("react/jsx-runtime"));
|
|
747
|
-
var import_react30 = _toESM(require("react"));
|
|
748
|
-
var import_axios52 = __toESM(require("axios"), 1);
|
|
749
|
-
var import_jsx_runtime10 = _toESM(require("react/jsx-runtime"));
|
|
750
|
-
var import_react31 = _toESM(require("react"));
|
|
751
|
-
var import_axios53 = __toESM(require("axios"), 1);
|
|
752
|
-
var import_jsx_runtime11 = _toESM(require("react/jsx-runtime"));
|
|
753
|
-
var import_react32 = _toESM(require("react"));
|
|
754
|
-
var import_axios54 = __toESM(require("axios"), 1);
|
|
755
|
-
var import_jsx_runtime12 = _toESM(require("react/jsx-runtime"));
|
|
756
|
-
var import_react33 = _toESM(require("react"));
|
|
757
|
-
var import_axios55 = __toESM(require("axios"), 1);
|
|
758
|
-
var import_jsx_runtime13 = _toESM(require("react/jsx-runtime"));
|
|
759
|
-
var import_react34 = _toESM(require("react"));
|
|
760
|
-
var import_axios56 = __toESM(require("axios"), 1);
|
|
761
|
-
var import_jsx_runtime14 = _toESM(require("react/jsx-runtime"));
|
|
762
|
-
var import_react35 = _toESM(require("react"));
|
|
763
|
-
var import_axios57 = __toESM(require("axios"), 1);
|
|
764
|
-
var import_jsx_runtime15 = _toESM(require("react/jsx-runtime"));
|
|
765
|
-
var import_react36 = _toESM(require("react"));
|
|
766
|
-
var import_axios58 = __toESM(require("axios"), 1);
|
|
767
|
-
var import_jsx_runtime16 = _toESM(require("react/jsx-runtime"));
|
|
768
|
-
var import_react37 = _toESM(require("react"));
|
|
769
|
-
var import_axios59 = __toESM(require("axios"), 1);
|
|
770
|
-
var import_jsx_runtime17 = _toESM(require("react/jsx-runtime"));
|
|
771
|
-
var import_react38 = _toESM(require("react"));
|
|
772
|
-
var import_axios60 = __toESM(require("axios"), 1);
|
|
773
|
-
var import_jsx_runtime18 = _toESM(require("react/jsx-runtime"));
|
|
774
|
-
var import_react39 = _toESM(require("react"));
|
|
775
|
-
var import_axios61 = __toESM(require("axios"), 1);
|
|
776
|
-
var import_jsx_runtime19 = _toESM(require("react/jsx-runtime"));
|
|
777
|
-
var import_jsx_runtime20 = _toESM(require("react/jsx-runtime"));
|
|
778
|
-
var import_jsx_runtime21 = _toESM(require("react/jsx-runtime"));
|
|
779
|
-
var import_jsx_runtime22 = _toESM(require("react/jsx-runtime"));
|
|
780
|
-
var import_jsx_runtime23 = _toESM(require("react/jsx-runtime"));
|
|
781
|
-
var import_jsx_runtime24 = _toESM(require("react/jsx-runtime"));
|
|
782
|
-
var import_jsx_runtime25 = _toESM(require("react/jsx-runtime"));
|
|
783
|
-
var import_jsx_runtime26 = _toESM(require("react/jsx-runtime"));
|
|
784
|
-
var import_jsx_runtime27 = _toESM(require("react/jsx-runtime"));
|
|
785
|
-
var import_jsx_runtime28 = _toESM(require("react/jsx-runtime"));
|
|
786
|
-
var import_react40 = _toESM(require("react"));
|
|
787
|
-
var import_axios62 = __toESM(require("axios"), 1);
|
|
788
|
-
var import_jsx_runtime29 = _toESM(require("react/jsx-runtime"));
|
|
789
|
-
var import_jsx_runtime30 = _toESM(require("react/jsx-runtime"));
|
|
790
|
-
var import_jsx_runtime31 = _toESM(require("react/jsx-runtime"));
|
|
791
|
-
var import_jsx_runtime32 = _toESM(require("react/jsx-runtime"));
|
|
792
|
-
var import_jsx_runtime33 = _toESM(require("react/jsx-runtime"));
|
|
793
|
-
var import_jsx_runtime34 = _toESM(require("react/jsx-runtime"));
|
|
794
|
-
var import_jsx_runtime35 = _toESM(require("react/jsx-runtime"));
|
|
795
|
-
var import_jsx_runtime36 = _toESM(require("react/jsx-runtime"));
|
|
796
|
-
var import_jsx_runtime37 = _toESM(require("react/jsx-runtime"));
|
|
797
|
-
var import_jsx_runtime38 = _toESM(require("react/jsx-runtime"));
|
|
798
|
-
var import_react41 = _toESM(require("react"));
|
|
799
|
-
var import_axios63 = __toESM(require("axios"), 1);
|
|
800
|
-
var import_jsx_runtime39 = _toESM(require("react/jsx-runtime"));
|
|
801
|
-
var import_jsx_runtime40 = _toESM(require("react/jsx-runtime"));
|
|
802
|
-
var import_jsx_runtime41 = _toESM(require("react/jsx-runtime"));
|
|
803
|
-
var import_jsx_runtime42 = _toESM(require("react/jsx-runtime"));
|
|
804
|
-
var import_jsx_runtime43 = _toESM(require("react/jsx-runtime"));
|
|
805
|
-
var import_jsx_runtime44 = _toESM(require("react/jsx-runtime"));
|
|
806
|
-
var import_jsx_runtime45 = _toESM(require("react/jsx-runtime"));
|
|
807
|
-
var import_jsx_runtime46 = _toESM(require("react/jsx-runtime"));
|
|
808
|
-
var import_jsx_runtime47 = _toESM(require("react/jsx-runtime"));
|
|
809
|
-
var import_jsx_runtime48 = _toESM(require("react/jsx-runtime"));
|
|
810
|
-
var import_react42 = _toESM(require("react"));
|
|
811
|
-
var import_axios64 = __toESM(require("axios"), 1);
|
|
812
|
-
var import_jsx_runtime49 = _toESM(require("react/jsx-runtime"));
|
|
813
|
-
var import_jsx_runtime50 = _toESM(require("react/jsx-runtime"));
|
|
814
|
-
var import_jsx_runtime51 = _toESM(require("react/jsx-runtime"));
|
|
815
|
-
var import_jsx_runtime52 = _toESM(require("react/jsx-runtime"));
|
|
816
|
-
var import_jsx_runtime53 = _toESM(require("react/jsx-runtime"));
|
|
817
|
-
var import_jsx_runtime54 = _toESM(require("react/jsx-runtime"));
|
|
818
|
-
var import_jsx_runtime55 = _toESM(require("react/jsx-runtime"));
|
|
819
|
-
var import_jsx_runtime56 = _toESM(require("react/jsx-runtime"));
|
|
820
|
-
var import_jsx_runtime57 = _toESM(require("react/jsx-runtime"));
|
|
821
|
-
var __async2 = (__this, __arguments, generator) => {
|
|
822
|
-
return new Promise((resolve, reject) => {
|
|
823
|
-
var fulfilled = (value) => {
|
|
824
|
-
try {
|
|
825
|
-
step(generator.next(value));
|
|
826
|
-
} catch (e) {
|
|
827
|
-
reject(e);
|
|
828
|
-
}
|
|
829
|
-
};
|
|
830
|
-
var rejected = (value) => {
|
|
831
|
-
try {
|
|
832
|
-
step(generator.throw(value));
|
|
833
|
-
} catch (e) {
|
|
834
|
-
reject(e);
|
|
835
|
-
}
|
|
836
|
-
};
|
|
837
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
838
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
839
|
-
});
|
|
840
|
-
};
|
|
841
|
-
var MAINNET4 = "mainnet";
|
|
842
|
-
var SIGNET3 = "signet";
|
|
843
|
-
var TESTNET3 = "testnet";
|
|
844
|
-
var initialWalletContext2 = {
|
|
845
|
-
hasUnisat: false,
|
|
846
|
-
hasXverse: false,
|
|
847
|
-
hasOyl: false,
|
|
848
|
-
hasMagicEden: false,
|
|
849
|
-
hasOkx: false,
|
|
850
|
-
hasLeather: false,
|
|
851
|
-
hasPhantom: false,
|
|
852
|
-
hasWizz: false,
|
|
853
|
-
isInitializing: true,
|
|
854
|
-
connected: false,
|
|
855
|
-
isConnecting: false,
|
|
856
|
-
publicKey: "",
|
|
857
|
-
address: "",
|
|
858
|
-
paymentAddress: "",
|
|
859
|
-
paymentPublicKey: "",
|
|
860
|
-
balance: void 0,
|
|
861
|
-
network: MAINNET4,
|
|
862
|
-
library: null,
|
|
863
|
-
provider: null,
|
|
864
|
-
accounts: [],
|
|
865
|
-
connect: (walletName) => __async2(void 0, null, function* () {
|
|
866
|
-
}),
|
|
867
|
-
disconnect: () => {
|
|
868
|
-
},
|
|
869
|
-
requestAccounts: () => __async2(void 0, null, function* () {
|
|
870
|
-
return [];
|
|
871
|
-
}),
|
|
872
|
-
getNetwork: () => __async2(void 0, null, function* () {
|
|
873
|
-
return MAINNET4;
|
|
874
|
-
}),
|
|
875
|
-
switchNetwork: (network) => __async2(void 0, null, function* () {
|
|
876
|
-
}),
|
|
877
|
-
getPublicKey: () => __async2(void 0, null, function* () {
|
|
878
|
-
return "";
|
|
879
|
-
}),
|
|
880
|
-
getBalance: () => __async2(void 0, null, function* () {
|
|
881
|
-
return "";
|
|
882
|
-
}),
|
|
883
|
-
getInscriptions: () => __async2(void 0, null, function* () {
|
|
884
|
-
return [];
|
|
885
|
-
}),
|
|
886
|
-
sendBTC: (to, amount) => __async2(void 0, null, function* () {
|
|
887
|
-
return "";
|
|
888
|
-
}),
|
|
889
|
-
signMessage: (message) => __async2(void 0, null, function* () {
|
|
890
|
-
return "";
|
|
891
|
-
}),
|
|
892
|
-
signPsbt: (tx) => __async2(void 0, null, function* () {
|
|
893
|
-
return {
|
|
894
|
-
signedPsbtHex: "",
|
|
895
|
-
signedPsbtBase64: "",
|
|
896
|
-
txId: ""
|
|
897
|
-
};
|
|
898
|
-
}),
|
|
899
|
-
pushPsbt: (tx) => __async2(void 0, null, function* () {
|
|
900
|
-
return "";
|
|
901
|
-
}),
|
|
902
|
-
inscribe: (content) => __async2(void 0, null, function* () {
|
|
903
|
-
return "";
|
|
904
|
-
}),
|
|
905
|
-
isCreatingCommit: false,
|
|
906
|
-
isInscribing: false
|
|
907
|
-
};
|
|
908
|
-
bitcoin2.initEccLib(ecc2);
|
|
909
|
-
var __async22 = (__this, __arguments, generator) => {
|
|
910
|
-
return new Promise((resolve, reject) => {
|
|
911
|
-
var fulfilled = (value) => {
|
|
912
|
-
try {
|
|
913
|
-
step(generator.next(value));
|
|
914
|
-
} catch (e) {
|
|
915
|
-
reject(e);
|
|
916
|
-
}
|
|
917
|
-
};
|
|
918
|
-
var rejected = (value) => {
|
|
919
|
-
try {
|
|
920
|
-
step(generator.throw(value));
|
|
921
|
-
} catch (e) {
|
|
922
|
-
reject(e);
|
|
923
|
-
}
|
|
924
|
-
};
|
|
925
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
926
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
927
|
-
});
|
|
928
|
-
};
|
|
929
|
-
var MAINNET42 = "mainnet";
|
|
930
|
-
var initialWalletContext22 = {
|
|
931
|
-
hasUnisat: false,
|
|
932
|
-
hasXverse: false,
|
|
933
|
-
hasOyl: false,
|
|
934
|
-
hasMagicEden: false,
|
|
935
|
-
hasOkx: false,
|
|
936
|
-
hasLeather: false,
|
|
937
|
-
hasPhantom: false,
|
|
938
|
-
hasWizz: false,
|
|
939
|
-
isInitializing: true,
|
|
940
|
-
connected: false,
|
|
941
|
-
isConnecting: false,
|
|
942
|
-
publicKey: "",
|
|
943
|
-
address: "",
|
|
944
|
-
paymentAddress: "",
|
|
945
|
-
paymentPublicKey: "",
|
|
946
|
-
balance: void 0,
|
|
947
|
-
network: MAINNET42,
|
|
948
|
-
library: null,
|
|
949
|
-
provider: null,
|
|
950
|
-
accounts: [],
|
|
951
|
-
connect: (walletName) => __async22(void 0, null, function* () {
|
|
952
|
-
}),
|
|
953
|
-
disconnect: () => {
|
|
954
|
-
},
|
|
955
|
-
requestAccounts: () => __async22(void 0, null, function* () {
|
|
956
|
-
return [];
|
|
957
|
-
}),
|
|
958
|
-
getNetwork: () => __async22(void 0, null, function* () {
|
|
959
|
-
return MAINNET42;
|
|
960
|
-
}),
|
|
961
|
-
switchNetwork: (network) => __async22(void 0, null, function* () {
|
|
962
|
-
}),
|
|
963
|
-
getPublicKey: () => __async22(void 0, null, function* () {
|
|
964
|
-
return "";
|
|
965
|
-
}),
|
|
966
|
-
getBalance: () => __async22(void 0, null, function* () {
|
|
967
|
-
return "";
|
|
968
|
-
}),
|
|
969
|
-
getInscriptions: () => __async22(void 0, null, function* () {
|
|
970
|
-
return [];
|
|
971
|
-
}),
|
|
972
|
-
sendBTC: (to, amount) => __async22(void 0, null, function* () {
|
|
973
|
-
return "";
|
|
974
|
-
}),
|
|
975
|
-
signMessage: (message) => __async22(void 0, null, function* () {
|
|
976
|
-
return "";
|
|
977
|
-
}),
|
|
978
|
-
signPsbt: (tx) => __async22(void 0, null, function* () {
|
|
979
|
-
return {
|
|
980
|
-
signedPsbtHex: "",
|
|
981
|
-
signedPsbtBase64: "",
|
|
982
|
-
txId: ""
|
|
983
|
-
};
|
|
984
|
-
}),
|
|
985
|
-
pushPsbt: (tx) => __async22(void 0, null, function* () {
|
|
986
|
-
return "";
|
|
987
|
-
}),
|
|
988
|
-
inscribe: (content) => __async22(void 0, null, function* () {
|
|
989
|
-
return "";
|
|
990
|
-
}),
|
|
991
|
-
isCreatingCommit: false,
|
|
992
|
-
isInscribing: false
|
|
993
|
-
};
|
|
994
|
-
bitcoin22.initEccLib(ecc22);
|
|
995
|
-
var __async222 = (__this, __arguments, generator) => {
|
|
996
|
-
return new Promise((resolve, reject) => {
|
|
997
|
-
var fulfilled = (value) => {
|
|
998
|
-
try {
|
|
999
|
-
step(generator.next(value));
|
|
1000
|
-
} catch (e) {
|
|
1001
|
-
reject(e);
|
|
1002
|
-
}
|
|
1003
|
-
};
|
|
1004
|
-
var rejected = (value) => {
|
|
1005
|
-
try {
|
|
1006
|
-
step(generator.throw(value));
|
|
1007
|
-
} catch (e) {
|
|
1008
|
-
reject(e);
|
|
1009
|
-
}
|
|
1010
|
-
};
|
|
1011
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1012
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
1013
|
-
});
|
|
1014
|
-
};
|
|
1015
|
-
var MAINNET422 = "mainnet";
|
|
1016
|
-
var initialWalletContext222 = {
|
|
1017
|
-
hasUnisat: false,
|
|
1018
|
-
hasXverse: false,
|
|
1019
|
-
hasOyl: false,
|
|
1020
|
-
hasMagicEden: false,
|
|
1021
|
-
hasOkx: false,
|
|
1022
|
-
hasLeather: false,
|
|
1023
|
-
hasPhantom: false,
|
|
1024
|
-
hasWizz: false,
|
|
1025
|
-
isInitializing: true,
|
|
1026
|
-
connected: false,
|
|
1027
|
-
isConnecting: false,
|
|
1028
|
-
publicKey: "",
|
|
1029
|
-
address: "",
|
|
1030
|
-
paymentAddress: "",
|
|
1031
|
-
paymentPublicKey: "",
|
|
1032
|
-
balance: void 0,
|
|
1033
|
-
network: MAINNET422,
|
|
1034
|
-
library: null,
|
|
1035
|
-
provider: null,
|
|
1036
|
-
accounts: [],
|
|
1037
|
-
connect: (walletName) => __async222(void 0, null, function* () {
|
|
1038
|
-
}),
|
|
1039
|
-
disconnect: () => {
|
|
1040
|
-
},
|
|
1041
|
-
requestAccounts: () => __async222(void 0, null, function* () {
|
|
1042
|
-
return [];
|
|
1043
|
-
}),
|
|
1044
|
-
getNetwork: () => __async222(void 0, null, function* () {
|
|
1045
|
-
return MAINNET422;
|
|
1046
|
-
}),
|
|
1047
|
-
switchNetwork: (network) => __async222(void 0, null, function* () {
|
|
1048
|
-
}),
|
|
1049
|
-
getPublicKey: () => __async222(void 0, null, function* () {
|
|
1050
|
-
return "";
|
|
1051
|
-
}),
|
|
1052
|
-
getBalance: () => __async222(void 0, null, function* () {
|
|
1053
|
-
return "";
|
|
1054
|
-
}),
|
|
1055
|
-
getInscriptions: () => __async222(void 0, null, function* () {
|
|
1056
|
-
return [];
|
|
1057
|
-
}),
|
|
1058
|
-
sendBTC: (to, amount) => __async222(void 0, null, function* () {
|
|
1059
|
-
return "";
|
|
1060
|
-
}),
|
|
1061
|
-
signMessage: (message) => __async222(void 0, null, function* () {
|
|
1062
|
-
return "";
|
|
1063
|
-
}),
|
|
1064
|
-
signPsbt: (tx) => __async222(void 0, null, function* () {
|
|
1065
|
-
return {
|
|
1066
|
-
signedPsbtHex: "",
|
|
1067
|
-
signedPsbtBase64: "",
|
|
1068
|
-
txId: ""
|
|
1069
|
-
};
|
|
1070
|
-
}),
|
|
1071
|
-
pushPsbt: (tx) => __async222(void 0, null, function* () {
|
|
1072
|
-
return "";
|
|
1073
|
-
}),
|
|
1074
|
-
inscribe: (content) => __async222(void 0, null, function* () {
|
|
1075
|
-
return "";
|
|
1076
|
-
}),
|
|
1077
|
-
isCreatingCommit: false,
|
|
1078
|
-
isInscribing: false
|
|
1079
|
-
};
|
|
1080
|
-
bitcoin222.initEccLib(ecc222);
|
|
1081
|
-
var __async2222 = (__this, __arguments, generator) => {
|
|
1082
|
-
return new Promise((resolve, reject) => {
|
|
1083
|
-
var fulfilled = (value) => {
|
|
1084
|
-
try {
|
|
1085
|
-
step(generator.next(value));
|
|
1086
|
-
} catch (e) {
|
|
1087
|
-
reject(e);
|
|
1088
|
-
}
|
|
1089
|
-
};
|
|
1090
|
-
var rejected = (value) => {
|
|
1091
|
-
try {
|
|
1092
|
-
step(generator.throw(value));
|
|
1093
|
-
} catch (e) {
|
|
1094
|
-
reject(e);
|
|
1095
|
-
}
|
|
1096
|
-
};
|
|
1097
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1098
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
1099
|
-
});
|
|
1100
|
-
};
|
|
1101
|
-
var MAINNET4222 = "mainnet";
|
|
1102
|
-
var initialWalletContext2222 = {
|
|
1103
|
-
hasUnisat: false,
|
|
1104
|
-
hasXverse: false,
|
|
1105
|
-
hasOyl: false,
|
|
1106
|
-
hasMagicEden: false,
|
|
1107
|
-
hasOkx: false,
|
|
1108
|
-
hasLeather: false,
|
|
1109
|
-
hasPhantom: false,
|
|
1110
|
-
hasWizz: false,
|
|
1111
|
-
isInitializing: true,
|
|
1112
|
-
connected: false,
|
|
1113
|
-
isConnecting: false,
|
|
1114
|
-
publicKey: "",
|
|
1115
|
-
address: "",
|
|
1116
|
-
paymentAddress: "",
|
|
1117
|
-
paymentPublicKey: "",
|
|
1118
|
-
balance: void 0,
|
|
1119
|
-
network: MAINNET4222,
|
|
1120
|
-
library: null,
|
|
1121
|
-
provider: null,
|
|
1122
|
-
accounts: [],
|
|
1123
|
-
connect: (walletName) => __async2222(void 0, null, function* () {
|
|
1124
|
-
}),
|
|
1125
|
-
disconnect: () => {
|
|
1126
|
-
},
|
|
1127
|
-
requestAccounts: () => __async2222(void 0, null, function* () {
|
|
1128
|
-
return [];
|
|
1129
|
-
}),
|
|
1130
|
-
getNetwork: () => __async2222(void 0, null, function* () {
|
|
1131
|
-
return MAINNET4222;
|
|
1132
|
-
}),
|
|
1133
|
-
switchNetwork: (network) => __async2222(void 0, null, function* () {
|
|
1134
|
-
}),
|
|
1135
|
-
getPublicKey: () => __async2222(void 0, null, function* () {
|
|
1136
|
-
return "";
|
|
1137
|
-
}),
|
|
1138
|
-
getBalance: () => __async2222(void 0, null, function* () {
|
|
1139
|
-
return "";
|
|
1140
|
-
}),
|
|
1141
|
-
getInscriptions: () => __async2222(void 0, null, function* () {
|
|
1142
|
-
return [];
|
|
1143
|
-
}),
|
|
1144
|
-
sendBTC: (to, amount) => __async2222(void 0, null, function* () {
|
|
1145
|
-
return "";
|
|
1146
|
-
}),
|
|
1147
|
-
signMessage: (message) => __async2222(void 0, null, function* () {
|
|
1148
|
-
return "";
|
|
1149
|
-
}),
|
|
1150
|
-
signPsbt: (tx) => __async2222(void 0, null, function* () {
|
|
1151
|
-
return {
|
|
1152
|
-
signedPsbtHex: "",
|
|
1153
|
-
signedPsbtBase64: "",
|
|
1154
|
-
txId: ""
|
|
1155
|
-
};
|
|
1156
|
-
}),
|
|
1157
|
-
pushPsbt: (tx) => __async2222(void 0, null, function* () {
|
|
1158
|
-
return "";
|
|
1159
|
-
}),
|
|
1160
|
-
inscribe: (content) => __async2222(void 0, null, function* () {
|
|
1161
|
-
return "";
|
|
1162
|
-
}),
|
|
1163
|
-
isCreatingCommit: false,
|
|
1164
|
-
isInscribing: false
|
|
1165
|
-
};
|
|
1166
|
-
bitcoin2222.initEccLib(ecc2222);
|
|
1167
|
-
var __async22222 = (__this, __arguments, generator) => {
|
|
1168
|
-
return new Promise((resolve, reject) => {
|
|
1169
|
-
var fulfilled = (value) => {
|
|
1170
|
-
try {
|
|
1171
|
-
step(generator.next(value));
|
|
1172
|
-
} catch (e) {
|
|
1173
|
-
reject(e);
|
|
1174
|
-
}
|
|
1175
|
-
};
|
|
1176
|
-
var rejected = (value) => {
|
|
1177
|
-
try {
|
|
1178
|
-
step(generator.throw(value));
|
|
1179
|
-
} catch (e) {
|
|
1180
|
-
reject(e);
|
|
1181
|
-
}
|
|
1182
|
-
};
|
|
1183
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1184
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
1185
|
-
});
|
|
1186
|
-
};
|
|
1187
|
-
var MAINNET42222 = "mainnet";
|
|
1188
|
-
var initialWalletContext22222 = {
|
|
1189
|
-
hasUnisat: false,
|
|
1190
|
-
hasXverse: false,
|
|
1191
|
-
hasOyl: false,
|
|
1192
|
-
hasMagicEden: false,
|
|
1193
|
-
hasOkx: false,
|
|
1194
|
-
hasLeather: false,
|
|
1195
|
-
hasPhantom: false,
|
|
1196
|
-
hasWizz: false,
|
|
1197
|
-
isInitializing: true,
|
|
1198
|
-
connected: false,
|
|
1199
|
-
isConnecting: false,
|
|
1200
|
-
publicKey: "",
|
|
1201
|
-
address: "",
|
|
1202
|
-
paymentAddress: "",
|
|
1203
|
-
paymentPublicKey: "",
|
|
1204
|
-
balance: void 0,
|
|
1205
|
-
network: MAINNET42222,
|
|
1206
|
-
library: null,
|
|
1207
|
-
provider: null,
|
|
1208
|
-
accounts: [],
|
|
1209
|
-
connect: (walletName) => __async22222(void 0, null, function* () {
|
|
1210
|
-
}),
|
|
1211
|
-
disconnect: () => {
|
|
1212
|
-
},
|
|
1213
|
-
requestAccounts: () => __async22222(void 0, null, function* () {
|
|
1214
|
-
return [];
|
|
1215
|
-
}),
|
|
1216
|
-
getNetwork: () => __async22222(void 0, null, function* () {
|
|
1217
|
-
return MAINNET42222;
|
|
1218
|
-
}),
|
|
1219
|
-
switchNetwork: (network) => __async22222(void 0, null, function* () {
|
|
1220
|
-
}),
|
|
1221
|
-
getPublicKey: () => __async22222(void 0, null, function* () {
|
|
1222
|
-
return "";
|
|
1223
|
-
}),
|
|
1224
|
-
getBalance: () => __async22222(void 0, null, function* () {
|
|
1225
|
-
return "";
|
|
1226
|
-
}),
|
|
1227
|
-
getInscriptions: () => __async22222(void 0, null, function* () {
|
|
1228
|
-
return [];
|
|
1229
|
-
}),
|
|
1230
|
-
sendBTC: (to, amount) => __async22222(void 0, null, function* () {
|
|
1231
|
-
return "";
|
|
1232
|
-
}),
|
|
1233
|
-
signMessage: (message) => __async22222(void 0, null, function* () {
|
|
1234
|
-
return "";
|
|
1235
|
-
}),
|
|
1236
|
-
signPsbt: (tx) => __async22222(void 0, null, function* () {
|
|
1237
|
-
return {
|
|
1238
|
-
signedPsbtHex: "",
|
|
1239
|
-
signedPsbtBase64: "",
|
|
1240
|
-
txId: ""
|
|
1241
|
-
};
|
|
1242
|
-
}),
|
|
1243
|
-
pushPsbt: (tx) => __async22222(void 0, null, function* () {
|
|
1244
|
-
return "";
|
|
1245
|
-
}),
|
|
1246
|
-
inscribe: (content) => __async22222(void 0, null, function* () {
|
|
1247
|
-
return "";
|
|
1248
|
-
}),
|
|
1249
|
-
isCreatingCommit: false,
|
|
1250
|
-
isInscribing: false
|
|
1251
|
-
};
|
|
1252
|
-
bitcoin22222.initEccLib(ecc22222);
|
|
1253
|
-
var __async222222 = (__this, __arguments, generator) => {
|
|
1254
|
-
return new Promise((resolve, reject) => {
|
|
1255
|
-
var fulfilled = (value) => {
|
|
1256
|
-
try {
|
|
1257
|
-
step(generator.next(value));
|
|
1258
|
-
} catch (e) {
|
|
1259
|
-
reject(e);
|
|
1260
|
-
}
|
|
1261
|
-
};
|
|
1262
|
-
var rejected = (value) => {
|
|
1263
|
-
try {
|
|
1264
|
-
step(generator.throw(value));
|
|
1265
|
-
} catch (e) {
|
|
1266
|
-
reject(e);
|
|
1267
|
-
}
|
|
1268
|
-
};
|
|
1269
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1270
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
1271
|
-
});
|
|
1272
|
-
};
|
|
1273
|
-
var MAINNET422222 = "mainnet";
|
|
1274
|
-
var initialWalletContext222222 = {
|
|
1275
|
-
hasUnisat: false,
|
|
1276
|
-
hasXverse: false,
|
|
1277
|
-
hasOyl: false,
|
|
1278
|
-
hasMagicEden: false,
|
|
1279
|
-
hasOkx: false,
|
|
1280
|
-
hasLeather: false,
|
|
1281
|
-
hasPhantom: false,
|
|
1282
|
-
hasWizz: false,
|
|
1283
|
-
isInitializing: true,
|
|
1284
|
-
connected: false,
|
|
1285
|
-
isConnecting: false,
|
|
1286
|
-
publicKey: "",
|
|
1287
|
-
address: "",
|
|
1288
|
-
paymentAddress: "",
|
|
1289
|
-
paymentPublicKey: "",
|
|
1290
|
-
balance: void 0,
|
|
1291
|
-
network: MAINNET422222,
|
|
1292
|
-
library: null,
|
|
1293
|
-
provider: null,
|
|
1294
|
-
accounts: [],
|
|
1295
|
-
connect: (walletName) => __async222222(void 0, null, function* () {
|
|
1296
|
-
}),
|
|
1297
|
-
disconnect: () => {
|
|
1298
|
-
},
|
|
1299
|
-
requestAccounts: () => __async222222(void 0, null, function* () {
|
|
1300
|
-
return [];
|
|
1301
|
-
}),
|
|
1302
|
-
getNetwork: () => __async222222(void 0, null, function* () {
|
|
1303
|
-
return MAINNET422222;
|
|
1304
|
-
}),
|
|
1305
|
-
switchNetwork: (network) => __async222222(void 0, null, function* () {
|
|
1306
|
-
}),
|
|
1307
|
-
getPublicKey: () => __async222222(void 0, null, function* () {
|
|
1308
|
-
return "";
|
|
1309
|
-
}),
|
|
1310
|
-
getBalance: () => __async222222(void 0, null, function* () {
|
|
1311
|
-
return "";
|
|
1312
|
-
}),
|
|
1313
|
-
getInscriptions: () => __async222222(void 0, null, function* () {
|
|
1314
|
-
return [];
|
|
1315
|
-
}),
|
|
1316
|
-
sendBTC: (to, amount) => __async222222(void 0, null, function* () {
|
|
1317
|
-
return "";
|
|
1318
|
-
}),
|
|
1319
|
-
signMessage: (message) => __async222222(void 0, null, function* () {
|
|
1320
|
-
return "";
|
|
1321
|
-
}),
|
|
1322
|
-
signPsbt: (tx) => __async222222(void 0, null, function* () {
|
|
1323
|
-
return {
|
|
1324
|
-
signedPsbtHex: "",
|
|
1325
|
-
signedPsbtBase64: "",
|
|
1326
|
-
txId: ""
|
|
1327
|
-
};
|
|
1328
|
-
}),
|
|
1329
|
-
pushPsbt: (tx) => __async222222(void 0, null, function* () {
|
|
1330
|
-
return "";
|
|
1331
|
-
}),
|
|
1332
|
-
inscribe: (content) => __async222222(void 0, null, function* () {
|
|
1333
|
-
return "";
|
|
1334
|
-
}),
|
|
1335
|
-
isCreatingCommit: false,
|
|
1336
|
-
isInscribing: false
|
|
1337
|
-
};
|
|
1338
|
-
bitcoin222222.initEccLib(ecc222222);
|
|
1339
|
-
var __async2222222 = (__this, __arguments, generator) => {
|
|
1340
|
-
return new Promise((resolve, reject) => {
|
|
1341
|
-
var fulfilled = (value) => {
|
|
1342
|
-
try {
|
|
1343
|
-
step(generator.next(value));
|
|
1344
|
-
} catch (e) {
|
|
1345
|
-
reject(e);
|
|
1346
|
-
}
|
|
1347
|
-
};
|
|
1348
|
-
var rejected = (value) => {
|
|
1349
|
-
try {
|
|
1350
|
-
step(generator.throw(value));
|
|
1351
|
-
} catch (e) {
|
|
1352
|
-
reject(e);
|
|
1353
|
-
}
|
|
1354
|
-
};
|
|
1355
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1356
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
1357
|
-
});
|
|
1358
|
-
};
|
|
1359
|
-
var MAINNET4222222 = "mainnet";
|
|
1360
|
-
var initialWalletContext2222222 = {
|
|
1361
|
-
hasUnisat: false,
|
|
1362
|
-
hasXverse: false,
|
|
1363
|
-
hasOyl: false,
|
|
1364
|
-
hasMagicEden: false,
|
|
1365
|
-
hasOkx: false,
|
|
1366
|
-
hasLeather: false,
|
|
1367
|
-
hasPhantom: false,
|
|
1368
|
-
hasWizz: false,
|
|
1369
|
-
isInitializing: true,
|
|
1370
|
-
connected: false,
|
|
1371
|
-
isConnecting: false,
|
|
1372
|
-
publicKey: "",
|
|
1373
|
-
address: "",
|
|
1374
|
-
paymentAddress: "",
|
|
1375
|
-
paymentPublicKey: "",
|
|
1376
|
-
balance: void 0,
|
|
1377
|
-
network: MAINNET4222222,
|
|
1378
|
-
library: null,
|
|
1379
|
-
provider: null,
|
|
1380
|
-
accounts: [],
|
|
1381
|
-
connect: (walletName) => __async2222222(void 0, null, function* () {
|
|
1382
|
-
}),
|
|
1383
|
-
disconnect: () => {
|
|
1384
|
-
},
|
|
1385
|
-
requestAccounts: () => __async2222222(void 0, null, function* () {
|
|
1386
|
-
return [];
|
|
1387
|
-
}),
|
|
1388
|
-
getNetwork: () => __async2222222(void 0, null, function* () {
|
|
1389
|
-
return MAINNET4222222;
|
|
1390
|
-
}),
|
|
1391
|
-
switchNetwork: (network) => __async2222222(void 0, null, function* () {
|
|
1392
|
-
}),
|
|
1393
|
-
getPublicKey: () => __async2222222(void 0, null, function* () {
|
|
1394
|
-
return "";
|
|
1395
|
-
}),
|
|
1396
|
-
getBalance: () => __async2222222(void 0, null, function* () {
|
|
1397
|
-
return "";
|
|
1398
|
-
}),
|
|
1399
|
-
getInscriptions: () => __async2222222(void 0, null, function* () {
|
|
1400
|
-
return [];
|
|
1401
|
-
}),
|
|
1402
|
-
sendBTC: (to, amount) => __async2222222(void 0, null, function* () {
|
|
1403
|
-
return "";
|
|
1404
|
-
}),
|
|
1405
|
-
signMessage: (message) => __async2222222(void 0, null, function* () {
|
|
1406
|
-
return "";
|
|
1407
|
-
}),
|
|
1408
|
-
signPsbt: (tx) => __async2222222(void 0, null, function* () {
|
|
1409
|
-
return {
|
|
1410
|
-
signedPsbtHex: "",
|
|
1411
|
-
signedPsbtBase64: "",
|
|
1412
|
-
txId: ""
|
|
1413
|
-
};
|
|
1414
|
-
}),
|
|
1415
|
-
pushPsbt: (tx) => __async2222222(void 0, null, function* () {
|
|
1416
|
-
return "";
|
|
1417
|
-
}),
|
|
1418
|
-
inscribe: (content) => __async2222222(void 0, null, function* () {
|
|
1419
|
-
return "";
|
|
1420
|
-
}),
|
|
1421
|
-
isCreatingCommit: false,
|
|
1422
|
-
isInscribing: false
|
|
1423
|
-
};
|
|
1424
|
-
bitcoin2222222.initEccLib(ecc2222222);
|
|
1425
|
-
var MAINNET42222222 = "mainnet";
|
|
1426
|
-
var initialWalletContext22222222 = {
|
|
1427
|
-
hasUnisat: false,
|
|
1428
|
-
hasXverse: false,
|
|
1429
|
-
hasOyl: false,
|
|
1430
|
-
hasMagicEden: false,
|
|
1431
|
-
hasOkx: false,
|
|
1432
|
-
hasLeather: false,
|
|
1433
|
-
hasPhantom: false,
|
|
1434
|
-
hasWizz: false,
|
|
1435
|
-
isInitializing: true,
|
|
1436
|
-
connected: false,
|
|
1437
|
-
isConnecting: false,
|
|
1438
|
-
publicKey: "",
|
|
1439
|
-
address: "",
|
|
1440
|
-
paymentAddress: "",
|
|
1441
|
-
paymentPublicKey: "",
|
|
1442
|
-
balance: void 0,
|
|
1443
|
-
network: MAINNET42222222,
|
|
1444
|
-
library: null,
|
|
1445
|
-
provider: null,
|
|
1446
|
-
accounts: [],
|
|
1447
|
-
connect: (walletName) => __async2222222(void 0, null, function* () {
|
|
1448
|
-
}),
|
|
1449
|
-
disconnect: () => {
|
|
1450
|
-
},
|
|
1451
|
-
requestAccounts: () => __async2222222(void 0, null, function* () {
|
|
1452
|
-
return [];
|
|
1453
|
-
}),
|
|
1454
|
-
getNetwork: () => __async2222222(void 0, null, function* () {
|
|
1455
|
-
return MAINNET42222222;
|
|
1456
|
-
}),
|
|
1457
|
-
switchNetwork: (network) => __async2222222(void 0, null, function* () {
|
|
1458
|
-
}),
|
|
1459
|
-
getPublicKey: () => __async2222222(void 0, null, function* () {
|
|
1460
|
-
return "";
|
|
1461
|
-
}),
|
|
1462
|
-
getBalance: () => __async2222222(void 0, null, function* () {
|
|
1463
|
-
return "";
|
|
1464
|
-
}),
|
|
1465
|
-
getInscriptions: () => __async2222222(void 0, null, function* () {
|
|
1466
|
-
return [];
|
|
1467
|
-
}),
|
|
1468
|
-
sendBTC: (to, amount) => __async2222222(void 0, null, function* () {
|
|
1469
|
-
return "";
|
|
1470
|
-
}),
|
|
1471
|
-
signMessage: (message) => __async2222222(void 0, null, function* () {
|
|
1472
|
-
return "";
|
|
1473
|
-
}),
|
|
1474
|
-
signPsbt: (tx) => __async2222222(void 0, null, function* () {
|
|
1475
|
-
return {
|
|
1476
|
-
signedPsbtHex: "",
|
|
1477
|
-
signedPsbtBase64: "",
|
|
1478
|
-
txId: ""
|
|
1479
|
-
};
|
|
1480
|
-
}),
|
|
1481
|
-
pushPsbt: (tx) => __async2222222(void 0, null, function* () {
|
|
1482
|
-
return "";
|
|
1483
|
-
}),
|
|
1484
|
-
inscribe: (content) => __async2222222(void 0, null, function* () {
|
|
1485
|
-
return "";
|
|
1486
|
-
}),
|
|
1487
|
-
isCreatingCommit: false,
|
|
1488
|
-
isInscribing: false
|
|
1489
|
-
};
|
|
1490
|
-
bitcoin22222222.initEccLib(ecc22222222);
|
|
1491
|
-
var __async22222222 = (__this, __arguments, generator) => {
|
|
1492
|
-
return new Promise((resolve, reject) => {
|
|
1493
|
-
var fulfilled = (value) => {
|
|
1494
|
-
try {
|
|
1495
|
-
step(generator.next(value));
|
|
1496
|
-
} catch (e) {
|
|
1497
|
-
reject(e);
|
|
1498
|
-
}
|
|
1499
|
-
};
|
|
1500
|
-
var rejected = (value) => {
|
|
1501
|
-
try {
|
|
1502
|
-
step(generator.throw(value));
|
|
1503
|
-
} catch (e) {
|
|
1504
|
-
reject(e);
|
|
1505
|
-
}
|
|
1506
|
-
};
|
|
1507
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1508
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
1509
|
-
});
|
|
1510
|
-
};
|
|
1511
|
-
var MAINNET422222222 = "mainnet";
|
|
1512
|
-
var initialWalletContext222222222 = {
|
|
1513
|
-
hasUnisat: false,
|
|
1514
|
-
hasXverse: false,
|
|
1515
|
-
hasOyl: false,
|
|
1516
|
-
hasMagicEden: false,
|
|
1517
|
-
hasOkx: false,
|
|
1518
|
-
hasLeather: false,
|
|
1519
|
-
hasPhantom: false,
|
|
1520
|
-
hasWizz: false,
|
|
1521
|
-
isInitializing: true,
|
|
1522
|
-
connected: false,
|
|
1523
|
-
isConnecting: false,
|
|
1524
|
-
publicKey: "",
|
|
1525
|
-
address: "",
|
|
1526
|
-
paymentAddress: "",
|
|
1527
|
-
paymentPublicKey: "",
|
|
1528
|
-
balance: void 0,
|
|
1529
|
-
network: MAINNET422222222,
|
|
1530
|
-
library: null,
|
|
1531
|
-
provider: null,
|
|
1532
|
-
accounts: [],
|
|
1533
|
-
connect: (walletName) => __async22222222(void 0, null, function* () {
|
|
1534
|
-
}),
|
|
1535
|
-
disconnect: () => {
|
|
1536
|
-
},
|
|
1537
|
-
requestAccounts: () => __async22222222(void 0, null, function* () {
|
|
1538
|
-
return [];
|
|
1539
|
-
}),
|
|
1540
|
-
getNetwork: () => __async22222222(void 0, null, function* () {
|
|
1541
|
-
return MAINNET422222222;
|
|
1542
|
-
}),
|
|
1543
|
-
switchNetwork: (network) => __async22222222(void 0, null, function* () {
|
|
1544
|
-
}),
|
|
1545
|
-
getPublicKey: () => __async22222222(void 0, null, function* () {
|
|
1546
|
-
return "";
|
|
1547
|
-
}),
|
|
1548
|
-
getBalance: () => __async22222222(void 0, null, function* () {
|
|
1549
|
-
return "";
|
|
1550
|
-
}),
|
|
1551
|
-
getInscriptions: () => __async22222222(void 0, null, function* () {
|
|
1552
|
-
return [];
|
|
1553
|
-
}),
|
|
1554
|
-
sendBTC: (to, amount) => __async22222222(void 0, null, function* () {
|
|
1555
|
-
return "";
|
|
1556
|
-
}),
|
|
1557
|
-
signMessage: (message) => __async22222222(void 0, null, function* () {
|
|
1558
|
-
return "";
|
|
1559
|
-
}),
|
|
1560
|
-
signPsbt: (tx) => __async22222222(void 0, null, function* () {
|
|
1561
|
-
return {
|
|
1562
|
-
signedPsbtHex: "",
|
|
1563
|
-
signedPsbtBase64: "",
|
|
1564
|
-
txId: ""
|
|
1565
|
-
};
|
|
1566
|
-
}),
|
|
1567
|
-
pushPsbt: (tx) => __async22222222(void 0, null, function* () {
|
|
1568
|
-
return "";
|
|
1569
|
-
}),
|
|
1570
|
-
inscribe: (content) => __async22222222(void 0, null, function* () {
|
|
1571
|
-
return "";
|
|
1572
|
-
}),
|
|
1573
|
-
isCreatingCommit: false,
|
|
1574
|
-
isInscribing: false
|
|
1575
|
-
};
|
|
1576
|
-
bitcoin222222222.initEccLib(ecc222222222);
|
|
1577
|
-
var __async222222222 = (__this, __arguments, generator) => {
|
|
1578
|
-
return new Promise((resolve, reject) => {
|
|
1579
|
-
var fulfilled = (value) => {
|
|
1580
|
-
try {
|
|
1581
|
-
step(generator.next(value));
|
|
1582
|
-
} catch (e) {
|
|
1583
|
-
reject(e);
|
|
1584
|
-
}
|
|
1585
|
-
};
|
|
1586
|
-
var rejected = (value) => {
|
|
1587
|
-
try {
|
|
1588
|
-
step(generator.throw(value));
|
|
1589
|
-
} catch (e) {
|
|
1590
|
-
reject(e);
|
|
1591
|
-
}
|
|
1592
|
-
};
|
|
1593
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1594
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
1595
|
-
});
|
|
1596
|
-
};
|
|
1597
|
-
var MAINNET4222222222 = "mainnet";
|
|
1598
|
-
var initialWalletContext2222222222 = {
|
|
1599
|
-
hasUnisat: false,
|
|
1600
|
-
hasXverse: false,
|
|
1601
|
-
hasOyl: false,
|
|
1602
|
-
hasMagicEden: false,
|
|
1603
|
-
hasOkx: false,
|
|
1604
|
-
hasLeather: false,
|
|
1605
|
-
hasPhantom: false,
|
|
1606
|
-
hasWizz: false,
|
|
1607
|
-
isInitializing: true,
|
|
1608
|
-
connected: false,
|
|
1609
|
-
isConnecting: false,
|
|
1610
|
-
publicKey: "",
|
|
1611
|
-
address: "",
|
|
1612
|
-
paymentAddress: "",
|
|
1613
|
-
paymentPublicKey: "",
|
|
1614
|
-
balance: void 0,
|
|
1615
|
-
network: MAINNET4222222222,
|
|
1616
|
-
library: null,
|
|
1617
|
-
provider: null,
|
|
1618
|
-
accounts: [],
|
|
1619
|
-
connect: (walletName) => __async222222222(void 0, null, function* () {
|
|
1620
|
-
}),
|
|
1621
|
-
disconnect: () => {
|
|
1622
|
-
},
|
|
1623
|
-
requestAccounts: () => __async222222222(void 0, null, function* () {
|
|
1624
|
-
return [];
|
|
1625
|
-
}),
|
|
1626
|
-
getNetwork: () => __async222222222(void 0, null, function* () {
|
|
1627
|
-
return MAINNET4222222222;
|
|
1628
|
-
}),
|
|
1629
|
-
switchNetwork: (network) => __async222222222(void 0, null, function* () {
|
|
1630
|
-
}),
|
|
1631
|
-
getPublicKey: () => __async222222222(void 0, null, function* () {
|
|
1632
|
-
return "";
|
|
1633
|
-
}),
|
|
1634
|
-
getBalance: () => __async222222222(void 0, null, function* () {
|
|
1635
|
-
return "";
|
|
1636
|
-
}),
|
|
1637
|
-
getInscriptions: () => __async222222222(void 0, null, function* () {
|
|
1638
|
-
return [];
|
|
1639
|
-
}),
|
|
1640
|
-
sendBTC: (to, amount) => __async222222222(void 0, null, function* () {
|
|
1641
|
-
return "";
|
|
1642
|
-
}),
|
|
1643
|
-
signMessage: (message) => __async222222222(void 0, null, function* () {
|
|
1644
|
-
return "";
|
|
1645
|
-
}),
|
|
1646
|
-
signPsbt: (tx) => __async222222222(void 0, null, function* () {
|
|
1647
|
-
return {
|
|
1648
|
-
signedPsbtHex: "",
|
|
1649
|
-
signedPsbtBase64: "",
|
|
1650
|
-
txId: ""
|
|
1651
|
-
};
|
|
1652
|
-
}),
|
|
1653
|
-
pushPsbt: (tx) => __async222222222(void 0, null, function* () {
|
|
1654
|
-
return "";
|
|
1655
|
-
}),
|
|
1656
|
-
inscribe: (content) => __async222222222(void 0, null, function* () {
|
|
1657
|
-
return "";
|
|
1658
|
-
}),
|
|
1659
|
-
isCreatingCommit: false,
|
|
1660
|
-
isInscribing: false
|
|
1661
|
-
};
|
|
1662
|
-
bitcoin2222222222.initEccLib(ecc2222222222);
|
|
1663
|
-
var __async2222222222 = (__this, __arguments, generator) => {
|
|
1664
|
-
return new Promise((resolve, reject) => {
|
|
1665
|
-
var fulfilled = (value) => {
|
|
1666
|
-
try {
|
|
1667
|
-
step(generator.next(value));
|
|
1668
|
-
} catch (e) {
|
|
1669
|
-
reject(e);
|
|
1670
|
-
}
|
|
1671
|
-
};
|
|
1672
|
-
var rejected = (value) => {
|
|
1673
|
-
try {
|
|
1674
|
-
step(generator.throw(value));
|
|
1675
|
-
} catch (e) {
|
|
1676
|
-
reject(e);
|
|
1677
|
-
}
|
|
1678
|
-
};
|
|
1679
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1680
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
1681
|
-
});
|
|
1682
|
-
};
|
|
1683
|
-
var MAINNET42222222222 = "mainnet";
|
|
1684
|
-
var initialWalletContext22222222222 = {
|
|
1685
|
-
hasUnisat: false,
|
|
1686
|
-
hasXverse: false,
|
|
1687
|
-
hasOyl: false,
|
|
1688
|
-
hasMagicEden: false,
|
|
1689
|
-
hasOkx: false,
|
|
1690
|
-
hasLeather: false,
|
|
1691
|
-
hasPhantom: false,
|
|
1692
|
-
hasWizz: false,
|
|
1693
|
-
isInitializing: true,
|
|
1694
|
-
connected: false,
|
|
1695
|
-
isConnecting: false,
|
|
1696
|
-
publicKey: "",
|
|
1697
|
-
address: "",
|
|
1698
|
-
paymentAddress: "",
|
|
1699
|
-
paymentPublicKey: "",
|
|
1700
|
-
balance: void 0,
|
|
1701
|
-
network: MAINNET42222222222,
|
|
1702
|
-
library: null,
|
|
1703
|
-
provider: null,
|
|
1704
|
-
accounts: [],
|
|
1705
|
-
connect: (walletName) => __async2222222222(void 0, null, function* () {
|
|
1706
|
-
}),
|
|
1707
|
-
disconnect: () => {
|
|
1708
|
-
},
|
|
1709
|
-
requestAccounts: () => __async2222222222(void 0, null, function* () {
|
|
1710
|
-
return [];
|
|
1711
|
-
}),
|
|
1712
|
-
getNetwork: () => __async2222222222(void 0, null, function* () {
|
|
1713
|
-
return MAINNET42222222222;
|
|
1714
|
-
}),
|
|
1715
|
-
switchNetwork: (network) => __async2222222222(void 0, null, function* () {
|
|
1716
|
-
}),
|
|
1717
|
-
getPublicKey: () => __async2222222222(void 0, null, function* () {
|
|
1718
|
-
return "";
|
|
1719
|
-
}),
|
|
1720
|
-
getBalance: () => __async2222222222(void 0, null, function* () {
|
|
1721
|
-
return "";
|
|
1722
|
-
}),
|
|
1723
|
-
getInscriptions: () => __async2222222222(void 0, null, function* () {
|
|
1724
|
-
return [];
|
|
1725
|
-
}),
|
|
1726
|
-
sendBTC: (to, amount) => __async2222222222(void 0, null, function* () {
|
|
1727
|
-
return "";
|
|
1728
|
-
}),
|
|
1729
|
-
signMessage: (message) => __async2222222222(void 0, null, function* () {
|
|
1730
|
-
return "";
|
|
1731
|
-
}),
|
|
1732
|
-
signPsbt: (tx) => __async2222222222(void 0, null, function* () {
|
|
1733
|
-
return {
|
|
1734
|
-
signedPsbtHex: "",
|
|
1735
|
-
signedPsbtBase64: "",
|
|
1736
|
-
txId: ""
|
|
1737
|
-
};
|
|
1738
|
-
}),
|
|
1739
|
-
pushPsbt: (tx) => __async2222222222(void 0, null, function* () {
|
|
1740
|
-
return "";
|
|
1741
|
-
}),
|
|
1742
|
-
inscribe: (content) => __async2222222222(void 0, null, function* () {
|
|
1743
|
-
return "";
|
|
1744
|
-
}),
|
|
1745
|
-
isCreatingCommit: false,
|
|
1746
|
-
isInscribing: false
|
|
1747
|
-
};
|
|
1748
|
-
bitcoin22222222222.initEccLib(ecc22222222222);
|
|
1749
|
-
var __async22222222222 = (__this, __arguments, generator) => {
|
|
1750
|
-
return new Promise((resolve, reject) => {
|
|
1751
|
-
var fulfilled = (value) => {
|
|
1752
|
-
try {
|
|
1753
|
-
step(generator.next(value));
|
|
1754
|
-
} catch (e) {
|
|
1755
|
-
reject(e);
|
|
1756
|
-
}
|
|
1757
|
-
};
|
|
1758
|
-
var rejected = (value) => {
|
|
1759
|
-
try {
|
|
1760
|
-
step(generator.throw(value));
|
|
1761
|
-
} catch (e) {
|
|
1762
|
-
reject(e);
|
|
1763
|
-
}
|
|
1764
|
-
};
|
|
1765
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1766
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
1767
|
-
});
|
|
1768
|
-
};
|
|
1769
|
-
var MAINNET422222222222 = "mainnet";
|
|
1770
|
-
var initialWalletContext222222222222 = {
|
|
1771
|
-
hasUnisat: false,
|
|
1772
|
-
hasXverse: false,
|
|
1773
|
-
hasOyl: false,
|
|
1774
|
-
hasMagicEden: false,
|
|
1775
|
-
hasOkx: false,
|
|
1776
|
-
hasLeather: false,
|
|
1777
|
-
hasPhantom: false,
|
|
1778
|
-
hasWizz: false,
|
|
1779
|
-
isInitializing: true,
|
|
1780
|
-
connected: false,
|
|
1781
|
-
isConnecting: false,
|
|
1782
|
-
publicKey: "",
|
|
1783
|
-
address: "",
|
|
1784
|
-
paymentAddress: "",
|
|
1785
|
-
paymentPublicKey: "",
|
|
1786
|
-
balance: void 0,
|
|
1787
|
-
network: MAINNET422222222222,
|
|
1788
|
-
library: null,
|
|
1789
|
-
provider: null,
|
|
1790
|
-
accounts: [],
|
|
1791
|
-
connect: (walletName) => __async22222222222(void 0, null, function* () {
|
|
1792
|
-
}),
|
|
1793
|
-
disconnect: () => {
|
|
1794
|
-
},
|
|
1795
|
-
requestAccounts: () => __async22222222222(void 0, null, function* () {
|
|
1796
|
-
return [];
|
|
1797
|
-
}),
|
|
1798
|
-
getNetwork: () => __async22222222222(void 0, null, function* () {
|
|
1799
|
-
return MAINNET422222222222;
|
|
1800
|
-
}),
|
|
1801
|
-
switchNetwork: (network) => __async22222222222(void 0, null, function* () {
|
|
1802
|
-
}),
|
|
1803
|
-
getPublicKey: () => __async22222222222(void 0, null, function* () {
|
|
1804
|
-
return "";
|
|
1805
|
-
}),
|
|
1806
|
-
getBalance: () => __async22222222222(void 0, null, function* () {
|
|
1807
|
-
return "";
|
|
1808
|
-
}),
|
|
1809
|
-
getInscriptions: () => __async22222222222(void 0, null, function* () {
|
|
1810
|
-
return [];
|
|
1811
|
-
}),
|
|
1812
|
-
sendBTC: (to, amount) => __async22222222222(void 0, null, function* () {
|
|
1813
|
-
return "";
|
|
1814
|
-
}),
|
|
1815
|
-
signMessage: (message) => __async22222222222(void 0, null, function* () {
|
|
1816
|
-
return "";
|
|
1817
|
-
}),
|
|
1818
|
-
signPsbt: (tx) => __async22222222222(void 0, null, function* () {
|
|
1819
|
-
return {
|
|
1820
|
-
signedPsbtHex: "",
|
|
1821
|
-
signedPsbtBase64: "",
|
|
1822
|
-
txId: ""
|
|
1823
|
-
};
|
|
1824
|
-
}),
|
|
1825
|
-
pushPsbt: (tx) => __async22222222222(void 0, null, function* () {
|
|
1826
|
-
return "";
|
|
1827
|
-
}),
|
|
1828
|
-
inscribe: (content) => __async22222222222(void 0, null, function* () {
|
|
1829
|
-
return "";
|
|
1830
|
-
}),
|
|
1831
|
-
isCreatingCommit: false,
|
|
1832
|
-
isInscribing: false
|
|
1833
|
-
};
|
|
1834
|
-
bitcoin222222222222.initEccLib(ecc222222222222);
|
|
1835
|
-
var __async222222222222 = (__this, __arguments, generator) => {
|
|
1836
|
-
return new Promise((resolve, reject) => {
|
|
1837
|
-
var fulfilled = (value) => {
|
|
1838
|
-
try {
|
|
1839
|
-
step(generator.next(value));
|
|
1840
|
-
} catch (e) {
|
|
1841
|
-
reject(e);
|
|
1842
|
-
}
|
|
1843
|
-
};
|
|
1844
|
-
var rejected = (value) => {
|
|
1845
|
-
try {
|
|
1846
|
-
step(generator.throw(value));
|
|
1847
|
-
} catch (e) {
|
|
1848
|
-
reject(e);
|
|
1849
|
-
}
|
|
1850
|
-
};
|
|
1851
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1852
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
1853
|
-
});
|
|
1854
|
-
};
|
|
1855
|
-
var MAINNET4222222222222 = "mainnet";
|
|
1856
|
-
var initialWalletContext2222222222222 = {
|
|
1857
|
-
hasUnisat: false,
|
|
1858
|
-
hasXverse: false,
|
|
1859
|
-
hasOyl: false,
|
|
1860
|
-
hasMagicEden: false,
|
|
1861
|
-
hasOkx: false,
|
|
1862
|
-
hasLeather: false,
|
|
1863
|
-
hasPhantom: false,
|
|
1864
|
-
hasWizz: false,
|
|
1865
|
-
isInitializing: true,
|
|
1866
|
-
connected: false,
|
|
1867
|
-
isConnecting: false,
|
|
1868
|
-
publicKey: "",
|
|
1869
|
-
address: "",
|
|
1870
|
-
paymentAddress: "",
|
|
1871
|
-
paymentPublicKey: "",
|
|
1872
|
-
balance: void 0,
|
|
1873
|
-
network: MAINNET4222222222222,
|
|
1874
|
-
library: null,
|
|
1875
|
-
provider: null,
|
|
1876
|
-
accounts: [],
|
|
1877
|
-
connect: (walletName) => __async222222222222(void 0, null, function* () {
|
|
1878
|
-
}),
|
|
1879
|
-
disconnect: () => {
|
|
1880
|
-
},
|
|
1881
|
-
requestAccounts: () => __async222222222222(void 0, null, function* () {
|
|
1882
|
-
return [];
|
|
1883
|
-
}),
|
|
1884
|
-
getNetwork: () => __async222222222222(void 0, null, function* () {
|
|
1885
|
-
return MAINNET4222222222222;
|
|
1886
|
-
}),
|
|
1887
|
-
switchNetwork: (network) => __async222222222222(void 0, null, function* () {
|
|
1888
|
-
}),
|
|
1889
|
-
getPublicKey: () => __async222222222222(void 0, null, function* () {
|
|
1890
|
-
return "";
|
|
1891
|
-
}),
|
|
1892
|
-
getBalance: () => __async222222222222(void 0, null, function* () {
|
|
1893
|
-
return "";
|
|
1894
|
-
}),
|
|
1895
|
-
getInscriptions: () => __async222222222222(void 0, null, function* () {
|
|
1896
|
-
return [];
|
|
1897
|
-
}),
|
|
1898
|
-
sendBTC: (to, amount) => __async222222222222(void 0, null, function* () {
|
|
1899
|
-
return "";
|
|
1900
|
-
}),
|
|
1901
|
-
signMessage: (message) => __async222222222222(void 0, null, function* () {
|
|
1902
|
-
return "";
|
|
1903
|
-
}),
|
|
1904
|
-
signPsbt: (tx) => __async222222222222(void 0, null, function* () {
|
|
1905
|
-
return {
|
|
1906
|
-
signedPsbtHex: "",
|
|
1907
|
-
signedPsbtBase64: "",
|
|
1908
|
-
txId: ""
|
|
1909
|
-
};
|
|
1910
|
-
}),
|
|
1911
|
-
pushPsbt: (tx) => __async222222222222(void 0, null, function* () {
|
|
1912
|
-
return "";
|
|
1913
|
-
}),
|
|
1914
|
-
inscribe: (content) => __async222222222222(void 0, null, function* () {
|
|
1915
|
-
return "";
|
|
1916
|
-
}),
|
|
1917
|
-
isCreatingCommit: false,
|
|
1918
|
-
isInscribing: false
|
|
1919
|
-
};
|
|
1920
|
-
bitcoin2222222222222.initEccLib(ecc2222222222222);
|
|
1921
|
-
var __async2222222222222 = (__this, __arguments, generator) => {
|
|
1922
|
-
return new Promise((resolve, reject) => {
|
|
1923
|
-
var fulfilled = (value) => {
|
|
1924
|
-
try {
|
|
1925
|
-
step(generator.next(value));
|
|
1926
|
-
} catch (e) {
|
|
1927
|
-
reject(e);
|
|
1928
|
-
}
|
|
1929
|
-
};
|
|
1930
|
-
var rejected = (value) => {
|
|
1931
|
-
try {
|
|
1932
|
-
step(generator.throw(value));
|
|
1933
|
-
} catch (e) {
|
|
1934
|
-
reject(e);
|
|
1935
|
-
}
|
|
1936
|
-
};
|
|
1937
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
1938
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
1939
|
-
});
|
|
1940
|
-
};
|
|
1941
|
-
var MAINNET42222222222222 = "mainnet";
|
|
1942
|
-
var initialWalletContext22222222222222 = {
|
|
1943
|
-
hasUnisat: false,
|
|
1944
|
-
hasXverse: false,
|
|
1945
|
-
hasOyl: false,
|
|
1946
|
-
hasMagicEden: false,
|
|
1947
|
-
hasOkx: false,
|
|
1948
|
-
hasLeather: false,
|
|
1949
|
-
hasPhantom: false,
|
|
1950
|
-
hasWizz: false,
|
|
1951
|
-
isInitializing: true,
|
|
1952
|
-
connected: false,
|
|
1953
|
-
isConnecting: false,
|
|
1954
|
-
publicKey: "",
|
|
1955
|
-
address: "",
|
|
1956
|
-
paymentAddress: "",
|
|
1957
|
-
paymentPublicKey: "",
|
|
1958
|
-
balance: void 0,
|
|
1959
|
-
network: MAINNET42222222222222,
|
|
1960
|
-
library: null,
|
|
1961
|
-
provider: null,
|
|
1962
|
-
accounts: [],
|
|
1963
|
-
connect: (walletName) => __async2222222222222(void 0, null, function* () {
|
|
1964
|
-
}),
|
|
1965
|
-
disconnect: () => {
|
|
1966
|
-
},
|
|
1967
|
-
requestAccounts: () => __async2222222222222(void 0, null, function* () {
|
|
1968
|
-
return [];
|
|
1969
|
-
}),
|
|
1970
|
-
getNetwork: () => __async2222222222222(void 0, null, function* () {
|
|
1971
|
-
return MAINNET42222222222222;
|
|
1972
|
-
}),
|
|
1973
|
-
switchNetwork: (network) => __async2222222222222(void 0, null, function* () {
|
|
1974
|
-
}),
|
|
1975
|
-
getPublicKey: () => __async2222222222222(void 0, null, function* () {
|
|
1976
|
-
return "";
|
|
1977
|
-
}),
|
|
1978
|
-
getBalance: () => __async2222222222222(void 0, null, function* () {
|
|
1979
|
-
return "";
|
|
1980
|
-
}),
|
|
1981
|
-
getInscriptions: () => __async2222222222222(void 0, null, function* () {
|
|
1982
|
-
return [];
|
|
1983
|
-
}),
|
|
1984
|
-
sendBTC: (to, amount) => __async2222222222222(void 0, null, function* () {
|
|
1985
|
-
return "";
|
|
1986
|
-
}),
|
|
1987
|
-
signMessage: (message) => __async2222222222222(void 0, null, function* () {
|
|
1988
|
-
return "";
|
|
1989
|
-
}),
|
|
1990
|
-
signPsbt: (tx) => __async2222222222222(void 0, null, function* () {
|
|
1991
|
-
return {
|
|
1992
|
-
signedPsbtHex: "",
|
|
1993
|
-
signedPsbtBase64: "",
|
|
1994
|
-
txId: ""
|
|
1995
|
-
};
|
|
1996
|
-
}),
|
|
1997
|
-
pushPsbt: (tx) => __async2222222222222(void 0, null, function* () {
|
|
1998
|
-
return "";
|
|
1999
|
-
}),
|
|
2000
|
-
inscribe: (content) => __async2222222222222(void 0, null, function* () {
|
|
2001
|
-
return "";
|
|
2002
|
-
}),
|
|
2003
|
-
isCreatingCommit: false,
|
|
2004
|
-
isInscribing: false
|
|
2005
|
-
};
|
|
2006
|
-
bitcoin22222222222222.initEccLib(ecc22222222222222);
|
|
2007
|
-
var __async22222222222222 = (__this, __arguments, generator) => {
|
|
2008
|
-
return new Promise((resolve, reject) => {
|
|
2009
|
-
var fulfilled = (value) => {
|
|
2010
|
-
try {
|
|
2011
|
-
step(generator.next(value));
|
|
2012
|
-
} catch (e) {
|
|
2013
|
-
reject(e);
|
|
2014
|
-
}
|
|
2015
|
-
};
|
|
2016
|
-
var rejected = (value) => {
|
|
2017
|
-
try {
|
|
2018
|
-
step(generator.throw(value));
|
|
2019
|
-
} catch (e) {
|
|
2020
|
-
reject(e);
|
|
2021
|
-
}
|
|
2022
|
-
};
|
|
2023
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
2024
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
2025
|
-
});
|
|
2026
|
-
};
|
|
2027
|
-
var MAINNET422222222222222 = "mainnet";
|
|
2028
|
-
var initialWalletContext222222222222222 = {
|
|
2029
|
-
hasUnisat: false,
|
|
2030
|
-
hasXverse: false,
|
|
2031
|
-
hasOyl: false,
|
|
2032
|
-
hasMagicEden: false,
|
|
2033
|
-
hasOkx: false,
|
|
2034
|
-
hasLeather: false,
|
|
2035
|
-
hasPhantom: false,
|
|
2036
|
-
hasWizz: false,
|
|
2037
|
-
isInitializing: true,
|
|
2038
|
-
connected: false,
|
|
2039
|
-
isConnecting: false,
|
|
2040
|
-
publicKey: "",
|
|
2041
|
-
address: "",
|
|
2042
|
-
paymentAddress: "",
|
|
2043
|
-
paymentPublicKey: "",
|
|
2044
|
-
balance: void 0,
|
|
2045
|
-
network: MAINNET422222222222222,
|
|
2046
|
-
library: null,
|
|
2047
|
-
provider: null,
|
|
2048
|
-
accounts: [],
|
|
2049
|
-
connect: (walletName) => __async22222222222222(void 0, null, function* () {
|
|
2050
|
-
}),
|
|
2051
|
-
disconnect: () => {
|
|
2052
|
-
},
|
|
2053
|
-
requestAccounts: () => __async22222222222222(void 0, null, function* () {
|
|
2054
|
-
return [];
|
|
2055
|
-
}),
|
|
2056
|
-
getNetwork: () => __async22222222222222(void 0, null, function* () {
|
|
2057
|
-
return MAINNET422222222222222;
|
|
2058
|
-
}),
|
|
2059
|
-
switchNetwork: (network) => __async22222222222222(void 0, null, function* () {
|
|
2060
|
-
}),
|
|
2061
|
-
getPublicKey: () => __async22222222222222(void 0, null, function* () {
|
|
2062
|
-
return "";
|
|
2063
|
-
}),
|
|
2064
|
-
getBalance: () => __async22222222222222(void 0, null, function* () {
|
|
2065
|
-
return "";
|
|
2066
|
-
}),
|
|
2067
|
-
getInscriptions: () => __async22222222222222(void 0, null, function* () {
|
|
2068
|
-
return [];
|
|
2069
|
-
}),
|
|
2070
|
-
sendBTC: (to, amount) => __async22222222222222(void 0, null, function* () {
|
|
2071
|
-
return "";
|
|
2072
|
-
}),
|
|
2073
|
-
signMessage: (message) => __async22222222222222(void 0, null, function* () {
|
|
2074
|
-
return "";
|
|
2075
|
-
}),
|
|
2076
|
-
signPsbt: (tx) => __async22222222222222(void 0, null, function* () {
|
|
2077
|
-
return {
|
|
2078
|
-
signedPsbtHex: "",
|
|
2079
|
-
signedPsbtBase64: "",
|
|
2080
|
-
txId: ""
|
|
2081
|
-
};
|
|
2082
|
-
}),
|
|
2083
|
-
pushPsbt: (tx) => __async22222222222222(void 0, null, function* () {
|
|
2084
|
-
return "";
|
|
2085
|
-
}),
|
|
2086
|
-
inscribe: (content) => __async22222222222222(void 0, null, function* () {
|
|
2087
|
-
return "";
|
|
2088
|
-
}),
|
|
2089
|
-
isCreatingCommit: false,
|
|
2090
|
-
isInscribing: false
|
|
2091
|
-
};
|
|
2092
|
-
bitcoin222222222222222.initEccLib(ecc222222222222222);
|
|
2093
|
-
var __async222222222222222 = (__this, __arguments, generator) => {
|
|
2094
|
-
return new Promise((resolve, reject) => {
|
|
2095
|
-
var fulfilled = (value) => {
|
|
2096
|
-
try {
|
|
2097
|
-
step(generator.next(value));
|
|
2098
|
-
} catch (e) {
|
|
2099
|
-
reject(e);
|
|
2100
|
-
}
|
|
2101
|
-
};
|
|
2102
|
-
var rejected = (value) => {
|
|
2103
|
-
try {
|
|
2104
|
-
step(generator.throw(value));
|
|
2105
|
-
} catch (e) {
|
|
2106
|
-
reject(e);
|
|
2107
|
-
}
|
|
2108
|
-
};
|
|
2109
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
2110
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
2111
|
-
});
|
|
2112
|
-
};
|
|
2113
|
-
var MAINNET4222222222222222 = "mainnet";
|
|
2114
|
-
var initialWalletContext2222222222222222 = {
|
|
2115
|
-
hasUnisat: false,
|
|
2116
|
-
hasXverse: false,
|
|
2117
|
-
hasOyl: false,
|
|
2118
|
-
hasMagicEden: false,
|
|
2119
|
-
hasOkx: false,
|
|
2120
|
-
hasLeather: false,
|
|
2121
|
-
hasPhantom: false,
|
|
2122
|
-
hasWizz: false,
|
|
2123
|
-
isInitializing: true,
|
|
2124
|
-
connected: false,
|
|
2125
|
-
isConnecting: false,
|
|
2126
|
-
publicKey: "",
|
|
2127
|
-
address: "",
|
|
2128
|
-
paymentAddress: "",
|
|
2129
|
-
paymentPublicKey: "",
|
|
2130
|
-
balance: void 0,
|
|
2131
|
-
network: MAINNET4222222222222222,
|
|
2132
|
-
library: null,
|
|
2133
|
-
provider: null,
|
|
2134
|
-
accounts: [],
|
|
2135
|
-
connect: (walletName) => __async222222222222222(void 0, null, function* () {
|
|
2136
|
-
}),
|
|
2137
|
-
disconnect: () => {
|
|
2138
|
-
},
|
|
2139
|
-
requestAccounts: () => __async222222222222222(void 0, null, function* () {
|
|
2140
|
-
return [];
|
|
2141
|
-
}),
|
|
2142
|
-
getNetwork: () => __async222222222222222(void 0, null, function* () {
|
|
2143
|
-
return MAINNET4222222222222222;
|
|
2144
|
-
}),
|
|
2145
|
-
switchNetwork: (network) => __async222222222222222(void 0, null, function* () {
|
|
2146
|
-
}),
|
|
2147
|
-
getPublicKey: () => __async222222222222222(void 0, null, function* () {
|
|
2148
|
-
return "";
|
|
2149
|
-
}),
|
|
2150
|
-
getBalance: () => __async222222222222222(void 0, null, function* () {
|
|
2151
|
-
return "";
|
|
2152
|
-
}),
|
|
2153
|
-
getInscriptions: () => __async222222222222222(void 0, null, function* () {
|
|
2154
|
-
return [];
|
|
2155
|
-
}),
|
|
2156
|
-
sendBTC: (to, amount) => __async222222222222222(void 0, null, function* () {
|
|
2157
|
-
return "";
|
|
2158
|
-
}),
|
|
2159
|
-
signMessage: (message) => __async222222222222222(void 0, null, function* () {
|
|
2160
|
-
return "";
|
|
2161
|
-
}),
|
|
2162
|
-
signPsbt: (tx) => __async222222222222222(void 0, null, function* () {
|
|
2163
|
-
return {
|
|
2164
|
-
signedPsbtHex: "",
|
|
2165
|
-
signedPsbtBase64: "",
|
|
2166
|
-
txId: ""
|
|
2167
|
-
};
|
|
2168
|
-
}),
|
|
2169
|
-
pushPsbt: (tx) => __async222222222222222(void 0, null, function* () {
|
|
2170
|
-
return "";
|
|
2171
|
-
}),
|
|
2172
|
-
inscribe: (content) => __async222222222222222(void 0, null, function* () {
|
|
2173
|
-
return "";
|
|
2174
|
-
}),
|
|
2175
|
-
isCreatingCommit: false,
|
|
2176
|
-
isInscribing: false
|
|
2177
|
-
};
|
|
2178
|
-
bitcoin2222222222222222.initEccLib(ecc2222222222222222);
|
|
2179
|
-
var __async2222222222222222 = (__this, __arguments, generator) => {
|
|
2180
|
-
return new Promise((resolve, reject) => {
|
|
2181
|
-
var fulfilled = (value) => {
|
|
2182
|
-
try {
|
|
2183
|
-
step(generator.next(value));
|
|
2184
|
-
} catch (e) {
|
|
2185
|
-
reject(e);
|
|
2186
|
-
}
|
|
2187
|
-
};
|
|
2188
|
-
var rejected = (value) => {
|
|
2189
|
-
try {
|
|
2190
|
-
step(generator.throw(value));
|
|
2191
|
-
} catch (e) {
|
|
2192
|
-
reject(e);
|
|
2193
|
-
}
|
|
2194
|
-
};
|
|
2195
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
2196
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
2197
|
-
});
|
|
2198
|
-
};
|
|
2199
|
-
var MAINNET42222222222222222 = "mainnet";
|
|
2200
|
-
var initialWalletContext22222222222222222 = {
|
|
2201
|
-
hasUnisat: false,
|
|
2202
|
-
hasXverse: false,
|
|
2203
|
-
hasOyl: false,
|
|
2204
|
-
hasMagicEden: false,
|
|
2205
|
-
hasOkx: false,
|
|
2206
|
-
hasLeather: false,
|
|
2207
|
-
hasPhantom: false,
|
|
2208
|
-
hasWizz: false,
|
|
2209
|
-
isInitializing: true,
|
|
2210
|
-
connected: false,
|
|
2211
|
-
isConnecting: false,
|
|
2212
|
-
publicKey: "",
|
|
2213
|
-
address: "",
|
|
2214
|
-
paymentAddress: "",
|
|
2215
|
-
paymentPublicKey: "",
|
|
2216
|
-
balance: void 0,
|
|
2217
|
-
network: MAINNET42222222222222222,
|
|
2218
|
-
library: null,
|
|
2219
|
-
provider: null,
|
|
2220
|
-
accounts: [],
|
|
2221
|
-
connect: (walletName) => __async2222222222222222(void 0, null, function* () {
|
|
2222
|
-
}),
|
|
2223
|
-
disconnect: () => {
|
|
2224
|
-
},
|
|
2225
|
-
requestAccounts: () => __async2222222222222222(void 0, null, function* () {
|
|
2226
|
-
return [];
|
|
2227
|
-
}),
|
|
2228
|
-
getNetwork: () => __async2222222222222222(void 0, null, function* () {
|
|
2229
|
-
return MAINNET42222222222222222;
|
|
2230
|
-
}),
|
|
2231
|
-
switchNetwork: (network) => __async2222222222222222(void 0, null, function* () {
|
|
2232
|
-
}),
|
|
2233
|
-
getPublicKey: () => __async2222222222222222(void 0, null, function* () {
|
|
2234
|
-
return "";
|
|
2235
|
-
}),
|
|
2236
|
-
getBalance: () => __async2222222222222222(void 0, null, function* () {
|
|
2237
|
-
return "";
|
|
2238
|
-
}),
|
|
2239
|
-
getInscriptions: () => __async2222222222222222(void 0, null, function* () {
|
|
2240
|
-
return [];
|
|
2241
|
-
}),
|
|
2242
|
-
sendBTC: (to, amount) => __async2222222222222222(void 0, null, function* () {
|
|
2243
|
-
return "";
|
|
2244
|
-
}),
|
|
2245
|
-
signMessage: (message) => __async2222222222222222(void 0, null, function* () {
|
|
2246
|
-
return "";
|
|
2247
|
-
}),
|
|
2248
|
-
signPsbt: (tx) => __async2222222222222222(void 0, null, function* () {
|
|
2249
|
-
return {
|
|
2250
|
-
signedPsbtHex: "",
|
|
2251
|
-
signedPsbtBase64: "",
|
|
2252
|
-
txId: ""
|
|
2253
|
-
};
|
|
2254
|
-
}),
|
|
2255
|
-
pushPsbt: (tx) => __async2222222222222222(void 0, null, function* () {
|
|
2256
|
-
return "";
|
|
2257
|
-
}),
|
|
2258
|
-
inscribe: (content) => __async2222222222222222(void 0, null, function* () {
|
|
2259
|
-
return "";
|
|
2260
|
-
}),
|
|
2261
|
-
isCreatingCommit: false,
|
|
2262
|
-
isInscribing: false
|
|
2263
|
-
};
|
|
2264
|
-
bitcoin22222222222222222.initEccLib(ecc22222222222222222);
|
|
2265
|
-
var __async22222222222222222 = (__this, __arguments, generator) => {
|
|
2266
|
-
return new Promise((resolve, reject) => {
|
|
2267
|
-
var fulfilled = (value) => {
|
|
2268
|
-
try {
|
|
2269
|
-
step(generator.next(value));
|
|
2270
|
-
} catch (e) {
|
|
2271
|
-
reject(e);
|
|
2272
|
-
}
|
|
2273
|
-
};
|
|
2274
|
-
var rejected = (value) => {
|
|
2275
|
-
try {
|
|
2276
|
-
step(generator.throw(value));
|
|
2277
|
-
} catch (e) {
|
|
2278
|
-
reject(e);
|
|
2279
|
-
}
|
|
2280
|
-
};
|
|
2281
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
2282
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
2283
|
-
});
|
|
2284
|
-
};
|
|
2285
|
-
var MAINNET422222222222222222 = "mainnet";
|
|
2286
|
-
var initialWalletContext222222222222222222 = {
|
|
2287
|
-
hasUnisat: false,
|
|
2288
|
-
hasXverse: false,
|
|
2289
|
-
hasOyl: false,
|
|
2290
|
-
hasMagicEden: false,
|
|
2291
|
-
hasOkx: false,
|
|
2292
|
-
hasLeather: false,
|
|
2293
|
-
hasPhantom: false,
|
|
2294
|
-
hasWizz: false,
|
|
2295
|
-
isInitializing: true,
|
|
2296
|
-
connected: false,
|
|
2297
|
-
isConnecting: false,
|
|
2298
|
-
publicKey: "",
|
|
2299
|
-
address: "",
|
|
2300
|
-
paymentAddress: "",
|
|
2301
|
-
paymentPublicKey: "",
|
|
2302
|
-
balance: void 0,
|
|
2303
|
-
network: MAINNET422222222222222222,
|
|
2304
|
-
library: null,
|
|
2305
|
-
provider: null,
|
|
2306
|
-
accounts: [],
|
|
2307
|
-
connect: (walletName) => __async22222222222222222(void 0, null, function* () {
|
|
2308
|
-
}),
|
|
2309
|
-
disconnect: () => {
|
|
2310
|
-
},
|
|
2311
|
-
requestAccounts: () => __async22222222222222222(void 0, null, function* () {
|
|
2312
|
-
return [];
|
|
2313
|
-
}),
|
|
2314
|
-
getNetwork: () => __async22222222222222222(void 0, null, function* () {
|
|
2315
|
-
return MAINNET422222222222222222;
|
|
2316
|
-
}),
|
|
2317
|
-
switchNetwork: (network) => __async22222222222222222(void 0, null, function* () {
|
|
2318
|
-
}),
|
|
2319
|
-
getPublicKey: () => __async22222222222222222(void 0, null, function* () {
|
|
2320
|
-
return "";
|
|
2321
|
-
}),
|
|
2322
|
-
getBalance: () => __async22222222222222222(void 0, null, function* () {
|
|
2323
|
-
return "";
|
|
2324
|
-
}),
|
|
2325
|
-
getInscriptions: () => __async22222222222222222(void 0, null, function* () {
|
|
2326
|
-
return [];
|
|
2327
|
-
}),
|
|
2328
|
-
sendBTC: (to, amount) => __async22222222222222222(void 0, null, function* () {
|
|
2329
|
-
return "";
|
|
2330
|
-
}),
|
|
2331
|
-
signMessage: (message) => __async22222222222222222(void 0, null, function* () {
|
|
2332
|
-
return "";
|
|
2333
|
-
}),
|
|
2334
|
-
signPsbt: (tx) => __async22222222222222222(void 0, null, function* () {
|
|
2335
|
-
return {
|
|
2336
|
-
signedPsbtHex: "",
|
|
2337
|
-
signedPsbtBase64: "",
|
|
2338
|
-
txId: ""
|
|
2339
|
-
};
|
|
2340
|
-
}),
|
|
2341
|
-
pushPsbt: (tx) => __async22222222222222222(void 0, null, function* () {
|
|
2342
|
-
return "";
|
|
2343
|
-
}),
|
|
2344
|
-
inscribe: (content) => __async22222222222222222(void 0, null, function* () {
|
|
2345
|
-
return "";
|
|
2346
|
-
}),
|
|
2347
|
-
isCreatingCommit: false,
|
|
2348
|
-
isInscribing: false
|
|
2349
|
-
};
|
|
2350
|
-
bitcoin222222222222222222.initEccLib(ecc222222222222222222);
|
|
2351
|
-
var __async222222222222222222 = (__this, __arguments, generator) => {
|
|
2352
|
-
return new Promise((resolve, reject) => {
|
|
2353
|
-
var fulfilled = (value) => {
|
|
2354
|
-
try {
|
|
2355
|
-
step(generator.next(value));
|
|
2356
|
-
} catch (e) {
|
|
2357
|
-
reject(e);
|
|
2358
|
-
}
|
|
2359
|
-
};
|
|
2360
|
-
var rejected = (value) => {
|
|
2361
|
-
try {
|
|
2362
|
-
step(generator.throw(value));
|
|
2363
|
-
} catch (e) {
|
|
2364
|
-
reject(e);
|
|
2365
|
-
}
|
|
2366
|
-
};
|
|
2367
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
2368
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
2369
|
-
});
|
|
2370
|
-
};
|
|
2371
|
-
var MAINNET4222222222222222222 = "mainnet";
|
|
2372
|
-
var initialWalletContext2222222222222222222 = {
|
|
2373
|
-
hasUnisat: false,
|
|
2374
|
-
hasXverse: false,
|
|
2375
|
-
hasOyl: false,
|
|
2376
|
-
hasMagicEden: false,
|
|
2377
|
-
hasOkx: false,
|
|
2378
|
-
hasLeather: false,
|
|
2379
|
-
hasPhantom: false,
|
|
2380
|
-
hasWizz: false,
|
|
2381
|
-
isInitializing: true,
|
|
2382
|
-
connected: false,
|
|
2383
|
-
isConnecting: false,
|
|
2384
|
-
publicKey: "",
|
|
2385
|
-
address: "",
|
|
2386
|
-
paymentAddress: "",
|
|
2387
|
-
paymentPublicKey: "",
|
|
2388
|
-
balance: void 0,
|
|
2389
|
-
network: MAINNET4222222222222222222,
|
|
2390
|
-
library: null,
|
|
2391
|
-
provider: null,
|
|
2392
|
-
accounts: [],
|
|
2393
|
-
connect: (walletName) => __async222222222222222222(void 0, null, function* () {
|
|
2394
|
-
}),
|
|
2395
|
-
disconnect: () => {
|
|
2396
|
-
},
|
|
2397
|
-
requestAccounts: () => __async222222222222222222(void 0, null, function* () {
|
|
2398
|
-
return [];
|
|
2399
|
-
}),
|
|
2400
|
-
getNetwork: () => __async222222222222222222(void 0, null, function* () {
|
|
2401
|
-
return MAINNET4222222222222222222;
|
|
2402
|
-
}),
|
|
2403
|
-
switchNetwork: (network) => __async222222222222222222(void 0, null, function* () {
|
|
2404
|
-
}),
|
|
2405
|
-
getPublicKey: () => __async222222222222222222(void 0, null, function* () {
|
|
2406
|
-
return "";
|
|
2407
|
-
}),
|
|
2408
|
-
getBalance: () => __async222222222222222222(void 0, null, function* () {
|
|
2409
|
-
return "";
|
|
2410
|
-
}),
|
|
2411
|
-
getInscriptions: () => __async222222222222222222(void 0, null, function* () {
|
|
2412
|
-
return [];
|
|
2413
|
-
}),
|
|
2414
|
-
sendBTC: (to, amount) => __async222222222222222222(void 0, null, function* () {
|
|
2415
|
-
return "";
|
|
2416
|
-
}),
|
|
2417
|
-
signMessage: (message) => __async222222222222222222(void 0, null, function* () {
|
|
2418
|
-
return "";
|
|
2419
|
-
}),
|
|
2420
|
-
signPsbt: (tx) => __async222222222222222222(void 0, null, function* () {
|
|
2421
|
-
return {
|
|
2422
|
-
signedPsbtHex: "",
|
|
2423
|
-
signedPsbtBase64: "",
|
|
2424
|
-
txId: ""
|
|
2425
|
-
};
|
|
2426
|
-
}),
|
|
2427
|
-
pushPsbt: (tx) => __async222222222222222222(void 0, null, function* () {
|
|
2428
|
-
return "";
|
|
2429
|
-
}),
|
|
2430
|
-
inscribe: (content) => __async222222222222222222(void 0, null, function* () {
|
|
2431
|
-
return "";
|
|
2432
|
-
}),
|
|
2433
|
-
isCreatingCommit: false,
|
|
2434
|
-
isInscribing: false
|
|
2435
|
-
};
|
|
2436
|
-
bitcoin2222222222222222222.initEccLib(ecc2222222222222222222);
|
|
2437
|
-
var __async2222222222222222222 = (__this, __arguments, generator) => {
|
|
2438
|
-
return new Promise((resolve, reject) => {
|
|
2439
|
-
var fulfilled = (value) => {
|
|
2440
|
-
try {
|
|
2441
|
-
step(generator.next(value));
|
|
2442
|
-
} catch (e) {
|
|
2443
|
-
reject(e);
|
|
2444
|
-
}
|
|
2445
|
-
};
|
|
2446
|
-
var rejected = (value) => {
|
|
2447
|
-
try {
|
|
2448
|
-
step(generator.throw(value));
|
|
2449
|
-
} catch (e) {
|
|
2450
|
-
reject(e);
|
|
2451
|
-
}
|
|
2452
|
-
};
|
|
2453
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
2454
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
2455
|
-
});
|
|
2456
|
-
};
|
|
2457
|
-
var MAINNET42222222222222222222 = "mainnet";
|
|
2458
|
-
var initialWalletContext22222222222222222222 = {
|
|
2459
|
-
hasUnisat: false,
|
|
2460
|
-
hasXverse: false,
|
|
2461
|
-
hasOyl: false,
|
|
2462
|
-
hasMagicEden: false,
|
|
2463
|
-
hasOkx: false,
|
|
2464
|
-
hasLeather: false,
|
|
2465
|
-
hasPhantom: false,
|
|
2466
|
-
hasWizz: false,
|
|
2467
|
-
isInitializing: true,
|
|
2468
|
-
connected: false,
|
|
2469
|
-
isConnecting: false,
|
|
2470
|
-
publicKey: "",
|
|
2471
|
-
address: "",
|
|
2472
|
-
paymentAddress: "",
|
|
2473
|
-
paymentPublicKey: "",
|
|
2474
|
-
balance: void 0,
|
|
2475
|
-
network: MAINNET42222222222222222222,
|
|
2476
|
-
library: null,
|
|
2477
|
-
provider: null,
|
|
2478
|
-
accounts: [],
|
|
2479
|
-
connect: (walletName) => __async2222222222222222222(void 0, null, function* () {
|
|
2480
|
-
}),
|
|
2481
|
-
disconnect: () => {
|
|
2482
|
-
},
|
|
2483
|
-
requestAccounts: () => __async2222222222222222222(void 0, null, function* () {
|
|
2484
|
-
return [];
|
|
2485
|
-
}),
|
|
2486
|
-
getNetwork: () => __async2222222222222222222(void 0, null, function* () {
|
|
2487
|
-
return MAINNET42222222222222222222;
|
|
2488
|
-
}),
|
|
2489
|
-
switchNetwork: (network) => __async2222222222222222222(void 0, null, function* () {
|
|
2490
|
-
}),
|
|
2491
|
-
getPublicKey: () => __async2222222222222222222(void 0, null, function* () {
|
|
2492
|
-
return "";
|
|
2493
|
-
}),
|
|
2494
|
-
getBalance: () => __async2222222222222222222(void 0, null, function* () {
|
|
2495
|
-
return "";
|
|
2496
|
-
}),
|
|
2497
|
-
getInscriptions: () => __async2222222222222222222(void 0, null, function* () {
|
|
2498
|
-
return [];
|
|
2499
|
-
}),
|
|
2500
|
-
sendBTC: (to, amount) => __async2222222222222222222(void 0, null, function* () {
|
|
2501
|
-
return "";
|
|
2502
|
-
}),
|
|
2503
|
-
signMessage: (message) => __async2222222222222222222(void 0, null, function* () {
|
|
2504
|
-
return "";
|
|
2505
|
-
}),
|
|
2506
|
-
signPsbt: (tx) => __async2222222222222222222(void 0, null, function* () {
|
|
2507
|
-
return {
|
|
2508
|
-
signedPsbtHex: "",
|
|
2509
|
-
signedPsbtBase64: "",
|
|
2510
|
-
txId: ""
|
|
2511
|
-
};
|
|
2512
|
-
}),
|
|
2513
|
-
pushPsbt: (tx) => __async2222222222222222222(void 0, null, function* () {
|
|
2514
|
-
return "";
|
|
2515
|
-
}),
|
|
2516
|
-
inscribe: (content) => __async2222222222222222222(void 0, null, function* () {
|
|
2517
|
-
return "";
|
|
2518
|
-
}),
|
|
2519
|
-
isCreatingCommit: false,
|
|
2520
|
-
isInscribing: false
|
|
2521
|
-
};
|
|
2522
|
-
bitcoin22222222222222222222.initEccLib(ecc22222222222222222222);
|
|
2523
|
-
var __async22222222222222222222 = (__this, __arguments, generator) => {
|
|
2524
|
-
return new Promise((resolve, reject) => {
|
|
2525
|
-
var fulfilled = (value) => {
|
|
2526
|
-
try {
|
|
2527
|
-
step(generator.next(value));
|
|
2528
|
-
} catch (e) {
|
|
2529
|
-
reject(e);
|
|
2530
|
-
}
|
|
2531
|
-
};
|
|
2532
|
-
var rejected = (value) => {
|
|
2533
|
-
try {
|
|
2534
|
-
step(generator.throw(value));
|
|
2535
|
-
} catch (e) {
|
|
2536
|
-
reject(e);
|
|
2537
|
-
}
|
|
2538
|
-
};
|
|
2539
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
2540
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
2541
|
-
});
|
|
2542
|
-
};
|
|
2543
|
-
var MAINNET422222222222222222222 = "mainnet";
|
|
2544
|
-
var initialWalletContext222222222222222222222 = {
|
|
2545
|
-
hasUnisat: false,
|
|
2546
|
-
hasXverse: false,
|
|
2547
|
-
hasOyl: false,
|
|
2548
|
-
hasMagicEden: false,
|
|
2549
|
-
hasOkx: false,
|
|
2550
|
-
hasLeather: false,
|
|
2551
|
-
hasPhantom: false,
|
|
2552
|
-
hasWizz: false,
|
|
2553
|
-
isInitializing: true,
|
|
2554
|
-
connected: false,
|
|
2555
|
-
isConnecting: false,
|
|
2556
|
-
publicKey: "",
|
|
2557
|
-
address: "",
|
|
2558
|
-
paymentAddress: "",
|
|
2559
|
-
paymentPublicKey: "",
|
|
2560
|
-
balance: void 0,
|
|
2561
|
-
network: MAINNET422222222222222222222,
|
|
2562
|
-
library: null,
|
|
2563
|
-
provider: null,
|
|
2564
|
-
accounts: [],
|
|
2565
|
-
connect: (walletName) => __async22222222222222222222(void 0, null, function* () {
|
|
2566
|
-
}),
|
|
2567
|
-
disconnect: () => {
|
|
2568
|
-
},
|
|
2569
|
-
requestAccounts: () => __async22222222222222222222(void 0, null, function* () {
|
|
2570
|
-
return [];
|
|
2571
|
-
}),
|
|
2572
|
-
getNetwork: () => __async22222222222222222222(void 0, null, function* () {
|
|
2573
|
-
return MAINNET422222222222222222222;
|
|
2574
|
-
}),
|
|
2575
|
-
switchNetwork: (network) => __async22222222222222222222(void 0, null, function* () {
|
|
2576
|
-
}),
|
|
2577
|
-
getPublicKey: () => __async22222222222222222222(void 0, null, function* () {
|
|
2578
|
-
return "";
|
|
2579
|
-
}),
|
|
2580
|
-
getBalance: () => __async22222222222222222222(void 0, null, function* () {
|
|
2581
|
-
return "";
|
|
2582
|
-
}),
|
|
2583
|
-
getInscriptions: () => __async22222222222222222222(void 0, null, function* () {
|
|
2584
|
-
return [];
|
|
2585
|
-
}),
|
|
2586
|
-
sendBTC: (to, amount) => __async22222222222222222222(void 0, null, function* () {
|
|
2587
|
-
return "";
|
|
2588
|
-
}),
|
|
2589
|
-
signMessage: (message) => __async22222222222222222222(void 0, null, function* () {
|
|
2590
|
-
return "";
|
|
2591
|
-
}),
|
|
2592
|
-
signPsbt: (tx) => __async22222222222222222222(void 0, null, function* () {
|
|
2593
|
-
return {
|
|
2594
|
-
signedPsbtHex: "",
|
|
2595
|
-
signedPsbtBase64: "",
|
|
2596
|
-
txId: ""
|
|
2597
|
-
};
|
|
2598
|
-
}),
|
|
2599
|
-
pushPsbt: (tx) => __async22222222222222222222(void 0, null, function* () {
|
|
2600
|
-
return "";
|
|
2601
|
-
}),
|
|
2602
|
-
inscribe: (content) => __async22222222222222222222(void 0, null, function* () {
|
|
2603
|
-
return "";
|
|
2604
|
-
}),
|
|
2605
|
-
isCreatingCommit: false,
|
|
2606
|
-
isInscribing: false
|
|
2607
|
-
};
|
|
2608
|
-
bitcoin3.initEccLib(ecc222222222222222222222);
|
|
2609
|
-
var LaserEyesContext = (0, import_react21.createContext)(initialWalletContext222222222222222222222);
|
|
2610
|
-
var LaserEyesContext2 = (0, import_react20.createContext)(initialWalletContext22222222222222222222);
|
|
2611
|
-
var LaserEyesContext3 = (0, import_react19.createContext)(initialWalletContext2222222222222222222);
|
|
2612
|
-
var LaserEyesContext4 = (0, import_react18.createContext)(initialWalletContext222222222222222222);
|
|
2613
|
-
var LaserEyesContext5 = (0, import_react17.createContext)(initialWalletContext22222222222222222);
|
|
2614
|
-
var LaserEyesContext6 = (0, import_react16.createContext)(initialWalletContext2222222222222222);
|
|
2615
|
-
var LaserEyesContext7 = (0, import_react15.createContext)(initialWalletContext222222222222222);
|
|
2616
|
-
var LaserEyesContext8 = (0, import_react14.createContext)(initialWalletContext22222222222222);
|
|
2617
|
-
var LaserEyesContext9 = (0, import_react13.createContext)(initialWalletContext2222222222222);
|
|
2618
|
-
var LaserEyesContext10 = (0, import_react12.createContext)(initialWalletContext222222222222);
|
|
2619
|
-
var LaserEyesContext11 = (0, import_react11.createContext)(initialWalletContext22222222222);
|
|
2620
|
-
var LaserEyesContext12 = (0, import_react10.createContext)(initialWalletContext2222222222);
|
|
2621
|
-
var LaserEyesContext13 = (0, import_react9.createContext)(initialWalletContext222222222);
|
|
2622
|
-
var LaserEyesContext14 = (0, import_react8.createContext)(initialWalletContext22222222);
|
|
2623
|
-
var LaserEyesContext15 = (0, import_react7.createContext)(initialWalletContext2222222);
|
|
2624
|
-
var LaserEyesContext16 = (0, import_react6.createContext)(initialWalletContext222222);
|
|
2625
|
-
var LaserEyesContext17 = (0, import_react5.createContext)(initialWalletContext22222);
|
|
2626
|
-
var LaserEyesContext18 = (0, import_react4.createContext)(initialWalletContext2222);
|
|
2627
|
-
var LaserEyesContext19 = (0, import_react3.createContext)(initialWalletContext222);
|
|
2628
|
-
var LaserEyesContext20 = (0, import_react2.createContext)(initialWalletContext22);
|
|
2629
|
-
var LaserEyesContext21 = (0, import_react.createContext)(initialWalletContext2);
|
|
2630
|
-
|
|
2631
|
-
// example/lib/urls.ts
|
|
2632
|
-
var MEMPOOL_SPACE_URL3 = "https://mempool.space";
|
|
2633
|
-
var MEMPOOL_SPACE_TESTNET_URL3 = "https://mempool.space/testnet";
|
|
2634
|
-
var MEMPOOL_SPACE_SIGNET_URL2 = "https://mempool.space/signet";
|
|
2635
|
-
var getMempoolSpaceUrl3 = (network) => network === TESTNET3 ? MEMPOOL_SPACE_TESTNET_URL3 : network === SIGNET3 ? MEMPOOL_SPACE_SIGNET_URL2 : MEMPOOL_SPACE_URL3;
|
|
2636
|
-
|
|
2637
|
-
// src/providers/LaserEyesProvider.tsx
|
|
2638
|
-
var import_jsx_runtime58 = _toESM(require("react/jsx-runtime"));
|
|
2639
|
-
var LaserEyesContext22 = (0, import_react43.createContext)(initialWalletContext);
|
|
536
|
+
var import_sats_connect = require("sats-connect");
|
|
537
|
+
var import_address = require("bitcoinjs-lib/src/address");
|
|
538
|
+
var import_axios2 = __toESM(require("axios"));
|
|
539
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
540
|
+
var LaserEyesContext = (0, import_react.createContext)(initialWalletContext);
|
|
2640
541
|
var useLaserEyes = () => {
|
|
2641
|
-
return (0,
|
|
542
|
+
return (0, import_react.useContext)(LaserEyesContext);
|
|
2642
543
|
};
|
|
2643
544
|
var LaserEyesProvider = ({
|
|
2644
545
|
children,
|
|
2645
546
|
config
|
|
2646
547
|
}) => {
|
|
2647
|
-
const selfRef = (0,
|
|
548
|
+
const selfRef = (0, import_react.useRef)({
|
|
2648
549
|
accounts: []
|
|
2649
550
|
});
|
|
2650
551
|
const self = selfRef.current;
|
|
2651
|
-
const [library, setLibrary] = (0,
|
|
2652
|
-
const [provider, setProvider] = (0,
|
|
2653
|
-
const [isInitializing, setIsInitializing] = (0,
|
|
2654
|
-
const [connected, setConnected] = (0,
|
|
2655
|
-
const [isConnecting, setIsConnecting] = (0,
|
|
2656
|
-
const [accounts, setAccounts] = (0,
|
|
2657
|
-
const [publicKey, setPublicKey] = (0,
|
|
2658
|
-
const [paymentPublicKey, setPaymentPublicKey] = (0,
|
|
2659
|
-
const [
|
|
2660
|
-
const [paymentAddress, setPaymentAddress] = (0,
|
|
2661
|
-
const [balance, setBalance] = (0,
|
|
2662
|
-
const [hasUnisat, setHasUnisat] = (0,
|
|
2663
|
-
const [hasXverse, setHasXverse] = (0,
|
|
2664
|
-
const [hasOyl, setHasOyl] = (0,
|
|
2665
|
-
const [hasMagicEden, setHasMagicEden] = (0,
|
|
2666
|
-
const [hasOkx, setHasOkx] = (0,
|
|
2667
|
-
const [hasLeather, setHasLeather] = (0,
|
|
2668
|
-
const [hasPhantom, setHasPhantom] = (0,
|
|
2669
|
-
const [hasWizz, setHasWizz] = (0,
|
|
2670
|
-
const [network, setNetwork] = (0,
|
|
552
|
+
const [library, setLibrary] = (0, import_react.useState)(null);
|
|
553
|
+
const [provider, setProvider] = (0, import_react.useState)();
|
|
554
|
+
const [isInitializing, setIsInitializing] = (0, import_react.useState)(true);
|
|
555
|
+
const [connected, setConnected] = (0, import_react.useState)(false);
|
|
556
|
+
const [isConnecting, setIsConnecting] = (0, import_react.useState)(false);
|
|
557
|
+
const [accounts, setAccounts] = (0, import_react.useState)([]);
|
|
558
|
+
const [publicKey, setPublicKey] = (0, import_react.useState)("");
|
|
559
|
+
const [paymentPublicKey, setPaymentPublicKey] = (0, import_react.useState)("");
|
|
560
|
+
const [address2, setAddress] = (0, import_react.useState)("");
|
|
561
|
+
const [paymentAddress, setPaymentAddress] = (0, import_react.useState)("");
|
|
562
|
+
const [balance, setBalance] = (0, import_react.useState)();
|
|
563
|
+
const [hasUnisat, setHasUnisat] = (0, import_react.useState)(false);
|
|
564
|
+
const [hasXverse, setHasXverse] = (0, import_react.useState)(false);
|
|
565
|
+
const [hasOyl, setHasOyl] = (0, import_react.useState)(false);
|
|
566
|
+
const [hasMagicEden, setHasMagicEden] = (0, import_react.useState)(false);
|
|
567
|
+
const [hasOkx, setHasOkx] = (0, import_react.useState)(false);
|
|
568
|
+
const [hasLeather, setHasLeather] = (0, import_react.useState)(false);
|
|
569
|
+
const [hasPhantom, setHasPhantom] = (0, import_react.useState)(false);
|
|
570
|
+
const [hasWizz, setHasWizz] = (0, import_react.useState)(false);
|
|
571
|
+
const [network, setNetwork] = (0, import_usehooks_ts.useLocalStorage)("network", MAINNET, {
|
|
2671
572
|
initializeWithValue: false
|
|
2672
573
|
});
|
|
2673
|
-
(0,
|
|
574
|
+
(0, import_react.useEffect)(() => {
|
|
2674
575
|
if (config) {
|
|
2675
576
|
setNetwork(config.network);
|
|
2676
577
|
getNetwork().then((foundNetwork) => {
|
|
@@ -2687,7 +588,7 @@ var LaserEyesProvider = ({
|
|
|
2687
588
|
setIsInitializing(false);
|
|
2688
589
|
}
|
|
2689
590
|
};
|
|
2690
|
-
(0,
|
|
591
|
+
(0, import_react.useEffect)(() => {
|
|
2691
592
|
const observer = new MutationObserver(() => {
|
|
2692
593
|
const unisatLib = window == null ? void 0 : window.unisat;
|
|
2693
594
|
if (unisatLib) {
|
|
@@ -2700,7 +601,7 @@ var LaserEyesProvider = ({
|
|
|
2700
601
|
observer.disconnect();
|
|
2701
602
|
};
|
|
2702
603
|
}, []);
|
|
2703
|
-
(0,
|
|
604
|
+
(0, import_react.useEffect)(() => {
|
|
2704
605
|
const observer = new MutationObserver(() => {
|
|
2705
606
|
var _a;
|
|
2706
607
|
const xverseLib = (_a = window == null ? void 0 : window.XverseProviders) == null ? void 0 : _a.BitcoinProvider;
|
|
@@ -2714,7 +615,7 @@ var LaserEyesProvider = ({
|
|
|
2714
615
|
observer.disconnect();
|
|
2715
616
|
};
|
|
2716
617
|
}, []);
|
|
2717
|
-
(0,
|
|
618
|
+
(0, import_react.useEffect)(() => {
|
|
2718
619
|
const observer = new MutationObserver(() => {
|
|
2719
620
|
const oylLib = window == null ? void 0 : window.oyl;
|
|
2720
621
|
if (oylLib) {
|
|
@@ -2727,7 +628,7 @@ var LaserEyesProvider = ({
|
|
|
2727
628
|
observer.disconnect();
|
|
2728
629
|
};
|
|
2729
630
|
}, []);
|
|
2730
|
-
(0,
|
|
631
|
+
(0, import_react.useEffect)(() => {
|
|
2731
632
|
const observer = new MutationObserver(() => {
|
|
2732
633
|
const magicEdenLib = window == null ? void 0 : window.magicEden;
|
|
2733
634
|
if (magicEdenLib) {
|
|
@@ -2740,7 +641,7 @@ var LaserEyesProvider = ({
|
|
|
2740
641
|
observer.disconnect();
|
|
2741
642
|
};
|
|
2742
643
|
}, []);
|
|
2743
|
-
(0,
|
|
644
|
+
(0, import_react.useEffect)(() => {
|
|
2744
645
|
const observer = new MutationObserver(() => {
|
|
2745
646
|
var _a, _b;
|
|
2746
647
|
let foundOkx;
|
|
@@ -2759,7 +660,7 @@ var LaserEyesProvider = ({
|
|
|
2759
660
|
observer.disconnect();
|
|
2760
661
|
};
|
|
2761
662
|
}, [network]);
|
|
2762
|
-
(0,
|
|
663
|
+
(0, import_react.useEffect)(() => {
|
|
2763
664
|
const observer = new MutationObserver(() => {
|
|
2764
665
|
const leatherLib = window == null ? void 0 : window.LeatherProvider;
|
|
2765
666
|
if (leatherLib) {
|
|
@@ -2772,7 +673,7 @@ var LaserEyesProvider = ({
|
|
|
2772
673
|
observer.disconnect();
|
|
2773
674
|
};
|
|
2774
675
|
}, []);
|
|
2775
|
-
(0,
|
|
676
|
+
(0, import_react.useEffect)(() => {
|
|
2776
677
|
const observer = new MutationObserver(() => {
|
|
2777
678
|
var _a;
|
|
2778
679
|
const phantomLib = (_a = window == null ? void 0 : window.phantom) == null ? void 0 : _a.bitcoin;
|
|
@@ -2789,7 +690,7 @@ var LaserEyesProvider = ({
|
|
|
2789
690
|
observer.disconnect();
|
|
2790
691
|
};
|
|
2791
692
|
}, []);
|
|
2792
|
-
(0,
|
|
693
|
+
(0, import_react.useEffect)(() => {
|
|
2793
694
|
const observer = new MutationObserver(() => {
|
|
2794
695
|
const wizzLib = window == null ? void 0 : window.wizz;
|
|
2795
696
|
if (wizzLib) {
|
|
@@ -2802,7 +703,7 @@ var LaserEyesProvider = ({
|
|
|
2802
703
|
observer.disconnect();
|
|
2803
704
|
};
|
|
2804
705
|
}, []);
|
|
2805
|
-
(0,
|
|
706
|
+
(0, import_react.useEffect)(() => {
|
|
2806
707
|
checkInitializationComplete();
|
|
2807
708
|
}, [
|
|
2808
709
|
hasUnisat,
|
|
@@ -2814,10 +715,10 @@ var LaserEyesProvider = ({
|
|
|
2814
715
|
hasPhantom,
|
|
2815
716
|
hasWizz
|
|
2816
717
|
]);
|
|
2817
|
-
(0,
|
|
718
|
+
(0, import_react.useEffect)(() => {
|
|
2818
719
|
setBalance(void 0);
|
|
2819
720
|
}, [network]);
|
|
2820
|
-
(0,
|
|
721
|
+
(0, import_react.useEffect)(() => {
|
|
2821
722
|
if (provider !== UNISAT && provider !== WIZZ) {
|
|
2822
723
|
return;
|
|
2823
724
|
}
|
|
@@ -2831,7 +732,7 @@ var LaserEyesProvider = ({
|
|
|
2831
732
|
library.removeListener("networkChanged", handleNetworkChanged);
|
|
2832
733
|
};
|
|
2833
734
|
}, [library]);
|
|
2834
|
-
(0,
|
|
735
|
+
(0, import_react.useEffect)(() => {
|
|
2835
736
|
if (!isInitializing) {
|
|
2836
737
|
const defaultWallet = localStorage == null ? void 0 : localStorage.getItem(
|
|
2837
738
|
LOCAL_STORAGE_DEFAULT_WALLET
|
|
@@ -2842,7 +743,7 @@ var LaserEyesProvider = ({
|
|
|
2842
743
|
}
|
|
2843
744
|
}
|
|
2844
745
|
}, [isInitializing]);
|
|
2845
|
-
const connectUnisat = (0,
|
|
746
|
+
const connectUnisat = (0, import_react.useCallback)(() => __async(void 0, null, function* () {
|
|
2846
747
|
try {
|
|
2847
748
|
localStorage == null ? void 0 : localStorage.setItem(LOCAL_STORAGE_DEFAULT_WALLET, UNISAT);
|
|
2848
749
|
const lib = window.unisat;
|
|
@@ -2852,6 +753,7 @@ var LaserEyesProvider = ({
|
|
|
2852
753
|
const unisatPubKey = yield lib.getPublicKey();
|
|
2853
754
|
if (!unisatPubKey)
|
|
2854
755
|
throw new Error("No public key found");
|
|
756
|
+
const foundNetwork = yield getNetwork();
|
|
2855
757
|
setAccounts(unisatAccounts);
|
|
2856
758
|
setAddress(unisatAccounts[0]);
|
|
2857
759
|
setPaymentAddress(unisatAccounts[0]);
|
|
@@ -2866,7 +768,7 @@ var LaserEyesProvider = ({
|
|
|
2866
768
|
throw error;
|
|
2867
769
|
}
|
|
2868
770
|
}), [hasUnisat]);
|
|
2869
|
-
const connectXverse = (0,
|
|
771
|
+
const connectXverse = (0, import_react.useCallback)(() => __async(void 0, null, function* () {
|
|
2870
772
|
try {
|
|
2871
773
|
localStorage == null ? void 0 : localStorage.setItem(LOCAL_STORAGE_DEFAULT_WALLET, XVERSE);
|
|
2872
774
|
let xverseNetwork = getXverseNetwork((config == null ? void 0 : config.network) || MAINNET);
|
|
@@ -2900,7 +802,7 @@ var LaserEyesProvider = ({
|
|
|
2900
802
|
throw new Error(`Can't lasereyes to ${XVERSE} wallet`);
|
|
2901
803
|
}
|
|
2902
804
|
};
|
|
2903
|
-
yield (0,
|
|
805
|
+
yield (0, import_sats_connect.getAddress)(getAddressOptions);
|
|
2904
806
|
setConnected(true);
|
|
2905
807
|
} catch (error) {
|
|
2906
808
|
throw error;
|
|
@@ -2965,7 +867,7 @@ var LaserEyesProvider = ({
|
|
|
2965
867
|
}
|
|
2966
868
|
};
|
|
2967
869
|
console.log(JSON.stringify(getAddressOptions));
|
|
2968
|
-
yield (0,
|
|
870
|
+
yield (0, import_sats_connect.getAddress)(getAddressOptions);
|
|
2969
871
|
setConnected(true);
|
|
2970
872
|
} catch (error) {
|
|
2971
873
|
console.log("error", error);
|
|
@@ -2975,7 +877,7 @@ var LaserEyesProvider = ({
|
|
|
2975
877
|
const connectOkx = () => __async(void 0, null, function* () {
|
|
2976
878
|
try {
|
|
2977
879
|
localStorage == null ? void 0 : localStorage.setItem(LOCAL_STORAGE_DEFAULT_WALLET, OKX);
|
|
2978
|
-
const lib = network === TESTNET ? window.okxwallet.bitcoinTestnet : window.okxwallet.bitcoin;
|
|
880
|
+
const lib = network === TESTNET || network === FRACTAL_TESTNET ? window.okxwallet.bitcoinTestnet : window.okxwallet.bitcoin;
|
|
2979
881
|
const okxAccounts = yield lib.requestAccounts();
|
|
2980
882
|
if (!okxAccounts)
|
|
2981
883
|
throw new Error("No accounts found");
|
|
@@ -2996,7 +898,7 @@ var LaserEyesProvider = ({
|
|
|
2996
898
|
throw error;
|
|
2997
899
|
}
|
|
2998
900
|
});
|
|
2999
|
-
const connectLeather = (0,
|
|
901
|
+
const connectLeather = (0, import_react.useCallback)(() => __async(void 0, null, function* () {
|
|
3000
902
|
try {
|
|
3001
903
|
localStorage == null ? void 0 : localStorage.setItem(LOCAL_STORAGE_DEFAULT_WALLET, LEATHER);
|
|
3002
904
|
const lib = window.LeatherProvider;
|
|
@@ -3006,13 +908,13 @@ var LaserEyesProvider = ({
|
|
|
3006
908
|
const addressesResponse = getAddressesResponse.result;
|
|
3007
909
|
const addresses = addressesResponse.addresses;
|
|
3008
910
|
const leatherAccountsParsed = addresses.map(
|
|
3009
|
-
(
|
|
911
|
+
(address3) => address3.address
|
|
3010
912
|
);
|
|
3011
913
|
const taprootAddress = addresses.find(
|
|
3012
|
-
(
|
|
914
|
+
(address3) => address3.type === P2TR
|
|
3013
915
|
);
|
|
3014
916
|
const segwitAddress = addresses.find(
|
|
3015
|
-
(
|
|
917
|
+
(address3) => address3.type === P2WPKH
|
|
3016
918
|
);
|
|
3017
919
|
setAccounts(leatherAccountsParsed);
|
|
3018
920
|
setAddress(String(taprootAddress == null ? void 0 : taprootAddress.address));
|
|
@@ -3098,6 +1000,8 @@ var LaserEyesProvider = ({
|
|
|
3098
1000
|
yield connectUnisat();
|
|
3099
1001
|
} else if (walletName === XVERSE) {
|
|
3100
1002
|
yield connectXverse();
|
|
1003
|
+
} else if (walletName === OYL) {
|
|
1004
|
+
yield connectOyl();
|
|
3101
1005
|
} else if (walletName === LEATHER) {
|
|
3102
1006
|
yield connectLeather();
|
|
3103
1007
|
} else {
|
|
@@ -3189,7 +1093,7 @@ var LaserEyesProvider = ({
|
|
|
3189
1093
|
console.log("CANCELLED");
|
|
3190
1094
|
}
|
|
3191
1095
|
};
|
|
3192
|
-
return [
|
|
1096
|
+
return [address2];
|
|
3193
1097
|
} else if (provider === OYL) {
|
|
3194
1098
|
return yield library.requestAccounts();
|
|
3195
1099
|
} else if (provider === OKX) {
|
|
@@ -3203,13 +1107,13 @@ var LaserEyesProvider = ({
|
|
|
3203
1107
|
const addressesResponse = getAddressesResponse.result;
|
|
3204
1108
|
const addresses = addressesResponse.addresses;
|
|
3205
1109
|
const leatherAccountsParsed = addresses.map(
|
|
3206
|
-
(
|
|
1110
|
+
(address3) => address3.address
|
|
3207
1111
|
);
|
|
3208
1112
|
const taprootAddress = addresses.find(
|
|
3209
|
-
(
|
|
1113
|
+
(address3) => address3.type === P2TR
|
|
3210
1114
|
);
|
|
3211
1115
|
const segwitAddress = addresses.find(
|
|
3212
|
-
(
|
|
1116
|
+
(address3) => address3.type === P2WPKH
|
|
3213
1117
|
);
|
|
3214
1118
|
setAccounts(leatherAccountsParsed);
|
|
3215
1119
|
setAddress(String(taprootAddress == null ? void 0 : taprootAddress.address));
|
|
@@ -3252,17 +1156,17 @@ var LaserEyesProvider = ({
|
|
|
3252
1156
|
setNetwork(foundNetwork);
|
|
3253
1157
|
return foundNetwork;
|
|
3254
1158
|
} else if (provider === XVERSE) {
|
|
3255
|
-
if (
|
|
1159
|
+
if (address2.slice(0, 1) === "t") {
|
|
3256
1160
|
return TESTNET;
|
|
3257
1161
|
}
|
|
3258
1162
|
return MAINNET;
|
|
3259
1163
|
} else if (provider === OYL) {
|
|
3260
|
-
if (
|
|
1164
|
+
if (address2.slice(0, 1) === "t") {
|
|
3261
1165
|
return TESTNET;
|
|
3262
1166
|
}
|
|
3263
1167
|
return MAINNET;
|
|
3264
1168
|
} else if (provider === MAGIC_EDEN) {
|
|
3265
|
-
if (
|
|
1169
|
+
if (address2.slice(0, 1) === "t") {
|
|
3266
1170
|
return TESTNET;
|
|
3267
1171
|
}
|
|
3268
1172
|
return MAINNET;
|
|
@@ -3271,12 +1175,12 @@ var LaserEyesProvider = ({
|
|
|
3271
1175
|
const foundNetwork = getNetworkForOkx(okxNetwork);
|
|
3272
1176
|
setNetwork(foundNetwork);
|
|
3273
1177
|
} else if (provider === LEATHER) {
|
|
3274
|
-
if (
|
|
1178
|
+
if (address2.slice(0, 1) === "t") {
|
|
3275
1179
|
return TESTNET;
|
|
3276
1180
|
}
|
|
3277
1181
|
return MAINNET;
|
|
3278
1182
|
} else if (provider === PHANTOM) {
|
|
3279
|
-
if (
|
|
1183
|
+
if (address2.slice(0, 1) === "t") {
|
|
3280
1184
|
return TESTNET;
|
|
3281
1185
|
}
|
|
3282
1186
|
return MAINNET;
|
|
@@ -3389,7 +1293,7 @@ var LaserEyesProvider = ({
|
|
|
3389
1293
|
throw new Error("Transaction failed");
|
|
3390
1294
|
return txId;
|
|
3391
1295
|
} else if (provider === XVERSE) {
|
|
3392
|
-
const response = yield (0,
|
|
1296
|
+
const response = yield (0, import_sats_connect.request)("sendTransfer", {
|
|
3393
1297
|
recipients: [
|
|
3394
1298
|
{
|
|
3395
1299
|
address: to,
|
|
@@ -3400,7 +1304,7 @@ var LaserEyesProvider = ({
|
|
|
3400
1304
|
if (response.status === "success") {
|
|
3401
1305
|
return response.result.txid;
|
|
3402
1306
|
} else {
|
|
3403
|
-
if (response.error.code ===
|
|
1307
|
+
if (response.error.code === import_sats_connect.RpcErrorCode.USER_REJECTION) {
|
|
3404
1308
|
throw new Error("User rejected the request");
|
|
3405
1309
|
} else {
|
|
3406
1310
|
throw new Error("Error sending BTC: " + response.error.message);
|
|
@@ -3408,7 +1312,7 @@ var LaserEyesProvider = ({
|
|
|
3408
1312
|
}
|
|
3409
1313
|
} else if (provider === OYL) {
|
|
3410
1314
|
const { psbtHex, psbtBase64 } = yield createSendBtcPsbt(
|
|
3411
|
-
|
|
1315
|
+
address2,
|
|
3412
1316
|
paymentAddress,
|
|
3413
1317
|
to,
|
|
3414
1318
|
amount,
|
|
@@ -3423,7 +1327,7 @@ var LaserEyesProvider = ({
|
|
|
3423
1327
|
return psbt.txId;
|
|
3424
1328
|
} else if (provider === MAGIC_EDEN) {
|
|
3425
1329
|
const { psbtHex, psbtBase64 } = yield createSendBtcPsbt(
|
|
3426
|
-
|
|
1330
|
+
address2,
|
|
3427
1331
|
paymentAddress,
|
|
3428
1332
|
to,
|
|
3429
1333
|
amount,
|
|
@@ -3453,7 +1357,7 @@ var LaserEyesProvider = ({
|
|
|
3453
1357
|
if ((_a = response == null ? void 0 : response.result) == null ? void 0 : _a.txid) {
|
|
3454
1358
|
return response.result.txid;
|
|
3455
1359
|
} else {
|
|
3456
|
-
if (response.error.code ===
|
|
1360
|
+
if (response.error.code === import_sats_connect.RpcErrorCode.USER_REJECTION) {
|
|
3457
1361
|
throw new Error("User rejected the request");
|
|
3458
1362
|
} else {
|
|
3459
1363
|
throw new Error("Error sending BTC: " + response.error.message);
|
|
@@ -3479,14 +1383,14 @@ var LaserEyesProvider = ({
|
|
|
3479
1383
|
if (provider === UNISAT) {
|
|
3480
1384
|
return yield library == null ? void 0 : library.signMessage(message);
|
|
3481
1385
|
} else if (provider === XVERSE) {
|
|
3482
|
-
const response = yield (0,
|
|
3483
|
-
address:
|
|
1386
|
+
const response = yield (0, import_sats_connect.request)("signMessage", {
|
|
1387
|
+
address: address2,
|
|
3484
1388
|
message
|
|
3485
1389
|
});
|
|
3486
1390
|
if (response.status === "success") {
|
|
3487
1391
|
return response.result.signature;
|
|
3488
1392
|
} else {
|
|
3489
|
-
if (response.error.code ===
|
|
1393
|
+
if (response.error.code === import_sats_connect.RpcErrorCode.USER_REJECTION) {
|
|
3490
1394
|
throw new Error("User rejected the request");
|
|
3491
1395
|
} else {
|
|
3492
1396
|
throw new Error("Error signing message: " + response.error.message);
|
|
@@ -3494,13 +1398,13 @@ var LaserEyesProvider = ({
|
|
|
3494
1398
|
}
|
|
3495
1399
|
} else if (provider === MAGIC_EDEN) {
|
|
3496
1400
|
let signedMessage;
|
|
3497
|
-
yield (0,
|
|
1401
|
+
yield (0, import_sats_connect.signMessage)({
|
|
3498
1402
|
getProvider: () => __async(void 0, null, function* () {
|
|
3499
1403
|
return window.magicEden.bitcoin;
|
|
3500
1404
|
}),
|
|
3501
1405
|
payload: {
|
|
3502
1406
|
network: {
|
|
3503
|
-
type:
|
|
1407
|
+
type: import_sats_connect.BitcoinNetworkType.Mainnet
|
|
3504
1408
|
},
|
|
3505
1409
|
address: paymentAddress,
|
|
3506
1410
|
message
|
|
@@ -3524,7 +1428,7 @@ var LaserEyesProvider = ({
|
|
|
3524
1428
|
} else if (provider === PHANTOM) {
|
|
3525
1429
|
const utf8Bytes = new TextEncoder().encode(message);
|
|
3526
1430
|
const uintArray = new Uint8Array(utf8Bytes);
|
|
3527
|
-
const response = yield library == null ? void 0 : library.signMessage(
|
|
1431
|
+
const response = yield library == null ? void 0 : library.signMessage(address2, uintArray);
|
|
3528
1432
|
const binaryString = String.fromCharCode(...response.signature);
|
|
3529
1433
|
return btoa(binaryString);
|
|
3530
1434
|
} else if (provider === WIZZ) {
|
|
@@ -3544,11 +1448,11 @@ var LaserEyesProvider = ({
|
|
|
3544
1448
|
if (!psbt)
|
|
3545
1449
|
throw new Error("No PSBT provided");
|
|
3546
1450
|
if (isHex(psbt)) {
|
|
3547
|
-
psbtBase64 =
|
|
1451
|
+
psbtBase64 = bitcoin2.Psbt.fromHex(psbt).toBase64();
|
|
3548
1452
|
psbtHex = psbt;
|
|
3549
1453
|
} else if (isBase64(psbt)) {
|
|
3550
1454
|
psbtBase64 = psbt;
|
|
3551
|
-
psbtHex =
|
|
1455
|
+
psbtHex = bitcoin2.Psbt.fromBase64(psbt).toHex();
|
|
3552
1456
|
} else {
|
|
3553
1457
|
throw new Error("Invalid PSBT format");
|
|
3554
1458
|
}
|
|
@@ -3556,7 +1460,7 @@ var LaserEyesProvider = ({
|
|
|
3556
1460
|
const signedPsbt = yield library == null ? void 0 : library.signPsbt(psbtHex, {
|
|
3557
1461
|
autoFinalized: finalize
|
|
3558
1462
|
});
|
|
3559
|
-
const psbtSignedPsbt =
|
|
1463
|
+
const psbtSignedPsbt = bitcoin2.Psbt.fromHex(signedPsbt);
|
|
3560
1464
|
if (finalize && broadcast) {
|
|
3561
1465
|
const txId = yield pushPsbt(signedPsbt);
|
|
3562
1466
|
return {
|
|
@@ -3571,13 +1475,13 @@ var LaserEyesProvider = ({
|
|
|
3571
1475
|
txId: void 0
|
|
3572
1476
|
};
|
|
3573
1477
|
} else if (provider === XVERSE) {
|
|
3574
|
-
const toSignPsbt =
|
|
1478
|
+
const toSignPsbt = bitcoin2.Psbt.fromBase64(String(psbtBase64), {
|
|
3575
1479
|
network: getBitcoinNetwork(network)
|
|
3576
1480
|
});
|
|
3577
1481
|
const inputs = toSignPsbt.data.inputs;
|
|
3578
1482
|
const inputsToSign = [];
|
|
3579
1483
|
const ordinalAddressData = {
|
|
3580
|
-
address:
|
|
1484
|
+
address: address2,
|
|
3581
1485
|
signingIndexes: []
|
|
3582
1486
|
};
|
|
3583
1487
|
const paymentsAddressData = {
|
|
@@ -3589,13 +1493,13 @@ var LaserEyesProvider = ({
|
|
|
3589
1493
|
for (var iter = __forAwait(inputs), more, temp, error; more = !(temp = yield iter.next()).done; more = false) {
|
|
3590
1494
|
let input = temp.value;
|
|
3591
1495
|
const { script } = input.witnessUtxo;
|
|
3592
|
-
const addressFromScript = (0,
|
|
1496
|
+
const addressFromScript = (0, import_address.fromOutputScript)(
|
|
3593
1497
|
script,
|
|
3594
1498
|
getBitcoinNetwork(network)
|
|
3595
1499
|
);
|
|
3596
1500
|
if (addressFromScript === paymentAddress) {
|
|
3597
1501
|
paymentsAddressData.signingIndexes.push(Number(counter));
|
|
3598
|
-
} else if (addressFromScript ===
|
|
1502
|
+
} else if (addressFromScript === address2) {
|
|
3599
1503
|
ordinalAddressData.signingIndexes.push(Number(counter));
|
|
3600
1504
|
}
|
|
3601
1505
|
counter++;
|
|
@@ -3632,7 +1536,7 @@ var LaserEyesProvider = ({
|
|
|
3632
1536
|
if (response.txId) {
|
|
3633
1537
|
txId = response.txId;
|
|
3634
1538
|
} else if (response.psbtBase64) {
|
|
3635
|
-
const signedPsbt =
|
|
1539
|
+
const signedPsbt = bitcoin2.Psbt.fromBase64(
|
|
3636
1540
|
String(response.psbtBase64),
|
|
3637
1541
|
{
|
|
3638
1542
|
network: getBitcoinNetwork(network)
|
|
@@ -3644,7 +1548,7 @@ var LaserEyesProvider = ({
|
|
|
3644
1548
|
},
|
|
3645
1549
|
onCancel: () => console.log("Canceled")
|
|
3646
1550
|
};
|
|
3647
|
-
yield (0,
|
|
1551
|
+
yield (0, import_sats_connect.signTransaction)(signPsbtOptions);
|
|
3648
1552
|
return {
|
|
3649
1553
|
signedPsbtHex,
|
|
3650
1554
|
signedPsbtBase64,
|
|
@@ -3653,7 +1557,7 @@ var LaserEyesProvider = ({
|
|
|
3653
1557
|
} else if (provider === OYL) {
|
|
3654
1558
|
const signedPsbt = yield library == null ? void 0 : library.signPsbt(psbtHex, true, true);
|
|
3655
1559
|
console.log({ signedPsbt });
|
|
3656
|
-
const psbtSignedPsbt =
|
|
1560
|
+
const psbtSignedPsbt = bitcoin2.Psbt.fromHex(signedPsbt);
|
|
3657
1561
|
if (broadcast) {
|
|
3658
1562
|
const txId = yield pushPsbt(psbtSignedPsbt.toHex());
|
|
3659
1563
|
return {
|
|
@@ -3669,13 +1573,13 @@ var LaserEyesProvider = ({
|
|
|
3669
1573
|
};
|
|
3670
1574
|
}
|
|
3671
1575
|
} else if (provider === MAGIC_EDEN) {
|
|
3672
|
-
const toSignPsbt =
|
|
1576
|
+
const toSignPsbt = bitcoin2.Psbt.fromBase64(String(psbtBase64), {
|
|
3673
1577
|
network: getBitcoinNetwork(network)
|
|
3674
1578
|
});
|
|
3675
1579
|
const inputs = toSignPsbt.data.inputs;
|
|
3676
1580
|
const inputsToSign = [];
|
|
3677
1581
|
const ordinalAddressData = {
|
|
3678
|
-
address:
|
|
1582
|
+
address: address2,
|
|
3679
1583
|
signingIndexes: []
|
|
3680
1584
|
};
|
|
3681
1585
|
const paymentsAddressData = {
|
|
@@ -3687,13 +1591,13 @@ var LaserEyesProvider = ({
|
|
|
3687
1591
|
for (var iter2 = __forAwait(inputs), more2, temp2, error2; more2 = !(temp2 = yield iter2.next()).done; more2 = false) {
|
|
3688
1592
|
let input = temp2.value;
|
|
3689
1593
|
const { script } = input.witnessUtxo;
|
|
3690
|
-
const addressFromScript = (0,
|
|
1594
|
+
const addressFromScript = (0, import_address.fromOutputScript)(
|
|
3691
1595
|
script,
|
|
3692
1596
|
getBitcoinNetwork(network)
|
|
3693
1597
|
);
|
|
3694
1598
|
if (addressFromScript === paymentAddress) {
|
|
3695
1599
|
paymentsAddressData.signingIndexes.push(Number(counter));
|
|
3696
|
-
} else if (addressFromScript ===
|
|
1600
|
+
} else if (addressFromScript === address2) {
|
|
3697
1601
|
ordinalAddressData.signingIndexes.push(Number(counter));
|
|
3698
1602
|
}
|
|
3699
1603
|
counter++;
|
|
@@ -3731,7 +1635,7 @@ var LaserEyesProvider = ({
|
|
|
3731
1635
|
},
|
|
3732
1636
|
onFinish: (response) => {
|
|
3733
1637
|
if (response.psbtBase64) {
|
|
3734
|
-
const signedPsbt =
|
|
1638
|
+
const signedPsbt = bitcoin2.Psbt.fromBase64(
|
|
3735
1639
|
String(response.psbtBase64),
|
|
3736
1640
|
{
|
|
3737
1641
|
network: getBitcoinNetwork(network)
|
|
@@ -3750,9 +1654,9 @@ var LaserEyesProvider = ({
|
|
|
3750
1654
|
throw error3;
|
|
3751
1655
|
}
|
|
3752
1656
|
};
|
|
3753
|
-
yield (0,
|
|
1657
|
+
yield (0, import_sats_connect.signTransaction)(signPsbtOptions);
|
|
3754
1658
|
if (broadcast) {
|
|
3755
|
-
const signed =
|
|
1659
|
+
const signed = bitcoin2.Psbt.fromBase64(String(signedPsbtBase64));
|
|
3756
1660
|
const finalized = signed.finalizeAllInputs();
|
|
3757
1661
|
const extracted = finalized.extractTransaction();
|
|
3758
1662
|
const txId2 = yield pushPsbt(extracted.toHex());
|
|
@@ -3772,7 +1676,7 @@ var LaserEyesProvider = ({
|
|
|
3772
1676
|
const signedPsbt = yield library == null ? void 0 : library.signPsbt(psbtHex, {
|
|
3773
1677
|
autoFinalized: finalize
|
|
3774
1678
|
});
|
|
3775
|
-
const psbtSignedPsbt =
|
|
1679
|
+
const psbtSignedPsbt = bitcoin2.Psbt.fromHex(signedPsbt);
|
|
3776
1680
|
if (finalize && broadcast) {
|
|
3777
1681
|
const txId = yield pushPsbt(signedPsbt);
|
|
3778
1682
|
return {
|
|
@@ -3798,7 +1702,7 @@ var LaserEyesProvider = ({
|
|
|
3798
1702
|
);
|
|
3799
1703
|
const leatherHexResult = response.result;
|
|
3800
1704
|
const signedTx = leatherHexResult.hex;
|
|
3801
|
-
const signed =
|
|
1705
|
+
const signed = bitcoin2.Psbt.fromHex(String(signedTx));
|
|
3802
1706
|
if (finalize && broadcast) {
|
|
3803
1707
|
const finalized = signed.finalizeAllInputs();
|
|
3804
1708
|
const txId = yield pushPsbt(finalized.toHex());
|
|
@@ -3826,7 +1730,7 @@ var LaserEyesProvider = ({
|
|
|
3826
1730
|
autoFinalized: finalize,
|
|
3827
1731
|
broadcast: false
|
|
3828
1732
|
});
|
|
3829
|
-
const psbtSignedPsbt =
|
|
1733
|
+
const psbtSignedPsbt = bitcoin2.Psbt.fromHex(signedPsbt);
|
|
3830
1734
|
if (finalize && broadcast) {
|
|
3831
1735
|
const txId = yield pushPsbt(signedPsbt);
|
|
3832
1736
|
return {
|
|
@@ -3858,11 +1762,11 @@ var LaserEyesProvider = ({
|
|
|
3858
1762
|
} else if (provider === OKX) {
|
|
3859
1763
|
return yield library == null ? void 0 : library.pushPsbt(psbt);
|
|
3860
1764
|
} else if (provider === MAGIC_EDEN) {
|
|
3861
|
-
return yield
|
|
1765
|
+
return yield import_axios2.default.post(`${getMempoolSpaceUrl2(network)}/api/tx`, psbt).then((res) => res.data);
|
|
3862
1766
|
} else if (provider === LEATHER) {
|
|
3863
|
-
const decoded =
|
|
1767
|
+
const decoded = bitcoin2.Psbt.fromHex(psbt);
|
|
3864
1768
|
const extracted = decoded.extractTransaction();
|
|
3865
|
-
return yield
|
|
1769
|
+
return yield import_axios2.default.post(`${getMempoolSpaceUrl2(network)}/api/tx`, extracted.toHex()).then((res) => res.data);
|
|
3866
1770
|
} else if (provider === WIZZ) {
|
|
3867
1771
|
return yield library == null ? void 0 : library.pushPsbt(psbt);
|
|
3868
1772
|
} else {
|
|
@@ -3872,14 +1776,14 @@ var LaserEyesProvider = ({
|
|
|
3872
1776
|
throw error;
|
|
3873
1777
|
}
|
|
3874
1778
|
});
|
|
3875
|
-
return /* @__PURE__ */ (0,
|
|
3876
|
-
|
|
1779
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1780
|
+
LaserEyesContext.Provider,
|
|
3877
1781
|
{
|
|
3878
1782
|
value: {
|
|
3879
1783
|
library,
|
|
3880
1784
|
accounts,
|
|
3881
1785
|
publicKey,
|
|
3882
|
-
address:
|
|
1786
|
+
address: address2,
|
|
3883
1787
|
paymentAddress,
|
|
3884
1788
|
paymentPublicKey,
|
|
3885
1789
|
provider,
|
|
@@ -3916,36 +1820,36 @@ var LaserEyesProvider = ({
|
|
|
3916
1820
|
};
|
|
3917
1821
|
|
|
3918
1822
|
// src/hooks/useInscriber.ts
|
|
3919
|
-
var
|
|
1823
|
+
var import_react2 = require("react");
|
|
3920
1824
|
|
|
3921
1825
|
// src/consts/inscribe.ts
|
|
3922
1826
|
var MIME_TYPE_TEXT = "text/plain;charset=utf-8";
|
|
3923
1827
|
|
|
3924
1828
|
// src/hooks/useInscriber.ts
|
|
3925
|
-
var
|
|
1829
|
+
var import_axios3 = __toESM(require("axios"));
|
|
3926
1830
|
var DESCRIBE_API_URL = "http://localhost:3000/api";
|
|
3927
1831
|
var useInscriber = ({
|
|
3928
1832
|
inscribeApiUrl = DESCRIBE_API_URL
|
|
3929
1833
|
}) => {
|
|
3930
|
-
const { address:
|
|
3931
|
-
const [content, setContent] = (0,
|
|
3932
|
-
const [mimeType, setMimeType] = (0,
|
|
3933
|
-
const [commitPsbtHex, setCommitPsbtHex] = (0,
|
|
3934
|
-
const [commitPsbtBase64, setCommitPsbtBase64] = (0,
|
|
3935
|
-
const [commitTxId, setCommitTxId] = (0,
|
|
3936
|
-
const [feeRate, setFeeRate] = (0,
|
|
3937
|
-
const [totalFees, setTotalFees] = (0,
|
|
3938
|
-
const [inscriberAddress, setInscriberAddress] = (0,
|
|
3939
|
-
const [inscriptionTxId, setInscriptionTxId] = (0,
|
|
3940
|
-
const [previewUrl, setPreviewUrl] = (0,
|
|
3941
|
-
const [isFetchingCommitPsbt, setIsFetchingCommitPsbt] = (0,
|
|
3942
|
-
const [isInscribing, setIsInscribing] = (0,
|
|
3943
|
-
(0,
|
|
1834
|
+
const { address: address2, paymentAddress, paymentPublicKey, publicKey, signPsbt } = useLaserEyes();
|
|
1835
|
+
const [content, setContent] = (0, import_react2.useState)("");
|
|
1836
|
+
const [mimeType, setMimeType] = (0, import_react2.useState)(MIME_TYPE_TEXT);
|
|
1837
|
+
const [commitPsbtHex, setCommitPsbtHex] = (0, import_react2.useState)("");
|
|
1838
|
+
const [commitPsbtBase64, setCommitPsbtBase64] = (0, import_react2.useState)("");
|
|
1839
|
+
const [commitTxId, setCommitTxId] = (0, import_react2.useState)("");
|
|
1840
|
+
const [feeRate, setFeeRate] = (0, import_react2.useState)(10);
|
|
1841
|
+
const [totalFees, setTotalFees] = (0, import_react2.useState)(0);
|
|
1842
|
+
const [inscriberAddress, setInscriberAddress] = (0, import_react2.useState)("");
|
|
1843
|
+
const [inscriptionTxId, setInscriptionTxId] = (0, import_react2.useState)("");
|
|
1844
|
+
const [previewUrl, setPreviewUrl] = (0, import_react2.useState)("");
|
|
1845
|
+
const [isFetchingCommitPsbt, setIsFetchingCommitPsbt] = (0, import_react2.useState)(false);
|
|
1846
|
+
const [isInscribing, setIsInscribing] = (0, import_react2.useState)(false);
|
|
1847
|
+
(0, import_react2.useEffect)(() => {
|
|
3944
1848
|
setCommitPsbtHex("");
|
|
3945
1849
|
setCommitPsbtBase64("");
|
|
3946
1850
|
setCommitTxId("");
|
|
3947
|
-
}, [content,
|
|
3948
|
-
const getCommitPsbt = (0,
|
|
1851
|
+
}, [content, address2, mimeType, feeRate]);
|
|
1852
|
+
const getCommitPsbt = (0, import_react2.useCallback)(() => __async(void 0, null, function* () {
|
|
3949
1853
|
try {
|
|
3950
1854
|
if (!content)
|
|
3951
1855
|
throw new Error("missing content");
|
|
@@ -3958,7 +1862,7 @@ var useInscriber = ({
|
|
|
3958
1862
|
if (!mimeType)
|
|
3959
1863
|
throw new Error("missing mimeType");
|
|
3960
1864
|
setIsFetchingCommitPsbt(true);
|
|
3961
|
-
return yield
|
|
1865
|
+
return yield import_axios3.default.post(`${inscribeApiUrl}/create-inscription`, {
|
|
3962
1866
|
content,
|
|
3963
1867
|
paymentAddress,
|
|
3964
1868
|
paymentPublicKey,
|
|
@@ -3992,7 +1896,7 @@ var useInscriber = ({
|
|
|
3992
1896
|
throw e;
|
|
3993
1897
|
}
|
|
3994
1898
|
});
|
|
3995
|
-
const inscribe = (0,
|
|
1899
|
+
const inscribe = (0, import_react2.useCallback)(
|
|
3996
1900
|
(_0) => __async(void 0, [_0], function* ({
|
|
3997
1901
|
content: providedContent,
|
|
3998
1902
|
mimeType: providedMimeType,
|
|
@@ -4002,7 +1906,7 @@ var useInscriber = ({
|
|
|
4002
1906
|
try {
|
|
4003
1907
|
const inscribeContent = providedContent != null ? providedContent : content;
|
|
4004
1908
|
const inscribeMimeType = providedMimeType != null ? providedMimeType : mimeType;
|
|
4005
|
-
const inscribeOutputAddress = providedAddress != null ? providedAddress :
|
|
1909
|
+
const inscribeOutputAddress = providedAddress != null ? providedAddress : address2;
|
|
4006
1910
|
let inscribeCommitTxId = providedCommitTxId != null ? providedCommitTxId : commitTxId;
|
|
4007
1911
|
if (!inscribeContent)
|
|
4008
1912
|
throw new Error("missing content");
|
|
@@ -4021,10 +1925,10 @@ var useInscriber = ({
|
|
|
4021
1925
|
yield delay(1e4);
|
|
4022
1926
|
if (!inscribeCommitTxId)
|
|
4023
1927
|
throw new Error("missing commitTxId");
|
|
4024
|
-
return yield
|
|
1928
|
+
return yield import_axios3.default.post(`${inscribeApiUrl}/inscribe`, {
|
|
4025
1929
|
content,
|
|
4026
1930
|
mimeType,
|
|
4027
|
-
ordinalAddress:
|
|
1931
|
+
ordinalAddress: address2,
|
|
4028
1932
|
commitTxId: inscribeCommitTxId
|
|
4029
1933
|
}).then((res) => res.data).then((data) => {
|
|
4030
1934
|
setInscriptionTxId(data);
|
|
@@ -4037,7 +1941,7 @@ var useInscriber = ({
|
|
|
4037
1941
|
setIsInscribing(false);
|
|
4038
1942
|
}
|
|
4039
1943
|
}),
|
|
4040
|
-
[
|
|
1944
|
+
[address2, commitTxId, content, mimeType]
|
|
4041
1945
|
);
|
|
4042
1946
|
const reset = () => {
|
|
4043
1947
|
setContent("");
|
|
@@ -4076,7 +1980,7 @@ var useInscriber = ({
|
|
|
4076
1980
|
};
|
|
4077
1981
|
|
|
4078
1982
|
// src/icons/oyl.tsx
|
|
4079
|
-
var
|
|
1983
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
4080
1984
|
var OylLogo = (_a) => {
|
|
4081
1985
|
var _b = _a, {
|
|
4082
1986
|
size = 42,
|
|
@@ -4088,7 +1992,7 @@ var OylLogo = (_a) => {
|
|
|
4088
1992
|
"className"
|
|
4089
1993
|
]);
|
|
4090
1994
|
if (variant === "first") {
|
|
4091
|
-
return /* @__PURE__ */ (0,
|
|
1995
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
4092
1996
|
"svg",
|
|
4093
1997
|
__spreadProps(__spreadValues({
|
|
4094
1998
|
className,
|
|
@@ -4099,7 +2003,7 @@ var OylLogo = (_a) => {
|
|
|
4099
2003
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4100
2004
|
}, props), {
|
|
4101
2005
|
children: [
|
|
4102
|
-
/* @__PURE__ */ (0,
|
|
2006
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
4103
2007
|
"rect",
|
|
4104
2008
|
{
|
|
4105
2009
|
width: "42",
|
|
@@ -4109,7 +2013,7 @@ var OylLogo = (_a) => {
|
|
|
4109
2013
|
style: { fill: "#090A0C", fillOpacity: 1 }
|
|
4110
2014
|
}
|
|
4111
2015
|
),
|
|
4112
|
-
/* @__PURE__ */ (0,
|
|
2016
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
4113
2017
|
"path",
|
|
4114
2018
|
{
|
|
4115
2019
|
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",
|
|
@@ -4121,7 +2025,7 @@ var OylLogo = (_a) => {
|
|
|
4121
2025
|
})
|
|
4122
2026
|
);
|
|
4123
2027
|
}
|
|
4124
|
-
return /* @__PURE__ */ (0,
|
|
2028
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
4125
2029
|
"svg",
|
|
4126
2030
|
__spreadProps(__spreadValues({
|
|
4127
2031
|
className,
|
|
@@ -4132,7 +2036,7 @@ var OylLogo = (_a) => {
|
|
|
4132
2036
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4133
2037
|
}, props), {
|
|
4134
2038
|
children: [
|
|
4135
|
-
/* @__PURE__ */ (0,
|
|
2039
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
4136
2040
|
"rect",
|
|
4137
2041
|
{
|
|
4138
2042
|
width: "42",
|
|
@@ -4142,7 +2046,7 @@ var OylLogo = (_a) => {
|
|
|
4142
2046
|
style: { fill: "white", fillOpacity: 1 }
|
|
4143
2047
|
}
|
|
4144
2048
|
),
|
|
4145
|
-
/* @__PURE__ */ (0,
|
|
2049
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
4146
2050
|
"path",
|
|
4147
2051
|
{
|
|
4148
2052
|
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",
|
|
@@ -4156,7 +2060,7 @@ var OylLogo = (_a) => {
|
|
|
4156
2060
|
};
|
|
4157
2061
|
|
|
4158
2062
|
// src/icons/leather.tsx
|
|
4159
|
-
var
|
|
2063
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
4160
2064
|
var LeatherLogo = (_a) => {
|
|
4161
2065
|
var _b = _a, {
|
|
4162
2066
|
size = 42,
|
|
@@ -4168,7 +2072,7 @@ var LeatherLogo = (_a) => {
|
|
|
4168
2072
|
"className"
|
|
4169
2073
|
]);
|
|
4170
2074
|
if (variant === "first") {
|
|
4171
|
-
return /* @__PURE__ */ (0,
|
|
2075
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
4172
2076
|
"svg",
|
|
4173
2077
|
__spreadProps(__spreadValues({
|
|
4174
2078
|
className,
|
|
@@ -4179,8 +2083,8 @@ var LeatherLogo = (_a) => {
|
|
|
4179
2083
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4180
2084
|
}, props), {
|
|
4181
2085
|
children: [
|
|
4182
|
-
/* @__PURE__ */ (0,
|
|
4183
|
-
/* @__PURE__ */ (0,
|
|
2086
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { width: "128", height: "128", rx: "26.8387", fill: "#12100F" }),
|
|
2087
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
4184
2088
|
"path",
|
|
4185
2089
|
{
|
|
4186
2090
|
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",
|
|
@@ -4191,7 +2095,7 @@ var LeatherLogo = (_a) => {
|
|
|
4191
2095
|
})
|
|
4192
2096
|
);
|
|
4193
2097
|
}
|
|
4194
|
-
return /* @__PURE__ */ (0,
|
|
2098
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
4195
2099
|
"svg",
|
|
4196
2100
|
__spreadProps(__spreadValues({
|
|
4197
2101
|
className,
|
|
@@ -4202,8 +2106,8 @@ var LeatherLogo = (_a) => {
|
|
|
4202
2106
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4203
2107
|
}, props), {
|
|
4204
2108
|
children: [
|
|
4205
|
-
/* @__PURE__ */ (0,
|
|
4206
|
-
/* @__PURE__ */ (0,
|
|
2109
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { width: "128", height: "128", rx: "26.8387", fill: "#F5F1ED" }),
|
|
2110
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
4207
2111
|
"path",
|
|
4208
2112
|
{
|
|
4209
2113
|
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",
|
|
@@ -4216,7 +2120,7 @@ var LeatherLogo = (_a) => {
|
|
|
4216
2120
|
};
|
|
4217
2121
|
|
|
4218
2122
|
// src/icons/phantom.tsx
|
|
4219
|
-
var
|
|
2123
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
4220
2124
|
var PhantomLogo = (_a) => {
|
|
4221
2125
|
var _b = _a, {
|
|
4222
2126
|
size = 42,
|
|
@@ -4228,7 +2132,7 @@ var PhantomLogo = (_a) => {
|
|
|
4228
2132
|
"className"
|
|
4229
2133
|
]);
|
|
4230
2134
|
if (variant === "first") {
|
|
4231
|
-
return /* @__PURE__ */ (0,
|
|
2135
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
4232
2136
|
"svg",
|
|
4233
2137
|
__spreadProps(__spreadValues({
|
|
4234
2138
|
className,
|
|
@@ -4239,15 +2143,15 @@ var PhantomLogo = (_a) => {
|
|
|
4239
2143
|
fill: "none"
|
|
4240
2144
|
}, props), {
|
|
4241
2145
|
children: [
|
|
4242
|
-
/* @__PURE__ */ (0,
|
|
4243
|
-
/* @__PURE__ */ (0,
|
|
2146
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { clipPath: "url(#a)", children: [
|
|
2147
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
4244
2148
|
"path",
|
|
4245
2149
|
{
|
|
4246
2150
|
fill: "#AB9FF2",
|
|
4247
2151
|
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"
|
|
4248
2152
|
}
|
|
4249
2153
|
),
|
|
4250
|
-
/* @__PURE__ */ (0,
|
|
2154
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
4251
2155
|
"path",
|
|
4252
2156
|
{
|
|
4253
2157
|
fill: "#FFFDF8",
|
|
@@ -4257,12 +2161,12 @@ var PhantomLogo = (_a) => {
|
|
|
4257
2161
|
}
|
|
4258
2162
|
)
|
|
4259
2163
|
] }),
|
|
4260
|
-
/* @__PURE__ */ (0,
|
|
2164
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("clipPath", { id: "a", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { fill: "#fff", d: "M0 0h42v42H0z" }) }) })
|
|
4261
2165
|
]
|
|
4262
2166
|
})
|
|
4263
2167
|
);
|
|
4264
2168
|
}
|
|
4265
|
-
return /* @__PURE__ */ (0,
|
|
2169
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
4266
2170
|
"svg",
|
|
4267
2171
|
__spreadProps(__spreadValues({
|
|
4268
2172
|
className,
|
|
@@ -4273,15 +2177,15 @@ var PhantomLogo = (_a) => {
|
|
|
4273
2177
|
fill: "none"
|
|
4274
2178
|
}, props), {
|
|
4275
2179
|
children: [
|
|
4276
|
-
/* @__PURE__ */ (0,
|
|
4277
|
-
/* @__PURE__ */ (0,
|
|
2180
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { clipPath: "url(#a)", children: [
|
|
2181
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
4278
2182
|
"path",
|
|
4279
2183
|
{
|
|
4280
2184
|
fill: "#FFFDF8",
|
|
4281
2185
|
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"
|
|
4282
2186
|
}
|
|
4283
2187
|
),
|
|
4284
|
-
/* @__PURE__ */ (0,
|
|
2188
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
4285
2189
|
"path",
|
|
4286
2190
|
{
|
|
4287
2191
|
fill: "#AB9FF2",
|
|
@@ -4291,14 +2195,14 @@ var PhantomLogo = (_a) => {
|
|
|
4291
2195
|
}
|
|
4292
2196
|
)
|
|
4293
2197
|
] }),
|
|
4294
|
-
/* @__PURE__ */ (0,
|
|
2198
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("clipPath", { id: "a", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { fill: "#fff", d: "M0 0h42v42H0z" }) }) })
|
|
4295
2199
|
]
|
|
4296
2200
|
})
|
|
4297
2201
|
);
|
|
4298
2202
|
};
|
|
4299
2203
|
|
|
4300
2204
|
// src/icons/xverse.tsx
|
|
4301
|
-
var
|
|
2205
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
4302
2206
|
var XverseLogo = (_a) => {
|
|
4303
2207
|
var _b = _a, {
|
|
4304
2208
|
size = 42,
|
|
@@ -4309,7 +2213,7 @@ var XverseLogo = (_a) => {
|
|
|
4309
2213
|
"variant",
|
|
4310
2214
|
"className"
|
|
4311
2215
|
]);
|
|
4312
|
-
return /* @__PURE__ */ (0,
|
|
2216
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
4313
2217
|
"svg",
|
|
4314
2218
|
__spreadProps(__spreadValues({
|
|
4315
2219
|
className,
|
|
@@ -4320,22 +2224,22 @@ var XverseLogo = (_a) => {
|
|
|
4320
2224
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4321
2225
|
}, props), {
|
|
4322
2226
|
children: [
|
|
4323
|
-
/* @__PURE__ */ (0,
|
|
4324
|
-
/* @__PURE__ */ (0,
|
|
2227
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("g", { clipPath: "url(#clip0_3_53)", children: [
|
|
2228
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
4325
2229
|
"path",
|
|
4326
2230
|
{
|
|
4327
2231
|
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",
|
|
4328
2232
|
fill: "#181818"
|
|
4329
2233
|
}
|
|
4330
2234
|
),
|
|
4331
|
-
/* @__PURE__ */ (0,
|
|
2235
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
4332
2236
|
"path",
|
|
4333
2237
|
{
|
|
4334
2238
|
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",
|
|
4335
2239
|
fill: "white"
|
|
4336
2240
|
}
|
|
4337
2241
|
),
|
|
4338
|
-
/* @__PURE__ */ (0,
|
|
2242
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
4339
2243
|
"path",
|
|
4340
2244
|
{
|
|
4341
2245
|
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",
|
|
@@ -4343,14 +2247,14 @@ var XverseLogo = (_a) => {
|
|
|
4343
2247
|
}
|
|
4344
2248
|
)
|
|
4345
2249
|
] }),
|
|
4346
|
-
/* @__PURE__ */ (0,
|
|
2250
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("clipPath", { id: "clip0_3_53", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { width: "42", height: "42", fill: "white" }) }) })
|
|
4347
2251
|
]
|
|
4348
2252
|
})
|
|
4349
2253
|
);
|
|
4350
2254
|
};
|
|
4351
2255
|
|
|
4352
2256
|
// src/icons/unisat.tsx
|
|
4353
|
-
var
|
|
2257
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
4354
2258
|
var UnisatLogo = (_a) => {
|
|
4355
2259
|
var _b = _a, {
|
|
4356
2260
|
size = 42,
|
|
@@ -4361,7 +2265,7 @@ var UnisatLogo = (_a) => {
|
|
|
4361
2265
|
"variant",
|
|
4362
2266
|
"className"
|
|
4363
2267
|
]);
|
|
4364
|
-
return /* @__PURE__ */ (0,
|
|
2268
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
4365
2269
|
"svg",
|
|
4366
2270
|
__spreadProps(__spreadValues({
|
|
4367
2271
|
className,
|
|
@@ -4372,29 +2276,29 @@ var UnisatLogo = (_a) => {
|
|
|
4372
2276
|
fill: "none"
|
|
4373
2277
|
}, props), {
|
|
4374
2278
|
children: [
|
|
4375
|
-
/* @__PURE__ */ (0,
|
|
4376
|
-
/* @__PURE__ */ (0,
|
|
2279
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("g", { clipPath: "url(#a)", children: [
|
|
2280
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
4377
2281
|
"path",
|
|
4378
2282
|
{
|
|
4379
2283
|
fill: "#000",
|
|
4380
2284
|
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"
|
|
4381
2285
|
}
|
|
4382
2286
|
),
|
|
4383
|
-
/* @__PURE__ */ (0,
|
|
2287
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
4384
2288
|
"path",
|
|
4385
2289
|
{
|
|
4386
2290
|
fill: "url(#b)",
|
|
4387
2291
|
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"
|
|
4388
2292
|
}
|
|
4389
2293
|
),
|
|
4390
|
-
/* @__PURE__ */ (0,
|
|
2294
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
4391
2295
|
"path",
|
|
4392
2296
|
{
|
|
4393
2297
|
fill: "url(#c)",
|
|
4394
2298
|
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"
|
|
4395
2299
|
}
|
|
4396
2300
|
),
|
|
4397
|
-
/* @__PURE__ */ (0,
|
|
2301
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
4398
2302
|
"path",
|
|
4399
2303
|
{
|
|
4400
2304
|
fill: "url(#d)",
|
|
@@ -4402,8 +2306,8 @@ var UnisatLogo = (_a) => {
|
|
|
4402
2306
|
}
|
|
4403
2307
|
)
|
|
4404
2308
|
] }),
|
|
4405
|
-
/* @__PURE__ */ (0,
|
|
4406
|
-
/* @__PURE__ */ (0,
|
|
2309
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("defs", { children: [
|
|
2310
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
4407
2311
|
"linearGradient",
|
|
4408
2312
|
{
|
|
4409
2313
|
id: "b",
|
|
@@ -4413,14 +2317,14 @@ var UnisatLogo = (_a) => {
|
|
|
4413
2317
|
y2: 20.772,
|
|
4414
2318
|
gradientUnits: "userSpaceOnUse",
|
|
4415
2319
|
children: [
|
|
4416
|
-
/* @__PURE__ */ (0,
|
|
4417
|
-
/* @__PURE__ */ (0,
|
|
4418
|
-
/* @__PURE__ */ (0,
|
|
4419
|
-
/* @__PURE__ */ (0,
|
|
2320
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("stop", { stopColor: "#201C1B" }),
|
|
2321
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("stop", { offset: 0.36, stopColor: "#77390D" }),
|
|
2322
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("stop", { offset: 0.67, stopColor: "#EA8101" }),
|
|
2323
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("stop", { offset: 1, stopColor: "#F4B852" })
|
|
4420
2324
|
]
|
|
4421
2325
|
}
|
|
4422
2326
|
),
|
|
4423
|
-
/* @__PURE__ */ (0,
|
|
2327
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
4424
2328
|
"linearGradient",
|
|
4425
2329
|
{
|
|
4426
2330
|
id: "c",
|
|
@@ -4430,14 +2334,14 @@ var UnisatLogo = (_a) => {
|
|
|
4430
2334
|
y2: 22.844,
|
|
4431
2335
|
gradientUnits: "userSpaceOnUse",
|
|
4432
2336
|
children: [
|
|
4433
|
-
/* @__PURE__ */ (0,
|
|
4434
|
-
/* @__PURE__ */ (0,
|
|
4435
|
-
/* @__PURE__ */ (0,
|
|
4436
|
-
/* @__PURE__ */ (0,
|
|
2337
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("stop", { stopColor: "#1F1D1C" }),
|
|
2338
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("stop", { offset: 0.37, stopColor: "#77390D" }),
|
|
2339
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("stop", { offset: 0.67, stopColor: "#EA8101" }),
|
|
2340
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("stop", { offset: 1, stopColor: "#F4FB52" })
|
|
4437
2341
|
]
|
|
4438
2342
|
}
|
|
4439
2343
|
),
|
|
4440
|
-
/* @__PURE__ */ (0,
|
|
2344
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
4441
2345
|
"radialGradient",
|
|
4442
2346
|
{
|
|
4443
2347
|
id: "d",
|
|
@@ -4447,14 +2351,14 @@ var UnisatLogo = (_a) => {
|
|
|
4447
2351
|
gradientTransform: "matrix(2.11484 0 0 2.08019 20.073 15.567)",
|
|
4448
2352
|
gradientUnits: "userSpaceOnUse",
|
|
4449
2353
|
children: [
|
|
4450
|
-
/* @__PURE__ */ (0,
|
|
4451
|
-
/* @__PURE__ */ (0,
|
|
4452
|
-
/* @__PURE__ */ (0,
|
|
4453
|
-
/* @__PURE__ */ (0,
|
|
2354
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("stop", { stopColor: "#F4B852" }),
|
|
2355
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("stop", { offset: 0.33, stopColor: "#EA8101" }),
|
|
2356
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("stop", { offset: 0.64, stopColor: "#77390D" }),
|
|
2357
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("stop", { offset: 1, stopColor: "#211C1D" })
|
|
4454
2358
|
]
|
|
4455
2359
|
}
|
|
4456
2360
|
),
|
|
4457
|
-
/* @__PURE__ */ (0,
|
|
2361
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("clipPath", { id: "a", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { fill: "#fff", d: "M0 0h42v42H0z" }) })
|
|
4458
2362
|
] })
|
|
4459
2363
|
]
|
|
4460
2364
|
})
|
|
@@ -4462,7 +2366,7 @@ var UnisatLogo = (_a) => {
|
|
|
4462
2366
|
};
|
|
4463
2367
|
|
|
4464
2368
|
// src/icons/wizz.tsx
|
|
4465
|
-
var
|
|
2369
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
4466
2370
|
var WizzLogo = (_a) => {
|
|
4467
2371
|
var _b = _a, {
|
|
4468
2372
|
size = 42,
|
|
@@ -4473,7 +2377,7 @@ var WizzLogo = (_a) => {
|
|
|
4473
2377
|
"variant",
|
|
4474
2378
|
"className"
|
|
4475
2379
|
]);
|
|
4476
|
-
return /* @__PURE__ */ (0,
|
|
2380
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
|
4477
2381
|
"svg",
|
|
4478
2382
|
__spreadProps(__spreadValues({
|
|
4479
2383
|
className,
|
|
@@ -4484,37 +2388,37 @@ var WizzLogo = (_a) => {
|
|
|
4484
2388
|
fill: "none"
|
|
4485
2389
|
}, props), {
|
|
4486
2390
|
children: [
|
|
4487
|
-
/* @__PURE__ */ (0,
|
|
4488
|
-
/* @__PURE__ */ (0,
|
|
2391
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("g", { clipPath: "url(#a)", children: [
|
|
2392
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
4489
2393
|
"path",
|
|
4490
2394
|
{
|
|
4491
2395
|
fill: "#000",
|
|
4492
2396
|
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"
|
|
4493
2397
|
}
|
|
4494
2398
|
),
|
|
4495
|
-
/* @__PURE__ */ (0,
|
|
4496
|
-
/* @__PURE__ */ (0,
|
|
2399
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("g", { fillRule: "evenodd", clipPath: "url(#b)", clipRule: "evenodd", children: [
|
|
2400
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
4497
2401
|
"path",
|
|
4498
2402
|
{
|
|
4499
2403
|
fill: "#FFD815",
|
|
4500
2404
|
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"
|
|
4501
2405
|
}
|
|
4502
2406
|
),
|
|
4503
|
-
/* @__PURE__ */ (0,
|
|
2407
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
4504
2408
|
"path",
|
|
4505
2409
|
{
|
|
4506
2410
|
fill: "#FF9813",
|
|
4507
2411
|
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"
|
|
4508
2412
|
}
|
|
4509
2413
|
),
|
|
4510
|
-
/* @__PURE__ */ (0,
|
|
2414
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
4511
2415
|
"path",
|
|
4512
2416
|
{
|
|
4513
2417
|
fill: "#5B5B72",
|
|
4514
2418
|
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"
|
|
4515
2419
|
}
|
|
4516
2420
|
),
|
|
4517
|
-
/* @__PURE__ */ (0,
|
|
2421
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
4518
2422
|
"path",
|
|
4519
2423
|
{
|
|
4520
2424
|
fill: "#FF9813",
|
|
@@ -4523,9 +2427,9 @@ var WizzLogo = (_a) => {
|
|
|
4523
2427
|
)
|
|
4524
2428
|
] })
|
|
4525
2429
|
] }),
|
|
4526
|
-
/* @__PURE__ */ (0,
|
|
4527
|
-
/* @__PURE__ */ (0,
|
|
4528
|
-
/* @__PURE__ */ (0,
|
|
2430
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("defs", { children: [
|
|
2431
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("clipPath", { id: "a", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { fill: "#fff", d: "M0 0h42v42H0z" }) }),
|
|
2432
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("clipPath", { id: "b", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { fill: "#fff", d: "M8 8h25v25H8z" }) })
|
|
4529
2433
|
] })
|
|
4530
2434
|
]
|
|
4531
2435
|
})
|
|
@@ -4533,7 +2437,7 @@ var WizzLogo = (_a) => {
|
|
|
4533
2437
|
};
|
|
4534
2438
|
|
|
4535
2439
|
// src/icons/okx.tsx
|
|
4536
|
-
var
|
|
2440
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
4537
2441
|
var OkxLogo = (_a) => {
|
|
4538
2442
|
var _b = _a, {
|
|
4539
2443
|
size = 42,
|
|
@@ -4544,7 +2448,7 @@ var OkxLogo = (_a) => {
|
|
|
4544
2448
|
"variant",
|
|
4545
2449
|
"className"
|
|
4546
2450
|
]);
|
|
4547
|
-
return /* @__PURE__ */ (0,
|
|
2451
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
4548
2452
|
"svg",
|
|
4549
2453
|
__spreadProps(__spreadValues({
|
|
4550
2454
|
className,
|
|
@@ -4555,19 +2459,19 @@ var OkxLogo = (_a) => {
|
|
|
4555
2459
|
fill: "none"
|
|
4556
2460
|
}, props), {
|
|
4557
2461
|
children: [
|
|
4558
|
-
/* @__PURE__ */ (0,
|
|
4559
|
-
/* @__PURE__ */ (0,
|
|
2462
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("g", { clipPath: "url(#a)", children: [
|
|
2463
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
4560
2464
|
"path",
|
|
4561
2465
|
{
|
|
4562
2466
|
fill: "#000",
|
|
4563
2467
|
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"
|
|
4564
2468
|
}
|
|
4565
2469
|
),
|
|
4566
|
-
/* @__PURE__ */ (0,
|
|
2470
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("g", { fill: "#fff", clipPath: "url(#b)", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("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" }) })
|
|
4567
2471
|
] }),
|
|
4568
|
-
/* @__PURE__ */ (0,
|
|
4569
|
-
/* @__PURE__ */ (0,
|
|
4570
|
-
/* @__PURE__ */ (0,
|
|
2472
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("defs", { children: [
|
|
2473
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("clipPath", { id: "a", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("path", { fill: "#fff", d: "M0 0h42v42H0z" }) }),
|
|
2474
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("clipPath", { id: "b", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("path", { fill: "#fff", d: "M0 0h42v42H0z" }) })
|
|
4571
2475
|
] })
|
|
4572
2476
|
]
|
|
4573
2477
|
})
|
|
@@ -4575,7 +2479,7 @@ var OkxLogo = (_a) => {
|
|
|
4575
2479
|
};
|
|
4576
2480
|
|
|
4577
2481
|
// src/icons/magiceden.tsx
|
|
4578
|
-
var
|
|
2482
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
4579
2483
|
var MagicEdenLogo = (_a) => {
|
|
4580
2484
|
var _b = _a, {
|
|
4581
2485
|
size = 42,
|
|
@@ -4586,7 +2490,7 @@ var MagicEdenLogo = (_a) => {
|
|
|
4586
2490
|
"variant",
|
|
4587
2491
|
"className"
|
|
4588
2492
|
]);
|
|
4589
|
-
return /* @__PURE__ */ (0,
|
|
2493
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
4590
2494
|
"svg",
|
|
4591
2495
|
__spreadProps(__spreadValues({
|
|
4592
2496
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4597,15 +2501,15 @@ var MagicEdenLogo = (_a) => {
|
|
|
4597
2501
|
fill: "none"
|
|
4598
2502
|
}, props), {
|
|
4599
2503
|
children: [
|
|
4600
|
-
/* @__PURE__ */ (0,
|
|
4601
|
-
/* @__PURE__ */ (0,
|
|
2504
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("g", { clipPath: "url(#clip0_17_93)", children: [
|
|
2505
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
4602
2506
|
"path",
|
|
4603
2507
|
{
|
|
4604
2508
|
fill: "#070C34",
|
|
4605
2509
|
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"
|
|
4606
2510
|
}
|
|
4607
2511
|
),
|
|
4608
|
-
/* @__PURE__ */ (0,
|
|
2512
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
4609
2513
|
"path",
|
|
4610
2514
|
{
|
|
4611
2515
|
fill: "url(#paint0_linear_17_93)",
|
|
@@ -4613,8 +2517,8 @@ var MagicEdenLogo = (_a) => {
|
|
|
4613
2517
|
}
|
|
4614
2518
|
)
|
|
4615
2519
|
] }),
|
|
4616
|
-
/* @__PURE__ */ (0,
|
|
4617
|
-
/* @__PURE__ */ (0,
|
|
2520
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("defs", { children: [
|
|
2521
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
4618
2522
|
"linearGradient",
|
|
4619
2523
|
{
|
|
4620
2524
|
id: "paint0_linear_17_93",
|
|
@@ -4624,23 +2528,23 @@ var MagicEdenLogo = (_a) => {
|
|
|
4624
2528
|
y2: "30.176",
|
|
4625
2529
|
gradientUnits: "userSpaceOnUse",
|
|
4626
2530
|
children: [
|
|
4627
|
-
/* @__PURE__ */ (0,
|
|
4628
|
-
/* @__PURE__ */ (0,
|
|
4629
|
-
/* @__PURE__ */ (0,
|
|
4630
|
-
/* @__PURE__ */ (0,
|
|
4631
|
-
/* @__PURE__ */ (0,
|
|
4632
|
-
/* @__PURE__ */ (0,
|
|
4633
|
-
/* @__PURE__ */ (0,
|
|
4634
|
-
/* @__PURE__ */ (0,
|
|
4635
|
-
/* @__PURE__ */ (0,
|
|
4636
|
-
/* @__PURE__ */ (0,
|
|
4637
|
-
/* @__PURE__ */ (0,
|
|
4638
|
-
/* @__PURE__ */ (0,
|
|
4639
|
-
/* @__PURE__ */ (0,
|
|
2531
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("stop", { offset: "0.23", stopColor: "#FF0074" }),
|
|
2532
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("stop", { offset: "0.26", stopColor: "#FF0068" }),
|
|
2533
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("stop", { offset: "0.32", stopColor: "#FF0048" }),
|
|
2534
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("stop", { offset: "0.39", stopColor: "#FF0015" }),
|
|
2535
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("stop", { offset: "0.41", stopColor: "#FF0009" }),
|
|
2536
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("stop", { offset: "0.43", stopColor: "#FF0908" }),
|
|
2537
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("stop", { offset: "0.54", stopColor: "#FF4003" }),
|
|
2538
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("stop", { offset: "0.62", stopColor: "#FF6201" }),
|
|
2539
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("stop", { offset: "0.66", stopColor: "#FF6F00" }),
|
|
2540
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("stop", { offset: "0.72", stopColor: "#FF8700" }),
|
|
2541
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("stop", { offset: "0.83", stopColor: "#FFAB00" }),
|
|
2542
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("stop", { offset: "0.92", stopColor: "#FFC100" }),
|
|
2543
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("stop", { offset: "0.98", stopColor: "#FFCA00" })
|
|
4640
2544
|
]
|
|
4641
2545
|
}
|
|
4642
2546
|
),
|
|
4643
|
-
/* @__PURE__ */ (0,
|
|
2547
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("clipPath", { id: "clip0_17_93", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { fill: "#fff", d: "M0 0h42v42H0z" }) })
|
|
4644
2548
|
] })
|
|
4645
2549
|
]
|
|
4646
2550
|
})
|
|
@@ -4648,7 +2552,7 @@ var MagicEdenLogo = (_a) => {
|
|
|
4648
2552
|
};
|
|
4649
2553
|
|
|
4650
2554
|
// src/icons/walletIcon.tsx
|
|
4651
|
-
var
|
|
2555
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
4652
2556
|
var WalletIcon = ({
|
|
4653
2557
|
size,
|
|
4654
2558
|
className,
|
|
@@ -4656,27 +2560,28 @@ var WalletIcon = ({
|
|
|
4656
2560
|
walletName
|
|
4657
2561
|
}) => {
|
|
4658
2562
|
if (walletName === XVERSE) {
|
|
4659
|
-
return /* @__PURE__ */ (0,
|
|
2563
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(XverseLogo, { size, className, variant });
|
|
4660
2564
|
} else if (walletName === WIZZ) {
|
|
4661
|
-
return /* @__PURE__ */ (0,
|
|
2565
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(WizzLogo, { size, className, variant });
|
|
4662
2566
|
} else if (walletName === LEATHER) {
|
|
4663
|
-
return /* @__PURE__ */ (0,
|
|
2567
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(LeatherLogo, { size, className, variant });
|
|
4664
2568
|
} else if (walletName === MAGIC_EDEN) {
|
|
4665
|
-
return /* @__PURE__ */ (0,
|
|
2569
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(MagicEdenLogo, { size, className, variant });
|
|
4666
2570
|
} else if (walletName === OKX) {
|
|
4667
|
-
return /* @__PURE__ */ (0,
|
|
2571
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(OkxLogo, { size, className, variant });
|
|
4668
2572
|
} else if (walletName === PHANTOM) {
|
|
4669
|
-
return /* @__PURE__ */ (0,
|
|
2573
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PhantomLogo, { size, className, variant });
|
|
4670
2574
|
} else if (walletName === UNISAT) {
|
|
4671
|
-
return /* @__PURE__ */ (0,
|
|
2575
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(UnisatLogo, { size, className, variant });
|
|
4672
2576
|
} else if (walletName === OYL) {
|
|
4673
|
-
return /* @__PURE__ */ (0,
|
|
2577
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(OylLogo, { size, className, variant });
|
|
4674
2578
|
} else {
|
|
4675
|
-
return /* @__PURE__ */ (0,
|
|
2579
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(LeatherLogo, { size, className, variant });
|
|
4676
2580
|
}
|
|
4677
2581
|
};
|
|
4678
2582
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4679
2583
|
0 && (module.exports = {
|
|
2584
|
+
FRACTAL_TESTNET,
|
|
4680
2585
|
LEATHER,
|
|
4681
2586
|
LEATHER_MAINNET,
|
|
4682
2587
|
LEATHER_TESTNET,
|
|
@@ -4708,6 +2613,7 @@ var WalletIcon = ({
|
|
|
4708
2613
|
SIGNET,
|
|
4709
2614
|
TESTNET,
|
|
4710
2615
|
UNISAT,
|
|
2616
|
+
UNISAT_FRACTAL_TESTNET,
|
|
4711
2617
|
UNISAT_MAINNET,
|
|
4712
2618
|
UNISAT_TESTNET,
|
|
4713
2619
|
UnisatLogo,
|