Skip to content

user index by address/mobile/email should be done on user profiles database #333

Description

@sirpy
  • depracate server gundb user indexes related code
  • when user signs up/edit his email/mobile backend sends a signed message with user wallet address + mobile/email hash
  • on client user updates his profile record with
  • on client user signs walletAddress proof
  • on client other users verify walletAddress proof
{
 indexes: {
 email: {
  value: string//hash of email
  proof: string //signed message from backend
}
}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions