Skip to main content

Crate bdk_bip322

Crate bdk_bip322 

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 BIP‑322 operations.
sign
The signature generation implementation for BIP-322 for message signing according to the BIP-322 standard.
utils
The utility methods for BIP-322 for message signing according to the BIP-322 standard.
verify
BIP-322 signature verification implementation.

Structs§

MessageVerificationResult
Result of a BIP322 signature verification.

Enums§

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

Traits§

BIP322
Main trait providing BIP322 signing and verification functionality.