Developer Resources
The POD and GPC libraries are available for JavaScript/TypeScript developers. Start by looking at the tutorial code here, then you can take a look at the specific packages listed below.
All code is open-source and available in the Zupass repo. Detailed API reference documentation is at docs.pcd.team.
For questions or to talk with other developers, you can join our Telegram group at t.me/zupass.
@pcd/gpc
Links: NPM, tutorial, API reference, code
Allows creation of GPC proofs using high-level configuration. The config compiler picks the right ZK circuit, and generates the circuit inputs to prove or verify as needed.
@pcd/proto-pod-pcd-artifacts
Links: NPM, tutorial, API reference, code
This package contains the binary artifacts (proving and verification keys, witness generators) needed for GPC proofs in the default proto-pod-gpc
family. These are large, but you’ll only need a few of them, not the whole package. Read more information about how to use these artifacts here.
@pcd/gpcircuits
Links: NPM, API reference, code
Contains the modular ZK circuits used to generate GPC proofs, and TypeScript helpers for using those circuits. You don’t need to look at this code to use GPCs, but you can use this code as the basis of your own ZK circuits using PODs, or to enable on-chain verification.
@pcd/gpc-pcd
Links: NPM, tutorial, API reference, code
Allows GPC proofs to be generated about PODs in your Zupass. A GPCPCD is developer/hacker friendly, displaying the proof configuration and POD values directly. Most apps don’t need to interact directly with GPCPCDs, but should instead prefer to use the Z API.