Skip to main content

Crate bdk_message_signer

Crate bdk_message_signer 

Source
Expand description

A no_std Rust library implementing BIP‑322: Generic Signed Message Format.

This crate provides:

  • Construction of virtual to_spend and to_sign transactions
  • Signing and verification for Simple, Full, and Full Proof-of-Funds BIP‑322 formats
  • Optional “proof of funds” support via additional UTXO inputs

Re-exports§

pub extern crate alloc;
pub use error::*;
pub use sign::*;
pub use utils::*;
pub use verify::*;

Modules§

error
Error types for bdk_message_signer operations.
sign
The signature generation implementation for message signing according to the BIP-322 standard.
utils
The utility methods for message signing according to the BIP-322 standard.
verify
BIP-322 signature verification implementation.

Structs§

MessageVerificationResult
Result of signature verification.

Enums§

MessageProof
Result of signing operation.
SignatureFormat
Represents the different formats supported by the message signing protocol.

Traits§

MessageSigner
Main trait providing signing and verification functionality.