feat: inter-mint transfer op with fee quote and ambiguity-safe outcomes

This commit is contained in:
2026-08-19 22:27:14 +02:00
parent 7e091cd6ed
commit 142734b903
4 changed files with 499 additions and 4 deletions
+10
View File
@@ -22,6 +22,8 @@
// ops/mint.ts - prepareMint / claimMintedNote (receive over Lightning)
// ops/receiveBearer.ts - receiveBearer (receive a note, rotate on receive)
// ops/pay.ts - payWithBearers (melt to bolt11 / Lightning Address)
// ops/transfer.ts - transferBetweenMints (inter-mint move: melt at
// source, mint + claim + rotate at target)
// ops/shared.ts - bounded verify polling, UncertainOutcomeError
export {UncertainOutcomeError} from './ops/shared'
@@ -33,3 +35,11 @@ export type {PreparedMint, ClaimedNote} from './ops/mint'
export {receiveBearer} from './ops/receiveBearer'
export {payWithBearers} from './ops/pay'
export type {PayOutcome, PayResult, PayOptions} from './ops/pay'
export {transferBetweenMints} from './ops/transfer'
export type {
TransferClaimMaterial,
TransferOptions,
TransferOutcome,
TransferQuote,
TransferResult
} from './ops/transfer'