This repository demonstrates the integration of Genezio, a framework for building serverless applications, with Web3 wallet authentication to secure access to your application's functionalities.
- Install genezio.
npm install genezio -g
- Deploy the project. If you are not logged in, you will be redirected to login or register with a genezio account.
genezio deploy
- Go to your project on the genezio dashboard and active the Authentication for your project from the "Authentication" section.
- Activate the Web 3 Auth provider and after that copy the
Token
andRegion
values. Paste them inclient/src/App.tsx
:
// Add your own values here
AuthService.getInstance().setTokenAndRegion("<token>", "<region>");
- Deploy again the client
genezio deploy --frontend