The Demo Verifier is a playground that allows you to create queries based on a specific credential, generate a QR code based on that query and let the user scan the QR code to generate a zero-knowledge proof with which the query should be satisfied.
Download the Polygon ID Wallet App and create an Identity.
- For Android: Polygon ID on Google Play
- For iOS: Polygon ID on the App Store
- Have the queried credential inside your wallet. For the tutorial, we are using the
ProofOfDaoLongevitythat can be created via the Issuer Node UI testing environment.
On the Demo Verifier website click on the drop-down menu and then Custom
Click on Sign In.
Create the query via the editor.
The editor allows you to design the query that the user will have to satisfy. The query is created by selecting the credential type and the attribute that you want to query. More info on how to design a query is described via the ZK Query Language.
In this example, we are querying the date of entry of the user inside a DAO. In particular, we want to make sure that the user joined the DAO before a specific date. This query is based on the
ProofOfDaoLongevitycredential type described by this JSON-LD Context.
Then click Submit.
The query is then converted into a QR code that can be scanned by the user.
Once scanning the QR code with the Polygon ID app, the user will be prompted to generate a zero-knowledge proof that attests that the query is satisfied without revealing any further information about the credential. For example, the user's entry date to the DAO is never revealed to the verifier.