I was wondering what is the best method to login into a game given the following scenario:
- The platform is built using react.js and it is hosting a game application that interacts via API with a database
- The game player will need a NFT to play on it. The metadata associated with it will be stored on the database and will be query via one game API
- The players will be able to sell/buy game NFTs
There are a couple of login options I were thinking about login access:
A). Create a user account in the game server (user/pass) and link it t with the user metamask wallet.
B). Avoid the need to create users. The web3.js will recognize the wallet address and query the NFTs in his account.