A template to create onchain accounts and authorize users with email.
This is created with GroupOS Cloud Account and Stytch Consumer Authentication.
First, set up environment variables at .env
Stytch
-
Go to Stytch and create a new project. Choose Consumer Authentication.
-
Go to the API keys tab to get
Project ID,Secret key, andPublic token
GroupOS
- Go to GroupOS and get your
API key. GroupOS is currently in beta, fill in this form and we'll get back and onboard you in 24 hours.
Second, enable Stytch SDK on test environment.
Note: When you go live, do so on the live environment.
Lastly, run the development server:
npm install
npm run devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.