Quick Start
Last updated
Last updated
Feel free to contact us if you have any ideas
You can read A Comprehensive Guide to Verifying Private Data with zkPass before start to integrate zkPass TransGate-JS-SDK.
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.
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.
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.