bip322

Crates.iobip322
lib.rsbip322
version0.0.10
created_at2024-07-22 22:18:20.991283+00
updated_at2025-09-05 13:52:18.209847+00
descriptionImplements BIP322 generic message signing and verification
homepagehttps://bip322.rs
repositoryhttps://github.com/rust-bitcoin/bip322
max_upload_size
id1312199
size76,258
Andrew Poelstra (apoelstra)

documentation

README

BIP-322

Implements BIP-322, generic message signing and verification.

Types of Signatures

At the moment this crate supports P2TR, P2WPKH and P2SH-P2WPKH single-sig addresses. Feedback through issues or PRs on the interface design and security is welcome and encouraged.

  • simple
  • full
  • full (proof-of-funds)
  • legacy (BIP-137)

The goal is to provide a full signing and verifying library similar to this Javascript library.

Test Vectors

MSRV

At the moment the Minimum Supported Rust Version (MSRV) is 1.63. You can check it by running just msrv.

Commit count: 46

cargo fmt