"WIP: Initial PSBT (BIP-174) data structures" #132
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WIP: Initial PSBT (BIP-174) data structures
This PR adds the initial data structures for BIP-174 PSBT implementation. I've focused on creating a minimal yet complete foundation that follows the specification while maintaining clean code practices.
What's included:
Design decisions:
Current limitations:
__init__.py
to avoid breaking changesRunning tests and examples:
The test can be run with:
cd tests && python test_psbt.py
The example can be run with:
cd examples && python psbt_create_basic.py
This is the first step toward full PSBT implementation. Next PRs will build on this foundation with serialization and role-specific functionality.