Welcome to Driving License Use Case - Verifier application. In this application, you will be able to see how does a car rental shop request driving license credentials from an applicant who would like to rent a car and thereafter the car rental shop would be able to view the incoming credentials and checks whether is the credentials verified before proceeding with the transaction.
You can either run this program in your local machine or try it out here: https://usecases.drivinglicense-verifier.vc-generator.com/
Before you could use our API and SDK services, you would have to register to get the API keys.
- Go to apikey.affinidi.com
- Register for an account
- Store the
API Key
andAPI Key Hash
safely
- Open terminal and navigate to the project folder
- Run
cp .env.example .env
- Fill in the .env file with the details that you have gathered in the previous steps
REACT_APP_API_KEY=<<Afffinidi's API Key>>
REACT_APP_API_KEY_HASH=<<Affinidi's API Key Hash>>
REACT_APP_ENVIRONMENT=prod
REACT_APP_WALLET_URL=http://localhost:3001
- Open terminal and navigate to the project folder
- Run
npm install
- Run
cp .env.example .env
- Populate the credentials in
.env
- Run
npm start
Run Issuer, Holder and Verifier in this sequence in your local machine.