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

Add burner Safe to email recovery demo #237

Open
jacque006 opened this issue Apr 26, 2024 · 0 comments
Open

Add burner Safe to email recovery demo #237

jacque006 opened this issue Apr 26, 2024 · 0 comments
Assignees

Comments

@jacque006
Copy link
Contributor

jacque006 commented Apr 26, 2024

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.

@jacque006 jacque006 converted this from a draft issue Apr 26, 2024
@jacque006 jacque006 added this to the Recovery Demo v1 milestone Apr 26, 2024
@jacque006 jacque006 moved this from 📤 Up Next (Current Sprint) to 🛠 In Progress in Wallet Account eXperiments (WAX) Apr 26, 2024
@jacque006 jacque006 moved this from 🛠 In Progress to 📋 Backlog in Wallet Account eXperiments (WAX) Jul 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants