feat(wasm-utxo): implement MuSig2 for p2tr-keypath#37
Merged
OttoAllmendinger merged 3 commits intomasterfrom Nov 6, 2025
Merged
feat(wasm-utxo): implement MuSig2 for p2tr-keypath#37OttoAllmendinger merged 3 commits intomasterfrom
OttoAllmendinger merged 3 commits intomasterfrom
Conversation
Add the BIP-327 specification document which describes the MuSig2 multi-signature scheme. This is a necessary reference for our MuSig2 implementation. Issue: BTC-2652 Co-authored-by: llm-git <llm-git@ttll.de>
Adds a safer State-Machine API for MuSig2 operations that properly encapsulates secret nonces, preventing accidental reuse. This includes methods for nonce generation, counterparty nonce setting, and signature creation. The implementation adds BitGoPsbt helper methods that expose this functionality with proper validation. The original Functional API is kept in a separate test- only module for compatibility with existing test fixtures. Issue: BTC-2652 Co-authored-by: llm-git <llm-git@ttll.de>
b5815b9 to
8939575
Compare
…ization Enhances CI workflow by adding native cargo tests and reorganizing test steps with clearer labels to better distinguish between test types. Also adds npx version output to build info section. Issue: BTC-2652 Co-authored-by: llm-git <llm-git@ttll.de>
8939575 to
d08c5b8
Compare
davidkaplanbitgo
approved these changes
Nov 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add MuSig2 multi-signature scheme implementation for p2tr-keypath based on
the BIP-327 specification. This implementation includes:
accidental reuse
creation
The original Functional API is preserved in a test-only module for
compatibility with existing test fixtures.
Issue: BTC-2652