This example demonstrates how to use the ZKPassport SDK for verifying passports and national IDs both for off-chain and on-chain verification.
- Clone this repository
- Install dependencies:
npm install - Start the development server:
npm run dev
This application uses Next.js App Router with a proper separation of server and client components:
- Server components handle static metadata and app structure
- Client components manage state, user interactions, and network communications
This architecture ensures optimal performance and SEO while still providing a rich interactive experience.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.