志宇 1c3cbefa4d
[chain_redesign] Remove old structures
Other changes:

* The `async-https` feature of `bdk_esplora` is no longer default.
* Rename `ObservedAs` to `ChainPosition`.
* Set temporary MSRV to 1.60.0 to compile all workspace members will all
  features.
2023-06-04 03:32:18 +08:00
..

BDK Esplora

BDK Esplora extends esplora_client to update [bdk_chain] structures from an Esplora server.

Usage

There are two versions of the extension trait (blocking and async).

For blocking-only:

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

For async-only:

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

For async-only (with https):

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

To use the extension traits:

// for blocking
use bdk_esplora::EsploraExt;
// for async
// use bdk_esplora::EsploraAsyncExt;

For full examples, refer to example-crates/wallet_esplora (blocking) and example-crates/wallet_esplora_async.