me-foundation / msigner

msigner is an open source Bitcoin Ordinals Partially Signed Bitcoin Transactions (PSBT) signer library. It supports atomic swap of the inscription and provides a simple and secure way to structure Bitcoin transactions for marketplaces.
Apache License 2.0
229 stars 76 forks source link

When and how are buyer and seller PSBTs signed #11

Closed T1-O closed 2 months ago

T1-O commented 1 year ago

Once a Seller PSBT is created here: https://github.com/magicoss/msigner/blob/30499e1a8b352b8e4b6007450932be1a15b92955/src/signer.ts#L100 When and how is it signed?

Same question for buyer PSBT: https://github.com/magicoss/msigner/blob/30499e1a8b352b8e4b6007450932be1a15b92955/src/signer.ts#L502 How and when is it signed?