mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-21 03:15:28 -05:00
feat(controller, orchestratror): Add bitcoin-seed command
This commit is contained in:
parent
0df8ea00d2
commit
ee71024466
7 changed files with 37 additions and 5 deletions
|
|
@ -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(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue