dx-ether-rs 0.1.1

Connect ether browser extension provider
Documentation
1
2
3
4
5
6
pub trait EtherChainIdPort: Send + Sync {
    type Output;
    type Error;

    fn eth_chain_id(&self) -> impl Future<Output = Result<Self::Output, Self::Error>>;
}