Added some docs regaring the Bitcoin clients

This commit is contained in:
Dave Hrycyszyn
2024-06-26 18:11:42 +01:00
parent 446efc2fbf
commit 213b8f22fe
2 changed files with 19 additions and 1 deletions

View File

@@ -10,7 +10,9 @@ use crate::bitcoin::clients;
///
/// Also, it very handily works with the mutinynet.com esplora server, which is configured
/// with 30 second block times.
pub(crate) async fn run() -> Result<(), anyhow::Error> {}
pub(crate) async fn run() -> Result<(), anyhow::Error> {
simple_transfer().await
}
async fn simple_transfer() -> Result<(), anyhow::Error> {
let mut dave = clients::esplora::create_wallet("dave", Network::Signet)?;