20 breaking releases

new 0.21.0 May 1, 2025
0.20.1 Dec 19, 2024
0.19.0 Oct 2, 2024
0.16.0 Jul 22, 2024
0.2.0 Mar 20, 2023

#3 in #bdk

Download history 2060/week @ 2025-01-09 2583/week @ 2025-01-16 2379/week @ 2025-01-23 2619/week @ 2025-01-30 2232/week @ 2025-02-06 1919/week @ 2025-02-13 2443/week @ 2025-02-20 1929/week @ 2025-02-27 2505/week @ 2025-03-06 2674/week @ 2025-03-13 3854/week @ 2025-03-20 3230/week @ 2025-03-27 2130/week @ 2025-04-03 1921/week @ 2025-04-10 2751/week @ 2025-04-17 3448/week @ 2025-04-24

10,591 downloads per month
Used in 14 crates (4 directly)

MIT/Apache

105KB
2K SLoC

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.19", features = ["blocking"] }

For async-only:

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

For async-only (with https):

You can additionally specify to use either rustls or native-tls, e.g. async-https-native, and this applies to both async and blocking features.

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

For async-only (with tokio):

bdk_esplora = { version = "0.19", features = ["async", "tokio"] }

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_wallet_esplora_blocking and example_wallet_esplora_async.

Dependencies

~6–21MB
~308K SLoC