This is a demo related to ZADA Core API, in which tenant can make connection, issue credentials and send verification request. Also tenant can create webhook to issue credentials, connection acceptance and verification submission from ZADA Wallet mobile application.
To run the application successfully, please follow these steps:
-
Clone repo using this command
git clone REPO URL
-
Use this command to install node modules
npm install
- Change .test.env variables according to your values
-
Use this command to start the app
npm run test
- Node v12.16.3
- npm 6.14.4
Below mentioned steps shows the working of core api
- Initially you have to install ZADA Wallet Test App (IOS/ANDROID).
- Start test server using
npm run test
command. - After server run it'll authenticate with core api on the basis of
Tenant Id
&Tenant Secret
- After authentication complete, It'll register webhook to perform actions like credentials issuance or verification furthermore you can put your on webhook url just a little bit change in code. Code Reference
- It'll ask for connection name to create new connection for mobile and web server connection establishment. Code Reference
- After that you can see a QR visible in cli scan it with your ZADA App to establish connection.
- Now it'll ask you either you want to
issue credentials Code Reference
orverification Code Reference
select your choice if you choose issuance then you'll get demo credentials on your wallet other than if you choose verification then you'll receive verification request.
NOTE:
Please Watch Demo Video for your better understanding.