BIP0174 PSBT Support
Open
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 7
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the BIP0174 specification and the repository's existing transaction and Writable abstractions. Map the requested PSBTKeyValue, PSBTMap, PartiallySignedTransaction, and PartiallySignedTransactionV1 classes before implementing their update, signing, merging, finalization, and construction interfaces. Use the BIP0174 test vectors to define completion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100