diff --git a/side-node/src/clients/btc_esplora_client.rs b/side-node/src/clients/btc_esplora_client.rs index b14aa12..7d53e66 100644 --- a/side-node/src/clients/btc_esplora_client.rs +++ b/side-node/src/clients/btc_esplora_client.rs @@ -22,6 +22,7 @@ pub async fn run() -> Result<(), anyhow::Error> { let mnemonic_path = crate::utils::side_paths(dave_dir).1; // TODO: this tuple stinks let mnemonic_words = fs::read_to_string(mnemonic_path).expect("couldn't read bitcoin key file"); + println!("Creating wallet from mnemonic: {mnemonic_words}"); let mnemonic = Mnemonic::parse(mnemonic_words).unwrap(); @@ -62,7 +63,9 @@ pub async fn run() -> Result<(), anyhow::Error> { println!("Wallet balance before syncing: {} sats", balance.total()); print!("Syncing..."); - let client = esplora_client::Builder::new("http://signet.bitcoindevkit.net").build_async()?; + let client = esplora_client::Builder::new("https://mutinynet.com/api") + .build_async() + .expect("couldn't build esplora client"); fn generate_inspect(kind: KeychainKind) -> impl FnMut(u32, &Script) + Send + Sync + 'static { let mut once = Some(());