feat(controller, orchestratror): Add bitcoin-seed command

This commit is contained in:
Binarybaron 2025-08-15 20:15:45 +02:00
parent 0df8ea00d2
commit ee71024466
7 changed files with 37 additions and 5 deletions

View file

@ -80,6 +80,10 @@ async fn dispatch(cmd: Cmd, client: impl AsbApiClient) -> anyhow::Result<()> {
}
}
}
Cmd::BitcoinSeed => {
let response = client.bitcoin_seed().await?;
println!("Descriptor (BIP-0382) containing the private keys of the internal Bitcoin wallet: \n{}", response.descriptor);
}
}
Ok(())
}