forked from bitcoindevkit/bdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae9b19d
commit 5dd4ce7
Showing
5 changed files
with
50 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,36 @@ | ||
# BDK Esplora | ||
|
||
BDK Esplora client library for updating the `bdk_chain` structures. | ||
BDK Esplora extends [`esplora_client`](crate::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: | ||
```toml | ||
bdk_esplora = { version = "0.1", features = ["blocking"] } | ||
``` | ||
|
||
For async-only: | ||
```toml | ||
bdk_esplora = { version = "0.1", features = ["async"] } | ||
``` | ||
|
||
For async-only (with https): | ||
```toml | ||
bdk_esplora = { version = "0.1", features = ["async-https"] } | ||
``` | ||
|
||
To use the extension trait: | ||
|
||
```rust,no_run | ||
// for blocking | ||
use bdk_esplora::EsploraExt; | ||
// for async | ||
use bdk_esplora::EsploraAsyncExt; | ||
``` | ||
|
||
<!-- BDK Esplora client library for updating the `bdk_chain` structures. --> | ||
|
||
<!-- [`esplora_client`]: https://docs.rs/esplora-client/latest --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# BDK File Store | ||
|
||
This is a simple append-only flat file implementation of | ||
[`Persist`](`bdk_chain::keychain::persist::Persist`). | ||
|
||
The main structure is [`KeychainStore`](`crate::KeychainStore`), which can be used with [`bdk`]'s | ||
`Wallet` to persist wallet data into a flat file. | ||
|
||
[`bdk`]: https://docs.rs/bdk/latest | ||
[`bdk_chain`]: https://docs.rs/bdk_chain/latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters