Some docs as to current problems with the bare bdk wallet crate.
This commit is contained in:
@@ -9,6 +9,15 @@ use bdk::wallet::AddressInfo;
|
|||||||
use bdk::{blockchain::ElectrumBlockchain, electrum_client, SyncOptions};
|
use bdk::{blockchain::ElectrumBlockchain, electrum_client, SyncOptions};
|
||||||
use bdk::{FeeRate, KeychainKind, SignOptions, TransactionDetails, Wallet};
|
use bdk::{FeeRate, KeychainKind, SignOptions, TransactionDetails, Wallet};
|
||||||
|
|
||||||
|
/// Run the Bitcoin wallet example
|
||||||
|
///
|
||||||
|
/// This is a bdk example that uses the Electrum client to interact with the Bitcoin network.
|
||||||
|
/// Electrum is a light client that connects to a server to get information about the Bitcoin network.
|
||||||
|
/// The BDK itself does not have the ability to connect to e.g. esplora servers. As the Blockstream Electrum Signet
|
||||||
|
/// server does not appear to be picking up transactions properly at the moment, I've shifted over to using
|
||||||
|
/// the (more complex) `bdk_wallet` crate and the esplora client there (see the other RPC client).
|
||||||
|
///
|
||||||
|
/// Note:the types below are all completely different than the types in `bdk_wallet`.
|
||||||
pub async fn run() -> Result<(), anyhow::Error> {
|
pub async fn run() -> Result<(), anyhow::Error> {
|
||||||
let dave = utils::home(&"dave".to_string());
|
let dave = utils::home(&"dave".to_string());
|
||||||
let sammy = utils::home(&"sammy".to_string());
|
let sammy = utils::home(&"sammy".to_string());
|
||||||
|
|||||||
Reference in New Issue
Block a user