Module bdk::wallet

source ·
Expand description

Wallet

This module defines the Wallet structure.

Modules

Coin selection
Wallet export
Generalized signers
Transaction builder

Structs

A derived address and the index it was found at. For convenience this automatically derefs to Address
Balance, differentiated into various categories.
A Bitcoin wallet

Enums

The address index selection strategy to use to derived an address from the wallet’s external descriptor. See Wallet::get_address. If you’re unsure which one to use use WalletIndex::New.
Error returned from Wallet::new

Traits

Trait to check if a value is below the dust limit. We are performing dust value calculation for a given script public key using rust-bitcoin to keep it compatible with network dust rate

Functions

Deterministically generate a unique name given the descriptors defining the wallet

Type Definitions

The update to a Wallet used in Wallet::apply_update. This is usually returned from blockchain data sources. The type parameter T indicates the kind of transaction contained in the update. It’s usually a [bitcoin::Transaction].
Error indicating that something was wrong with an Update<T>.