Before starting development, please ensure that you've read initial setup
guide.
To get started on setting up your ethereum wallet, please read the ethereum guide.
Custom components are written in TypeScript XML and are found under ./components
. Components are styled with styled-components
.
More on server-side rendering and dynamic components for Nextjs.
Migration guide to Nextjs from React.
Server-side API endpoints are found under ./pages/api
.
Endpoint | Description |
---|---|
GET /api/codeChallenge |
Generates session code challenge |
POST /api/token |
Generates access token |
POST /api/vc/codeChallenge |
Calls Corporate VC Code Challenge API |
POST /api/vc/credentials |
Calls Credentials API to get VC using Signed Code Challenge |
POST /api/vc/codeChallenge/sign |
Generates Sign Code Challenge with VC_ETHEREUM_PRIVATE_KEY |
POST /api/vc/generate |
Performs composite API calls to request for the generation of a VC |
POST /api/vc/verify |
Performs composite API calls to verify a VC |
POST /api/vc/revocationStatus |
Performs composite API calls to check revocation status of a VC |