Quick Start
Register and Config the Project in zkPass Dev Center
Login zkPass dev center , connect the wallet.
Create a new project, enter project information.
After "Create", a project is created with an appid.
Click on 'Add Schema' and choose the schema category.
Choose a base schema (the base schema is a default template of schema without assertions).
Config the assertions based on the requirements.
After 'Submit', a schema is created automatically with an unique schemaId for the project.
Developers can add multiple schemas for the project.
Once the schema is successfully created, it cannot be modified but can be deleted. Please carefully review before submitting.
Integrate TransGate JS-SDK
Developers can install the package using either NPM or Yarn
Using NPM
Using Yarn
Integrate the TransGate JS-SDK with your project
TransGate download link is https://chromewebstore.google.com/detail/zkpass-transgate/afkoofjocpbclhnldmmaphappihehpma
Please make sure the domain of DApp matches the configuration of the project in dev center.
Validate the result
After receiving the verification result(res
in code block), developers should validate it.
You can refer to API References and Generate proof and verify the result for more information.
Last updated