8000 Add recovery & upgrade wallet functions to clients · Issue #220 · getwax/bls-wallet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
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.
Add recovery & upgrade wallet functions to clients #220
Closed
@jacque006

Description

@jacque006

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

Type

No type

Projects

Status

🤝 Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0