Connect to a user's wallet
Last updated
Use this method to authenticate users with Altura Guard II.
const AlturaGuard = await altura.alturaGuard(GUARD_CODE);const AlturaGuard: AlturaGuard = await altura.alturaGuard(GUARD_CODE);GUARD_CODE
String
Yes
User entered Altura Guard code
You should store both the address and token in a database. The user can revoke this token at any point and so can the game. If you lose this token, you will not be able to create a new connection with the user unless they revoke the existing one.
Last updated
