bdk_esplora

Crates.iobdk_esplora
lib.rsbdk_esplora
version0.19.0
sourcesrc
created_at2023-02-28 00:29:14.546704
updated_at2024-10-02 16:52:54.363417
descriptionFetch data from esplora in the form that accepts
homepagehttps://bitcoindevkit.org
repositoryhttps://github.com/bitcoindevkit/bdk
max_upload_size
id796459
size80,101
(ValuedMammal)

documentation

https://docs.rs/bdk_esplora

README

BDK Esplora

BDK Esplora extends esplora-client (with extension traits: EsploraExt and EsploraAsyncExt) to update bdk_chain structures from an Esplora server.

The extension traits are primarily intended to satisfy SyncRequests with sync and FullScanRequests with full_scan.

Usage

For blocking-only:

bdk_esplora = { version = "0.3", features = ["blocking"] }

For async-only:

bdk_esplora = { version = "0.3", features = ["async"] }

For async-only (with https):

bdk_esplora = { version = "0.3", features = ["async-https"] }

To use the extension traits:

// for blocking
#[cfg(feature = "blocking")]
use bdk_esplora::EsploraExt;

// for async
#[cfg(feature = "async")]
use bdk_esplora::EsploraAsyncExt;

For full examples, refer to example-crates/wallet_esplora_blocking and example-crates/wallet_esplora_async.

Commit count: 2137

cargo fmt