This repository was archived by the owner on Nov 5, 2023. It is now read-only.
This repository was archived by the owner on Nov 5, 2023. It is now read-only.
Closed
Description
We should add client functionality to bls-wallet-clients
to allow consumers to call wallet recovery & upgrade functionality for their wallet such that they can:
- Set a new BLS public key
- Set a new Verification Gateway (Trusted gateway)
- Set a new wallet implementation (Proxy Admin Function Hash)
- Set a recovery hash
- Commit any pending updates
- Execute a wallet recovery in case of attack
We may also want to add helpful functions to track the above, such as:
- Query if there are any pending updates to the BLS PubKey, Trusted Gateway, PA Func hash, or recovery hash
- Query how long if will be until those pending updates can be committed
So that wallets/services can clearly alert/communicate with users when updates are pending.
See https://github.com/web3well/bls-wallet/blob/main/contracts/test/recovery-test.ts for some examples of this can be done.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🤝 Done