Docs on the bdk_wallet esplora client.

This commit is contained in:
Dave Hrycyszyn
2024-06-25 13:08:37 +01:00
parent bedbd54fae
commit d4809a48e6

View File

@@ -17,6 +17,11 @@ const STOP_GAP: usize = 50;
const PARALLEL_REQUESTS: usize = 5; const PARALLEL_REQUESTS: usize = 5;
/// Demonstrates the use of bdk with the Esplora client. /// Demonstrates the use of bdk with the Esplora client.
///
/// This is more complex than the bare `bdk` crate, but the esplora client works.
///
/// Also, it very nadily works with the mutinynet.com esplora server, which is configured
/// with 30 second block times.
pub async fn run() -> Result<(), anyhow::Error> { pub async fn run() -> Result<(), anyhow::Error> {
let dave_dir = utils::home(&"dave".to_string()); let dave_dir = utils::home(&"dave".to_string());