Skip to content

Conversation

@davidkaplanbitgo
Copy link
Contributor

@davidkaplanbitgo davidkaplanbitgo commented Aug 1, 2025

Add functionality to construct the toSign PSBT for BIP322 message verification with support for redeem scripts and witness scripts. Includes tests to verify correctness against BIP322 test vectors.

Supports v0 segwit and non-segwit addresses. Taproot to be added later.

Issue: BTC-2362

@davidkaplanbitgo davidkaplanbitgo requested a review from a team as a code owner August 1, 2025 16:25
Add functionality to construct the toSign PSBT for BIP322 message verification
with support for redeem scripts and witness scripts. Includes tests to verify
correctness against BIP322 test vectors.

Supports v0 segwit and non-segwit addresses. Taproot to be added later.

Issue: BTC-2360

Co-authored-by: llm-git <llm-git@ttll.de>
Change buildToSignPsbt to directly accept a Transaction object instead of hex
string, and return a Psbt object instead of hex. Similarly update
buildToSpendTransaction to return a Transaction object.

Issue: BTC-2362

Co-authored-by: llm-git <llm-git@ttll.de>
@davidkaplanbitgo davidkaplanbitgo dismissed OttoAllmendinger’s stale review August 1, 2025 19:01

requested changes applied

@davidkaplanbitgo davidkaplanbitgo merged commit 80839d5 into master Aug 1, 2025
12 checks passed
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.

4 participants