Skip to main content

Module stealth_address

Module stealth_address 

Source
Expand description

Stealth address derivation.

Structs§

ScanPubkey
A scanning key (public) used by the scanner to detect stealth addresses.
SpendKeypair
The spending key (secret) used to spend from stealth addresses.
StealthAddress
A stealth address output.

Functions§

create_stealth_address
Sender creates a stealth address for the recipient. Uses the recipient’s scan pubkey and spend pubkey.
generate_scan_keypair
Generate a scanning keypair.
generate_spend_keypair
Generate a spending keypair.
scan_stealth_address
Recipient scans for stealth addresses using their scan secret. Returns the one-time secret key if this address belongs to them.