The Demo Verifier is a playground that allows you to create query based on a specific credential, generate QR based on that query and let the user scan the QR code to generate a zero-knowledge proof that the query is 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 Demo Issuer.
On the Demo Verifier website click on the drop-down menu and, therefore Custom
Then 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 are 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 actual date of entry of the user inside the DAO is not revealed to the verifier.