Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Add burner Safe to email recovery demo #237

Description

@jacque006

As an email recovery demo user
I would like to be able to use an embedded wallet for the email recovery flow
So I can try the email recovery demo without the complexity & hassle of connecting an external wallet

Details

Protocol Kit from Safe is likely the fastest way to get this setup for our needs. Note that we only need a 1-of-1 Safe (only one signer) for the demo. We also do not need to deploy the Safe initially as the first transaction to enable the module will create it for us (counterfactual account, lazy deploy)

The private key for this signer can be stored in the browser's local storage. if someone wants to use a more secure signer, there is a way they can recover to another one :)

This creation process would then be built into the new wallet button/flow in the design. The final step would be providing this account to the Wagmi/Connect Kit React context so that useAccount & other hook/account related logic uses this embedded/burner account.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
📋 Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions