meow-cto.xyz

How social recovery works with guardian threshold voting in smart wallets

Social recovery is a multi-signature scheme repurposed for wallet recovery instead of daily transactions. The core idea is straightforward: you lose your key, you ask your guardians to sign off on replacing it. But the mechanics - guardian selection, threshold voting, timelocks, and the gaps that can break the whole thing - are worth unpacking.

Guardians: who they are and how they get chosen

A guardian is any address you nominate. In practice, most people pick friends, family, or a second device they control. Some wallets, like Safe (formerly Gnosis Safe), let you assign guardians directly through an on-chain proposal. Argent, which popularized social recovery on Ethereum, allows guardians to be added or removed without moving funds. The guardian has no custody over your assets. They can only vote on one thing: whether to replace the signing key for your wallet.

The key design choice is that guardians are pre-selected. You choose them when you create the wallet or update them later. The wallet contract stores a list of guardian addresses and a threshold number. That threshold is the minimum number of guardian signatures required to approve a recovery.

Setting the threshold

The threshold is a number between one and the total number of guardians. A common setup is three out of five. Lower thresholds recover faster but are less secure. A threshold of one means any single guardian can trigger recovery - useful if you trust your other device implicitly, dangerous if that device is compromised. Higher thresholds, like four out of five, resist compromise well but risk deadlock if guardians vanish.

Some wallets allow the user to adjust the threshold at any time through the normal signing key. That means if you lose your key, the threshold is whatever you last set. You cannot change it after loss. The guardians vote on the key replacement using the existing threshold.

The recovery flow in practice

You lose access and notify your guardians - usually off-chain, via email, phone, or a dedicated recovery app. Each guardian signs a message that says, in effect, "I confirm this new public key should replace the old one for wallet X." These signatures are bundled into a transaction and submitted to the wallet contract.

The contract checks each signature against its stored guardian list. If the number of valid signatures meets the threshold, the contract schedules a key replacement. It does not happen instantly.

The timelock and the cancellation window

A timelock is a delay between the recovery request being accepted and the key actually changing. Argent uses a 48-hour timelock by default. Safe does not enforce a timelock in its core contract, but users can add one through modules. The purpose is simple: the true owner, if they still have access, can see the pending recovery and cancel it.

Cancellation requires a single signature from the current owner key. That means even if a majority of guardians collude to steal the wallet, the original owner can abort the process during the window. The window closes only when the timelock expires and the new key takes effect.

The dual risks

Social recovery introduces two distinct failure modes.

First, you can lose too many guardians. If you set five guardians and three are unreachable or dead, you cannot meet the threshold. The wallet becomes effectively locked. The solution is to over-provision - choose more guardians than you think you need - and to update the list regularly. Some wallets let you nominate a "fallback guardian" that can lower the threshold after a long timeout.

Second, guardians can collude. A majority of guardians with the same incentive - say, a large balance - could sign a recovery to an address they control. The timelock limits this risk but does not eliminate it. If the true owner is dead or completely offline, the guardians can wait out the window. Some implementations mitigate this by allowing the owner to change guardians at any time, but that requires the key they already lost.

Real implementations

Safe (Gnosis Safe) does not have native social recovery. It supports modules, and developers have built recovery modules that implement guardian voting. These modules are not part of the core Safe deployment, which means users must add them deliberately.

Argent has social recovery built into its smart wallet. The recovery flow is part of the account contract. Argent also uses a "guardian" system where the wallet itself can propose and confirm recovery through a dedicated app.

Neither implementation is perfect. Both rely on the user understanding the threshold and keeping guardian lists current. Both assume the timelock is long enough for the true owner to react. Both leave the user exposed if they set a low threshold and lose control of a guardian address.

Social recovery is not a silver bullet. It is a trade-off: you trade the single point of failure of a private key for a distributed set of human or device relationships. If you manage those relationships well, it works. If you do not, it fails in new and interesting ways.

Not financial advice. meow-cto.xyz publishes market data and general information about Meow. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.

Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.

Back to smart wallets