Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

This PR adds support for BIP-322 Generic Signed Message Format to our UTXO
WASM library, enabling standardized message signing that works with all
address types.

Key changes:

  • Add BIP-322 mediawiki specification file for reference
  • Create core Rust implementation with tagged message hashing
  • Add WASM bindings for JavaScript/TypeScript usage
  • Support all wallet script types (p2sh, p2shP2wsh, p2wsh, p2tr)
  • Provide comprehensive verification API for both PSBTs and transactions
  • Include TypeScript API definitions and comprehensive tests

Reference: BTC-2916

OttoAllmendinger and others added 2 commits January 9, 2026 15:19
Add BIP-322 Generic Signed Message Format specification file to the
repository. This provides the standard for interoperable signed messages
based on Bitcoin Script format that works with all address types.

Issue: BTC-2916

Co-authored-by: llm-git <llm-git@ttll.de>
…allets

Add full implementation of BIP-0322 generic signed message format:
- Create core Rust implementation with tagged message hashing
- Add WASM bindings for JavaScript/TypeScript usage
- Support all wallet script types (p2sh, p2shP2wsh, p2wsh, p2tr)
- Provide comprehensive verification API for both PSBTs and transactions
- Include TypeScript API definitions and comprehensive tests

Issue: BTC-2916

Co-authored-by: llm-git <llm-git@ttll.de>
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review January 9, 2026 14:28
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner January 9, 2026 14:28
Copy link
Contributor

@davidkaplanbitgo davidkaplanbitgo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noice

@OttoAllmendinger OttoAllmendinger merged commit 8d4f41d into master Jan 9, 2026
1 check passed
@OttoAllmendinger OttoAllmendinger deleted the BTC-2916.impl-bip322 branch January 9, 2026 14:49
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.

3 participants