Skip to main content

Crate silent_payments_receive

Crate silent_payments_receive 

Source
Expand description

§silent-payments-receive

BIP 352 Silent Payments receiving: full-block scanning with label support and spend key derivation for detected SP payments.

This crate wraps bdk-sp’s receive primitives with type-safe silent-payments-core newtypes, explicit error handling, and SEC-01/03/04 compliance.

§Main types

  • BlockScanner – scans transactions for SP outputs addressed to the receiver
  • DetectedOutput – a matched output with spend key derivation
  • LabelManager – O(1) per-output label matching for labeled addresses
  • ReceiveError – comprehensive error enum for all receive failure modes

Re-exports§

pub use detected::DetectedOutput;
pub use error::ReceiveError;
pub use label::LabelManager;
pub use scanner::BlockScanner;

Modules§

detected
Detected Silent Payment output with spend key derivation.
error
Error types for the Silent Payments receive crate.
label
Label management for Silent Payments receiving with O(1) lookup.
scanner
Block-level transaction scanner for Silent Payments.