Module bdk::wallet

source ·
Expand description

Wallet

This module defines the Wallet structure.

Modules

Coin selection
Errors that can be thrown by the Wallet
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.
The changes made to a wallet by applying an Update.
An update to Wallet.
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.
An error that may occur when inserting a transaction into Wallet.
The error type when loading a Wallet from persistence.
The error type when constructing a fresh Wallet.
Error type for when we try load a Wallet from persistence and creating it if non-existant.

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