use std::sync::Arc;
use cw_orch_core::environment::ChainInfoOwned;
use crate::DaemonError;
pub trait SenderBuilder {
type Error: Into<DaemonError> + std::error::Error + std::fmt::Debug + Send + Sync + 'static;
type Sender;
fn build(
&self,
chain_info: &Arc<ChainInfoOwned>,
) -> impl std::future::Future<Output = Result<Self::Sender, Self::Error>> + Send;
}