@satora/escrow-client 0.0.1-alpha.1 → 0.0.1-alpha.3
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/escrow-client.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import type { Client } from "@satora/swap";
|
|
|
11
11
|
* has private fields, so the full class would be a nominal mismatch across
|
|
12
12
|
* copies).
|
|
13
13
|
*/
|
|
14
|
-
export type SwapClient = Pick<Client, "createLightningToArkadeSwap" | "claimArkade" | "createArkadeToLightningSwap">;
|
|
14
|
+
export type SwapClient = Pick<Client, "createLightningToArkadeSwap" | "claimArkade" | "createArkadeToLightningSwap" | "getArkadeToLightningQuote">;
|
|
15
15
|
/**
|
|
16
16
|
* Dependencies for {@link EscrowClient}.
|
|
17
17
|
*
|
|
@@ -79,19 +79,42 @@ export declare class EscrowClient {
|
|
|
79
79
|
* server-funded VHTLC into the escrow and resolves when the VTXO lands.
|
|
80
80
|
*/
|
|
81
81
|
fundFromLightning(params: FundFromLightningParams): Promise<FundFromLightningHandle>;
|
|
82
|
+
/**
|
|
83
|
+
* Quote a Lightning withdrawal: given how many sats you'd spend from the
|
|
84
|
+
* payout (`sourceAmountSats`), returns what the recipient receives after the
|
|
85
|
+
* swap fee and what is actually spent.
|
|
86
|
+
*
|
|
87
|
+
* Use `recipientSats` as the `amountSats` for an LNURL / Lightning-address
|
|
88
|
+
* {@link withdrawToLightning} — e.g. pre-fill the amount from the available
|
|
89
|
+
* payout balance so the user doesn't have to compute fees by hand.
|
|
90
|
+
*/
|
|
91
|
+
quoteLightningWithdrawal(sourceAmountSats: number): Promise<{
|
|
92
|
+
/** Sats the recipient receives (pass as `amountSats` to withdrawToLightning). */
|
|
93
|
+
recipientSats: number;
|
|
94
|
+
/** Sats actually spent from the payout to fund the swap VHTLC. */
|
|
95
|
+
sourceSats: number;
|
|
96
|
+
}>;
|
|
82
97
|
/**
|
|
83
98
|
* Withdraw a released payout to Lightning via an Arkade→Lightning swap.
|
|
84
99
|
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
100
|
+
* `destination` may be a BOLT11 invoice, an LNURL (`lnurl1...`), or a
|
|
101
|
+
* Lightning address (`user@host`) — the swap backend resolves LNURL /
|
|
102
|
+
* address itself, so nothing is fetched client-side. `amountSats` (what the
|
|
103
|
+
* recipient receives) is **required** for LNURL / address and **ignored**
|
|
104
|
+
* for a BOLT11 invoice (the amount is taken from the invoice).
|
|
105
|
+
*
|
|
106
|
+
* Creates the swap and funds its VHTLC from the buyer wallet's payout; the
|
|
107
|
+
* Lendaswap server then claims the VHTLC and pays the recipient. Returns the
|
|
108
|
+
* swap id, the VHTLC funding txid, and the sats sent (recipient amount plus
|
|
109
|
+
* the swap fee — must be <= the available payout).
|
|
89
110
|
*/
|
|
90
111
|
withdrawToLightning(params: {
|
|
91
112
|
/** Buyer wallet holding the released payout VTXO(s). */
|
|
92
113
|
wallet: IWallet;
|
|
93
|
-
/** BOLT11 invoice
|
|
94
|
-
|
|
114
|
+
/** BOLT11 invoice, LNURL (`lnurl1...`), or Lightning address (`user@host`). */
|
|
115
|
+
destination: string;
|
|
116
|
+
/** Recipient amount in sats. Required for LNURL / address; ignored for BOLT11. */
|
|
117
|
+
amountSats?: number;
|
|
95
118
|
}): Promise<{
|
|
96
119
|
swapId: string;
|
|
97
120
|
fundingTxid: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"escrow-client.d.ts","sourceRoot":"","sources":["../src/escrow-client.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,OAAO,EACZ,KAAK,OAAO,EAEZ,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,KAAK,iBAAiB,EACtB,aAAa,EACb,KAAK,mBAAmB,EAEzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KA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AAwE;IACxE,OAAO,IAAI,IAAI;CAGhB"}
|
package/dist/escrow-client.js
CHANGED
|
@@ -78,18 +78,39 @@ export class EscrowClient {
|
|
|
78
78
|
awaitFunded,
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* Quote a Lightning withdrawal: given how many sats you'd spend from the
|
|
83
|
+
* payout (`sourceAmountSats`), returns what the recipient receives after the
|
|
84
|
+
* swap fee and what is actually spent.
|
|
85
|
+
*
|
|
86
|
+
* Use `recipientSats` as the `amountSats` for an LNURL / Lightning-address
|
|
87
|
+
* {@link withdrawToLightning} — e.g. pre-fill the amount from the available
|
|
88
|
+
* payout balance so the user doesn't have to compute fees by hand.
|
|
89
|
+
*/
|
|
90
|
+
async quoteLightningWithdrawal(sourceAmountSats) {
|
|
91
|
+
const quote = await this.swap.getArkadeToLightningQuote(sourceAmountSats);
|
|
92
|
+
// Amounts are serialized as strings over the wire.
|
|
93
|
+
return {
|
|
94
|
+
recipientSats: Number(quote.net_target_amount),
|
|
95
|
+
sourceSats: Number(quote.net_source_amount),
|
|
96
|
+
};
|
|
97
|
+
}
|
|
81
98
|
/**
|
|
82
99
|
* Withdraw a released payout to Lightning via an Arkade→Lightning swap.
|
|
83
100
|
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
101
|
+
* `destination` may be a BOLT11 invoice, an LNURL (`lnurl1...`), or a
|
|
102
|
+
* Lightning address (`user@host`) — the swap backend resolves LNURL /
|
|
103
|
+
* address itself, so nothing is fetched client-side. `amountSats` (what the
|
|
104
|
+
* recipient receives) is **required** for LNURL / address and **ignored**
|
|
105
|
+
* for a BOLT11 invoice (the amount is taken from the invoice).
|
|
106
|
+
*
|
|
107
|
+
* Creates the swap and funds its VHTLC from the buyer wallet's payout; the
|
|
108
|
+
* Lendaswap server then claims the VHTLC and pays the recipient. Returns the
|
|
109
|
+
* swap id, the VHTLC funding txid, and the sats sent (recipient amount plus
|
|
110
|
+
* the swap fee — must be <= the available payout).
|
|
88
111
|
*/
|
|
89
112
|
async withdrawToLightning(params) {
|
|
90
|
-
const { response } = await this.swap.createArkadeToLightningSwap(
|
|
91
|
-
lightningInvoice: params.lightningInvoice,
|
|
92
|
-
});
|
|
113
|
+
const { response } = await this.swap.createArkadeToLightningSwap(toLightningDestination(params.destination, params.amountSats));
|
|
93
114
|
// source_amount is serialized as a string over the wire.
|
|
94
115
|
const sourceAmountSats = Number(response.source_amount);
|
|
95
116
|
const fundingTxid = await params.wallet.send({
|
|
@@ -116,6 +137,31 @@ export class EscrowClient {
|
|
|
116
137
|
this.monitor.dispose();
|
|
117
138
|
}
|
|
118
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* Classify a Lightning destination string and map it to the swap SDK's
|
|
142
|
+
* mutually-exclusive `lightningInvoice` / `lightningAddress` / `lnurl` fields.
|
|
143
|
+
* Pure string inspection — no network calls; the backend resolves LNURL.
|
|
144
|
+
*/
|
|
145
|
+
function toLightningDestination(destination, amountSats) {
|
|
146
|
+
const input = destination.trim();
|
|
147
|
+
// BOLT11 on any network: bc / tb / tbs / bcrt / sb. The invoice carries its
|
|
148
|
+
// own amount, so amountSats is not needed.
|
|
149
|
+
if (/^ln(bcrt|bc|tbs|tb|sb)/i.test(input)) {
|
|
150
|
+
return { lightningInvoice: input };
|
|
151
|
+
}
|
|
152
|
+
const isAddress = /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(input);
|
|
153
|
+
const isLnurl = /^lnurl1[0-9ac-hj-np-z]+$/i.test(input);
|
|
154
|
+
if (!isAddress && !isLnurl) {
|
|
155
|
+
throw new Error("unrecognized Lightning destination: expected a BOLT11 invoice, " +
|
|
156
|
+
"LNURL (lnurl1...), or Lightning address (user@host)");
|
|
157
|
+
}
|
|
158
|
+
if (amountSats === undefined) {
|
|
159
|
+
throw new Error(`amountSats is required for a Lightning ${isAddress ? "address" : "LNURL"} destination`);
|
|
160
|
+
}
|
|
161
|
+
return isAddress
|
|
162
|
+
? { lightningAddress: input, amountSats }
|
|
163
|
+
: { lnurl: input, amountSats };
|
|
164
|
+
}
|
|
119
165
|
function withTimeout(p, ms, label) {
|
|
120
166
|
let timer;
|
|
121
167
|
const timeout = new Promise((_, reject) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"escrow-client.js","sourceRoot":"","sources":["../src/escrow-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,GAEN,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAEL,aAAa,EAEb,gBAAgB,GACjB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"escrow-client.js","sourceRoot":"","sources":["../src/escrow-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,GAEN,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAEL,aAAa,EAEb,gBAAgB,GACjB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAgElC;;;;;;;;GAQG;AACH,MAAM,OAAO,YAAY;IAEJ;IACA;IACA;IAHnB,YACmB,IAAgB,EAChB,WAAwB,EACxB,OAAsB;QAFtB,SAAI,GAAJ,IAAI,CAAY;QAChB,gBAAW,GAAX,WAAW,CAAa;QACxB,YAAO,GAAP,OAAO,CAAe;IACtC,CAAC;IAEJ,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAA0B;QAC5C,MAAM,OAAO,GAAG,MAAM,aAAa,CAAC,MAAM,CAAC;YACzC,eAAe,EAAE,MAAM,CAAC,eAAe;YACvC,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;YAC7C,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;SAC1C,CAAC,CAAC;QACH,OAAO,IAAI,YAAY,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED,+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