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

@ -8,6 +8,11 @@ pub struct BitcoinBalanceResponse {
pub balance: bitcoin::Amount,
}
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct BitcoinSeedResponse {
pub descriptor: String,
}
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct MoneroBalanceResponse {
pub balance: u64,
@ -46,6 +51,8 @@ pub trait AsbApi {
async fn check_connection(&self) -> Result<(), ErrorObjectOwned>;
#[method(name = "bitcoin_balance")]
async fn bitcoin_balance(&self) -> Result<BitcoinBalanceResponse, ErrorObjectOwned>;
#[method(name = "bitcoin_seed")]
async fn bitcoin_seed(&self) -> Result<BitcoinSeedResponse, ErrorObjectOwned>;
#[method(name = "monero_balance")]
async fn monero_balance(&self) -> Result<MoneroBalanceResponse, ErrorObjectOwned>;
#[method(name = "monero_address")]