Links
👥

Authenticating Users

For users to interact with their NFTs, you need to obtain their public wallet address or generate a wallet address for them.
On the web, developers can use our JavaScript SDK's connector API to connect to web3 wallets such as MetaMask. This allows users to easily connect their existing wallets and interact with NFTs within the game.
We offer Altura Guard to authenticate users on mobile, desktop, or other platforms. Altura Guard is a simple and easy-to-use method that can be used on any platform and allows developers to generate a wallet for the user within the game.
Another popular option for web3 games is to allow users to play the game without web3 and then give them the option to connect their wallets later on to access the web3 functionality. This allows users to try the game before committing to using web3.
Overall, there are various ways to authenticate users and no one-size-fits-all solution. It's important to consider the specific needs of your game and user base when deciding on the best authentication method. We recommend using Altura Guard as a simple and easy-to-use method that can be used on any platform.

Using Altura Guard

To use Altura Guard, a user inputs their wallet address in your application. Your application then prompts the user for their Altura Guard code from the Altura marketplace. The user visits the Altura marketplace, connects their wallet, and obtains their Altura Guard code from their profile page. The user then inputs their Altura Guard code into your application. Your application sends a request to our system, passing in the user's address and Altura Guard code. Our system then checks if the code is valid for the user's address and returns a response to your application.
Altura Guard can be used via the REST API, JavaScript SDK, and Unity SDK and does not require an API key.