[][src]Function indyrs::wallet::open_wallet

pub fn open_wallet(
    config: &str,
    credentials: &str
) -> Box<dyn Future<Item = IndyHandle, Error = IndyError>>

Opens the wallet with specific name.

Wallet with corresponded name must be previously created with indy_create_wallet method. It is impossible to open wallet with the same name more than once.

Arguments

  • runtime_config (optional)- Runtime wallet configuration json. if NULL, then default runtime_config will be used. Example: { "freshness_time": string (optional), Amount of minutes to consider wallet value as fresh. Defaults to 24*60. ... List of additional supported keys are defined by wallet type. }
  • credentials (optional) - Wallet credentials json. List of supported keys are defined by wallet type. if NULL, then default credentials will be used.

Returns

Handle to opened wallet to use in methods that require wallet access.