Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link User's Identity/Wallet with Embedded Wallet on MRU #23

Open
aashutoshrathi opened this issue Sep 5, 2024 · 0 comments
Open

Link User's Identity/Wallet with Embedded Wallet on MRU #23

aashutoshrathi opened this issue Sep 5, 2024 · 0 comments

Comments

@aashutoshrathi
Copy link
Member

Description

Right now we are leveraging Privy to create embedded wallets for all users who sign in using their non-custodial wallet as identity. This enables high-frequency signing-on actions, without pop-ups. But this also restricts user's actual addresses from being in the state.

There are multiple things we can do to solve this:

  • We authenticate each request by Privy using a standard JWT token, to extract their identity wallet address from the request. (this sets a off-chain dependency in Privy and Micro-rollup operator)
  • We put this mapping of identity to embedded wallet also in the state and resolve it in transitions whenever required (this requires more thought on how to do that without creating a trust assumption in sign-up request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant