Issuer-Verifier SDK Setup

For the purposes of this guide, thezkpass-sdk repository is cloned into the home directory of the current user, retaining its default name. This places thezkpass-sdk repository at ~/zkpass-sdk. As a result, the root directory for the zkpass-client-ts SDK is set to ~/zkpass-sdk/typescript/node-js/issuer-verifier.

Should you choose to clone the zkpass-sdk repository into a different location, ensure that you adjust any referenced paths in the instructions to match your chosen directory structure.

Issuer-Verifier SDK Structures

To find out how the issuer-verifier SDK is structured, at the root of the zkPass SDK run the following:

cd ~/zkpass-sdk/typescript/node-js/issuer-verifier
tree -L 2

The output should look like this:

├── LICENSE
├── next.config.js
├── node_modules
├── package.json
├── package-lock.json
├── postcss.config.js
├── public
│   ├── issuer
│   └── verifier
├── README.md
├── src
│   ├── app
│   └── utils
├── tailwind.config.ts
└── tsconfig.json

Here are the descriptions for each sub directory:

  • node_modules This contains all packages that are installed when running npm i. These packages are needed to run the sdk and app.

  • src This is the main cli demo source code.

Last updated