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

Wallet authentication WIP #398

Open
baktun14 opened this issue Oct 8, 2024 · 3 comments
Open

Wallet authentication WIP #398

baktun14 opened this issue Oct 8, 2024 · 3 comments
Labels
P1 priority 1 feature/ enhancement

Comments

@baktun14
Copy link
Contributor

baktun14 commented Oct 8, 2024

Summary

Implement wallet authentication through wallet sign arbitrary message using the praetor api to generate a token

Flow

  • Get access token by signing with wallet
  • Send to topup config api endpoint
    • Praetor access token
    • User access token
    • Anonymous access token
  • Validate the token based on the scenarios below
    Scenarios:
  • Custodial wallet without user account
    • Check if praetor access token is valid
  • Custodial wallet with user account
    • Check if praetor access token is valid, if it is associate the wallet to the user account
  • Managed wallet without user account
    • Check if address of anonymous user matches
  • Managed wallet with user account
    • Check if one of the wallets assigned to user matches

Database

  • Add a table for connected wallets associated with user account
@baktun14 baktun14 added the P1 priority 1 feature/ enhancement label Oct 8, 2024
@Epic-SX
Copy link

Epic-SX commented Oct 8, 2024

Hello
I am interested in this issue.
I can handle it.

@baktun14
Copy link
Contributor Author

baktun14 commented Oct 8, 2024

Hi @JamesRyo thanks for your interest, but this will be handled by the core team.

@Epic-SX
Copy link

Epic-SX commented Oct 8, 2024

Thank you

@baktun14 baktun14 changed the title Wallet authentication Wallet authentication WIP Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 priority 1 feature/ enhancement
Projects
Status: Up Next (prioritized)
Development

No branches or pull requests

2 participants