Skip to main content

Demo Verifier

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.

Prerequisites

Download the Polygon ID Wallet App and create an Identity.

Quick Start

  1. On the Demo Verifier website click on the drop-down menu and then Custom


    Click on Sign In.

  2. 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 ProofOfDaoLongevity credential type described by this JSON-LD Context.


    Then click Submit.

  3. 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.