cashscript icon indicating copy to clipboard operation
cashscript copied to clipboard

Collaborative transaction building

Open rkalis opened this issue 3 years ago • 1 comments

Sometimes transactions need to be signed by multiple people (e.g. multisig). In these cases it should be possible for people to sign their part of the transaction and leave the rest to others. See #32 for context. Libauth has a whole system already built for this with their authentication templates, so that is definitely what should be used for this functionality. See #76.

rkalis avatar Jun 13 '22 10:06 rkalis

I think if we enable exporting the libauth template (#76) then we are already most of the way there.

However these templates would be created from a (partially) created transaction, so this transaction building might have to use placeholder dummy signatures or so.

One thing the SDK could support is with this libauth template, it should be possible to use a SignatureTemplate to create a signature for a contract unlocking argument or to sign a transaction input

mr-zwets avatar Feb 11 '25 06:02 mr-zwets