This application directs a user to generate a zero knowledge proof (using zkPass or Reclaim protocol) of something on an external website. This proof is then sent to the user’s Verida Wallet using the Verida inbox messaging system.
- Verify if you exceed trading volume on Binance
- Verify if you are discord owner
- Verify if you have Uber account
- Verify credentials from zkPass and Reclaim protocol
- Follow this instructions
- Create new application and register necessary schemas .
- Get
APP_ID
- In
src/config/providers.ts
update schemas with your own schemas. - Update
NEXT_PUBLIC_ZKPASS_APP_ID
in .env file.
- Go to https://dev.reclaimprotocol.org/dashboard
- Create new app and register necessary providers
- In
src/config/providers.ts
update provider data with your own providers. - Update
NEXT_PUBLIC_RECLAIM_APP_ID
in .env file - Update
RECLAIM_SECRET_KEY
in .env file
- Update
PRIVATE_KEY
in .env file.
- Update
VERIDA_SEED
in .env file
yarn install
yarn build
yarn start
## Verify credentials from zkPass and reclaim protocol.
- Open `http://localhost:3000/verify
- Connect to your verida wallet
- Click `Request credential`
### How it works?
The system initiates a data request to the connected wallet's inbox. Upon the user providing their credentials, the backend system proceeds to authenticate the validity of the credentials, based on the credential types such as zkPass or reclaim.
## Deployment
We deploy using AWS Amplify. Make sure all env variables are set in the Amplify console and added into amplify.yml for serverside rendering.
Eg:
commands:
- env | grep -e NEXT_PUBLIC_ZKPASS_APP_ID -e PRIVATE_KEY -e NEXT_PUBLIC_RECLAIM_APP_ID -e RECLAIM_SECRET_KEY -e VERIDA_SEED >> .env
See https://docs.aws.amazon.com/amplify/latest/userguide/ssr-environment-variables.html