Skip to main content

insert_new_wallet

Function insert_new_wallet 

Source
pub async fn insert_new_wallet(
    client: &mut TestClient,
    storage_mode: AccountStorageMode,
    keystore: &FilesystemKeyStore,
    auth_scheme: AuthSchemeId,
) -> Result<(Account, AuthSecretKey), ClientError>
Available on crate features testing and std only.
Expand description

Inserts a new wallet account into the client and into the keystore.