Function Signature
Description
Stores encrypted backup for a wallet using external server key shares with automatic retry logic. This function will attempt to store the backup multiple times if the initial attempt fails.Parameters
Required Parameters
accountAddress
(string
) - The wallet address to store backup for (must include0x
prefix)externalServerKeyShares
(any[]
) - Array of external server key sharespassword
(string
) - Password for encrypting the backup
Returns
Promise<void>
- Resolves when backup is successfully stored
Example
Key Share Format
Error Handling
Related Functions
storeEncryptedBackupByWallet()
- Store encrypted backup without retryrecoverEncryptedBackupByWallet()
- Recover encrypted backup