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

Add PSBT v2 #8

Merged
merged 4 commits into from
Dec 14, 2023
Merged

Add PSBT v2 #8

merged 4 commits into from
Dec 14, 2023

Conversation

tcharding
Copy link
Owner

@tcharding tcharding commented Nov 23, 2023

Add an implementation of PSBT version 2 - BOOM!

@tcharding tcharding changed the title WIP: Add PSBT v2 Add PSBT v2 Nov 30, 2023
@tcharding tcharding marked this pull request as ready for review November 30, 2023 04:30
@tcharding tcharding force-pushed the psbt-v2 branch 2 times, most recently from 156c438 to 5e11818 Compare November 30, 2023 05:03
@tcharding tcharding marked this pull request as draft November 30, 2023 05:05
@tcharding tcharding force-pushed the psbt-v2 branch 3 times, most recently from 0d5b414 to ff7dcc6 Compare December 13, 2023 01:14
@tcharding tcharding mentioned this pull request Dec 13, 2023
@tcharding tcharding force-pushed the psbt-v2 branch 3 times, most recently from db3f8b7 to 74e5a0e Compare December 13, 2023 01:51
@tcharding tcharding marked this pull request as ready for review December 13, 2023 01:51
In preparation for adding the PSBT v2 implementation, move the keytype
consts to a newly created `consts` module.
Add all the consts defined in bip-174, this includes the new ones for
psbt v2 as well as one unused one from v0. Include a commented attribute
on each to keep clippy quiet.
Add an implementation of PSBT version 2 - BOOM!

Includes all test vectors from BIP-370. Also includes changes to `v0` to
explicitly exclude keys as required by PSBT v2 upgrade.
@tcharding
Copy link
Owner Author

There is still work to do but I'm merging this now. Example code does a PSBT v2 workflow upto and including siging (using BIP-32 / ECDSA).

@tcharding tcharding merged commit 0d268e1 into master Dec 14, 2023
@tcharding tcharding deleted the psbt-v2 branch December 14, 2023 04:44
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

Successfully merging this pull request may close these issues.

1 participant