backupWallet
Creates a backup of the wallet using the specified backup method.
Function Signature
Parameters
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 storage
usingProgressCallback
: Optional callback to track backup progress
Returns
A tuple containing:
cipherText
: The encrypted backup datastorageCallback
: A callback function that must be called to complete the backup process
Throws
Various backup method-specific errors if the backup process fails
Example Usage
Last updated
Was this helpful?