19 breaking releases

0.20.1 Dec 19, 2024
0.19.0 Oct 2, 2024
0.16.0 Jul 22, 2024
0.10.0 Mar 27, 2024
0.2.0 Mar 20, 2023

#3 in #bdk

Download history 1545/week @ 2024-10-08 2794/week @ 2024-10-15 1466/week @ 2024-10-22 1451/week @ 2024-10-29 1890/week @ 2024-11-05 2452/week @ 2024-11-12 1622/week @ 2024-11-19 1820/week @ 2024-11-26 1829/week @ 2024-12-03 3219/week @ 2024-12-10 2267/week @ 2024-12-17 544/week @ 2024-12-24 1730/week @ 2024-12-31 1852/week @ 2025-01-07 2431/week @ 2025-01-14 2248/week @ 2025-01-21

8,397 downloads per month
Used in 10 crates (3 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

~8–24MB
~345K SLoC