Welcome to Driving License Use Case - Holder application. In this application, you will be able to see how does a user access his/her Affinidi Wallet which will stores all of their verifiable credentials. Holder application is important as other than viewing the credentials, it can used to accept or to approve sharing of credentials.
You can either run this program in your local machine or try it out here: https://usecases.drivinglicense-holder.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
- 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.