dx-ether-rs 0.1.1

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

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