Social Recovery
Recover an account using guardians
Overview
Social Recovery allows users to set one or multiple accounts as guardians. Guardians can recover access to the account by approving a change to the validator configuration.
For example, if a user loses access to their key, guardians are able to rotate the signer to a new ECDSA key. Or if a smart account has a multisig configuration, guardians can be used to recover a signer of the multisig or change the threshold.
Guardians can only update the validator configuration, they are not permitted to make any other transactions.
How it works
Once installed, the Social Recovery module gives the selected guardians access to change the configuration of the validator modules.
In other words, the guardian (or guardians) is allowed to make any transaction to any installed validator module, usually to add an owner, remove an owner, or update the signature threshold.
Installation
To install a social recovery module during account deployment:
To install the module separately (i.e., when the account is already deployed):
Multiple Guardians
You can also set multiple guardians for a single account, and use a custom signature threshold:
Usage
ECDSA Account
To recover access to the account:
This will prompt a signature from the guardian account, and submit a transaction on its behalf to update the ownership.
Passkey Account
We’re working on recovery support for passkey-owned accounts. Let us know if you would benefit from that.