18 breaking releases
0.19.0 | Oct 2, 2024 |
---|---|
0.17.1 |
|
0.16.0 | Jul 22, 2024 |
0.10.0 | Mar 27, 2024 |
0.2.0 | Mar 20, 2023 |
#2 in #bdk
7,776 downloads per month
Used in 5 crates
(3 directly)
100KB
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 SyncRequest
s with sync
and
FullScanRequest
s 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
.
Dependencies
~8–24MB
~339K SLoC