-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Create a new PartiallySignedTransaction class that allows creation, updating and signing of transactions in the PSBT BIP0174 format.
- Create classes for the underlying PSBT data structure:
PSBTKeyValue,PSBTMapasWritableclasses. - Create abstract PSBT class for overall data structure:
PartiallySignedTransaction. Include interface for updating input/output data, signing, merging, finalizing and obtaining the complete transaction. - Add
writemethod toPartiallySignedTransaction. - Create
PartiallySignedTransactionV1to represent the BIP0174 PSBT which is technically v0 but often regarded as v1. Include acreatenamed constructor. - Implement update methods.
- Implement signing.
- Implement merging.
- Implement finalization.
- Implement transaction construction.
- Add a
fromReaderfactory constructor toPartiallySignedTransactionto check for and return the relevant sub-class: onlyPartiallySignedTransactionV1to begin with. - Add all test vectors for BIP0174.
Metadata
Metadata
Assignees
Labels
No labels