Creates a backup of the wallet using the specified backup method.
method
: The backup method to use. Supported methods:
.GoogleDrive
: Back up to Google Drive.iCloud
: Back up to iCloud.Password
: Back up with password protection.Passkey
: Back up with passkey authentication.local
: Back up to local storageusingProgressCallback
: Optional callback to track backup progress.
Receives an MpcStatus
object containing:
status
: Current operation being performed:
.readingShare
: Reading the stored share.generatingShare
: Generate the share.parsingShare
: Parsing the share data.encryptingShare
: Encrypt the share data.storingShare
: Saving the recovered share.done
: Process completeddone
: Boolean indicating whether the operation is completecipherText
: The encrypted backup datastorageCallback
: A callback function that must be called to complete the backup process