@1sat/wallet-toolbox 0.0.56 → 0.0.57
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.
|
@@ -203,6 +203,7 @@ export async function buildTransferOrdinals(ctx, request) {
|
|
|
203
203
|
lockingScript: new P2PKH().lock(recipientAddress).toHex(),
|
|
204
204
|
satoshis: 1,
|
|
205
205
|
outputDescription: "Ordinal transfer to external address",
|
|
206
|
+
tags: [],
|
|
206
207
|
});
|
|
207
208
|
}
|
|
208
209
|
}
|
|
@@ -677,6 +678,7 @@ export const purchaseOrdinal = {
|
|
|
677
678
|
lockingScript: payoutLockingScript.toHex(),
|
|
678
679
|
satoshis: payoutSatoshis,
|
|
679
680
|
outputDescription: "Payment to seller",
|
|
681
|
+
tags: [],
|
|
680
682
|
});
|
|
681
683
|
if (marketplaceAddress && marketplaceRate && marketplaceRate > 0) {
|
|
682
684
|
const marketFee = Math.ceil(payoutSatoshis * marketplaceRate);
|
|
@@ -685,6 +687,7 @@ export const purchaseOrdinal = {
|
|
|
685
687
|
lockingScript: p2pkh.lock(marketplaceAddress).toHex(),
|
|
686
688
|
satoshis: marketFee,
|
|
687
689
|
outputDescription: "Marketplace fee",
|
|
690
|
+
tags: [],
|
|
688
691
|
});
|
|
689
692
|
}
|
|
690
693
|
}
|
package/dist/api/sweep/index.js
CHANGED
|
@@ -600,6 +600,7 @@ export const sweepBsv21 = {
|
|
|
600
600
|
lockingScript: p2pkh.lock(fundAddress).toHex(),
|
|
601
601
|
satoshis: BSV21_FEE_SATS,
|
|
602
602
|
outputDescription: "Overlay processing fee",
|
|
603
|
+
tags: [],
|
|
603
604
|
});
|
|
604
605
|
const beefData = firstBeef.toBinary();
|
|
605
606
|
// Create action to get signable transaction
|
package/dist/api/tokens/index.js
CHANGED
|
@@ -259,6 +259,7 @@ export const sendBsv21 = {
|
|
|
259
259
|
lockingScript: p2pkh.lock(fundAddress).toHex(),
|
|
260
260
|
satoshis: BSV21_FEE_SATS,
|
|
261
261
|
outputDescription: "Overlay processing fee",
|
|
262
|
+
tags: [],
|
|
262
263
|
});
|
|
263
264
|
const change = totalIn - amount;
|
|
264
265
|
if (change > 0n) {
|
|
@@ -415,6 +416,7 @@ export const purchaseBsv21 = {
|
|
|
415
416
|
lockingScript: payoutLockingScript.toHex(),
|
|
416
417
|
satoshis: payoutSatoshis,
|
|
417
418
|
outputDescription: "Payment to seller",
|
|
419
|
+
tags: [],
|
|
418
420
|
});
|
|
419
421
|
if (marketplaceAddress && marketplaceRate && marketplaceRate > 0) {
|
|
420
422
|
const marketFee = Math.ceil(payoutSatoshis * marketplaceRate);
|
|
@@ -423,6 +425,7 @@ export const purchaseBsv21 = {
|
|
|
423
425
|
lockingScript: p2pkh.lock(marketplaceAddress).toHex(),
|
|
424
426
|
satoshis: marketFee,
|
|
425
427
|
outputDescription: "Marketplace fee",
|
|
428
|
+
tags: [],
|
|
426
429
|
});
|
|
427
430
|
}
|
|
428
431
|
}
|