Commit b35477f
feat(wasm-utxo): add MuSig2 taproot key-path finalization support
Implements MuSig2 PSBT proprietary key-value parsing and signature
aggregation for taproot key path spending. This enables BitGo wallets
to create threshold signatures for taproot outputs using the MuSig2
protocol as specified in BIP-327, which appear as single-signature
spends on-chain.
The implementation includes:
- Parsing MuSig2 participants, nonces, and partial signatures from PSBT
- Validating and aggregating partial signatures into a final signature
- Finalizing PSBT inputs with aggregated signatures
Issue: BTC-2652
Co-authored-by: llm-git <[email protected]>1 parent 1a5d219 commit b35477f
File tree
4 files changed
+1345
-15
lines changed- packages/wasm-utxo/src
- bitgo_psbt
- fixed_script_wallet/test_utils
4 files changed
+1345
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
| |||
0 commit comments