PrivyDID
column.onComplete
callback from Privy’s useLogin
hook, if the isNewUser
flag is true
, make a request to your backend with the user’s Privy DID (user.id
) and any account data you need to identify that user from your existing DB.PrivyDID
, add the Privy DID from your request to the PrivyDID
column in your database.PrivyDID
.Migrating from a custodial system
Migrating from a non-custodial system
Migrating from a custodial system (where you have access to user keys)
Migrating from a non-custodial system