Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIP0174 PSBT Support #1

Open
11 tasks
MatthewLM opened this issue Aug 21, 2023 · 0 comments
Open
11 tasks

BIP0174 PSBT Support #1

MatthewLM opened this issue Aug 21, 2023 · 0 comments

Comments

@MatthewLM
Copy link
Collaborator

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, PSBTMap as Writable classes.
  • 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 write method to PartiallySignedTransaction.
  • Create PartiallySignedTransactionV1 to represent the BIP0174 PSBT which is technically v0 but often regarded as v1. Include a create named constructor.
  • Implement update methods.
  • Implement signing.
  • Implement merging.
  • Implement finalization.
  • Implement transaction construction.
  • Add a fromReader factory constructor to PartiallySignedTransaction to check for and return the relevant sub-class: only PartiallySignedTransactionV1 to begin with.
  • Add all test vectors for BIP0174.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant