pub fn iapyx_wallet(
        &self,
        mnemonics: &str,
        wallet_proxy: &WalletProxyController,
    ) -> Result<iapyx::Controller> {
        let settings = RestSettings {
            use_https_for_post: false,
            enable_debug: true,
            certificate: None,
        };

        let backend = WalletBackend::new_from_addresses(
            wallet_proxy.settings().address(),
            wallet_proxy.settings().base_address().to_string(),
            wallet_proxy.settings().base_address().to_string(),
            settings,
        );

        Ok(iapyx::Controller::recover_with_backend(backend, mnemonics, &[]).unwrap())
    }
/// iapyx wallet is a mock mobile wallet
/// it uses some production code while handling wallet operation
// therefore controller has separate method to build such wallet
iapyx wallet is a mock mobile wallet
it uses some production code while handling wallet operation
therefore controller has separate method to build such wallet
iapyx wallet is a mock mobile wallet it uses some production code while handling wallet operation therefore controller has separate method to build such wallet
pub fn iapyx_wallet(
        &self,
        mnemonics: &str,
        wallet_proxy: &WalletProxyController,
    ) -> Result<iapyx::Controller> {
        let settings = RestSettings {
            use_https_for_post: false,
            enable_debug: true,
            certificate: None,
        };
        let backend = WalletBackend::new_from_addresses(
            wallet_proxy.settings().address(),
            wallet_proxy.settings().base_address().to_string(),
            wallet_proxy.settings().base_address().to_string(),
            settings,
        );
        Ok(iapyx::Controller::recover_with_backend(backend, mnemonics, &[]).unwrap())
    }
pub fn iapyx_wallet ( & self , mnemonics : & str , wallet_proxy : & WalletProxyController , ) -> Result < iapyx :: Controller > { let settings = RestSettings { use_https_for_post : false , enable_debug : true , certificate : None , } ; let backend = WalletBackend :: new_from_addresses ( wallet_proxy . settings ( ) . address ( ) , wallet_proxy . settings ( ) . base_address ( ) . to_string ( ) , wallet_proxy . settings ( ) . base_address ( ) . to_string ( ) , settings , ) ; Ok ( iapyx :: Controller :: recover_with_backend ( backend , mnemonics , & [ ] ) . unwrap ( ) ) }
iapyx wallet is a mock mobile wallet
it uses some production code while handling wallet operation
therefore controller has separate method to build such wallet
iapyx wallet is a mock mobile wallet it uses some production code while handling wallet operation therefore controller has separate method to build such wallet
&self
mnemonics
&str
wallet_proxy
&WalletProxyController
&self
mnemonics
&str
wallet_proxy
&WalletProxyController