- PolygonID wallet app
- Proof of Membership schema: https://schema-builder.polygonid.me/schemas/f8121b7e-4221-4825-9204-b4146c51fc22
- Import schema in https://user-ui:password-ui@issuer-ui.polygonid.me/schemas
- Issue schema
- Open PolygonID wallet and scan the QR code.
- Create Verifier Contract in
./contracts/ProofOfMembershipVerifier.sol
. - set request on verifier contract to define the request the contract need to verify for, run the script in
scripts/set-request.js
, parameters in the scripts are fetched from:schemaPathKey
: Go tohttps://go.dev/play/p/3id7HAhf-Wi
and select Go dev branchschemaBigInt
,type
,schemaURL
: from https://schema-builder.polygonid.me/schemas/f8121b7e-4221-4825-9204-b4146c51fc22
- User scan the request QR code from
./frontend/index.js
Codesandbox examplewith polygonID wallet, it will prompt to connect your wallet(i.e. Metamask). - Connect Wallet with PolygonID wallet
- The polygonID will start generating proof.
- After proof generation done, it will automatically switch to your wallet and create submit zkp request transaction.
- Once the transaction is sent, the on-chain verification will be done and be minted an NFT if verification is passed.
mtp verifier address - 0xF71d97Fc0262bB2e5B20912a6861da0B617a07Aa
sig verifier address - 0x8024014f73BcCAEe048784d835A36c49e96F2806
default mtp validator - 0x0682fbaA2E4C478aD5d24d992069dba409766121
default sig validator - 0x1E4a22540E293C0e5E8c33DAfd6f523889cFd878
default state address - 0x134B1BE34911E39A8397ec6289782989729807a4