aries / net.globalid.aries.backup / BackupService / restoreBackup

restoreBackup

abstract fun restoreBackup(restoreInfo: RestoreInfo): Single<String>

Restores a backup from the given information. Note that the seed must be the one used to create the backup! If you want to use the new wallet, you have to create a new Agent instance with a reference to the new wallet.

Parameters

restoreInfo - is information about the backup to restore.

Return
Single of a String, the restored wallet ID.