# Polygon ID (PID) ### Jargon * **Self-sovereign identity (SSI)**: an approach to digital identity that gives individuals control over the information they use to prove who they are to websites, services, and applications across the web - from [Wikipedia](https://en.wikipedia.org/wiki/Self-sovereign_identity), note that this proof doesn't have to be a zk proof. * **Decentralized identifiers (DIDs)**: new type of identifier that enables verifiable, decentralized digital identity - from [W3](https://www.w3.org/TR/did-core/#abstract). Example of DID in PID: **did:polygonid:polygon:mumbai:2qCw49YgLL9kpG53stfBLMY8Zg5yn2ndDa3JxqMK4P** ![](https://i.imgur.com/tgFDd0Q.png) ### Polygon ID intro *From the interactive tutorial linked above.* In this video (sorry, login needed), Sebas provides a [summary of Polygon Id tools](https://vimeo.com/780353263?signup=true): * [Identity server](https://0xpolygonid.github.io/tutorials/issuer/issuer-overview/): an API for issuers * To operate, an Issuer must interact with the <a href="https://platform-test.polygonid.com/">Polygon ID Platform</a>, either using the no-code User Interface or through the <a href="../platform-api/introduction/">Platform API</a>. * [Wallet](https://0xpolygonid.github.io/tutorials/wallet/wallet-overview/): Polygon ID/SDK for a quick start/custom wallet * [Verifier SDK (JS/Go)](https://0xpolygonid.github.io/tutorials/verifier/verifier-overview/): can be added to apps and dApps (on-chain verification via smart contracts) ![](https://i.imgur.com/ITxYEuK.png) Polygon ID Fast Facts: - Uses blockchain only as a means of storage. - Not reliant on the Polygon blockchain - can be used with any EVM compatible chain. - Free for the verifier when off-chain. Issuers and verification on-chain need to pay gas fees. Other conclusions (from Lesson 12): - Polygon Id can work with ZK and non-ZK credentials (the latter, based on DID standard) - The verifier can verify ZK credentials - The verifier can take 'elaborated queries, like "prove that your are older than 18 and citizen of UK"' - Passwordless login (? does this refer to the wallet) *By the end of the tutorial, they make a number of statements. But like they say, Polygon Id is a toolset, therefore it is hard match tool -> statements...* ### Polygon Id Issuer platform ![](https://i.imgur.com/kGigZ1L.png) ![](https://i.imgur.com/08CNZk3.png) Each schema (which is like a certificate template) seems to only accept 2 attributes, at least from this given frontend. Attributes can only be of type `Date`, `Number`, `Boolean`. ![](https://i.imgur.com/BWu4wIa.png) ![](https://i.imgur.com/Fvo5zQ8.png) ![](https://i.imgur.com/FIGR8GH.png) And as you can see QRs don't support dark mode :grin: To deep-dive, please continue here [https://0xpolygonid.github.io/tutorials/issuer/platform-api/flow-tutorial/happy-path/](https://0xpolygonid.github.io/tutorials/issuer/platform-api/flow-tutorial/happy-path/) :) ### Polygon Id Wallet ![](https://i.imgur.com/0nf3BgU.png) - Downloaded app from Store - Asks for pin (pin or fingerprint) to lock/unlock - Provides backup - Scanning the QR was not too straight fw - Adding the claim failed the first time - Can someone else try to scan and add the claim above? ### Polygon Id Verifier The Verifier is an application that requests a certain Claim/Verified Credencial and verifies if it is valid. When a User/Service wants to access the Verifiers resources, the verifier performs some steps in order to allow access to its resources. [Verifier's Verification flow (off-chain)](https://0xpolygonid.github.io/tutorials/verifier/verification-library/verifier-library-intro/) ![Verification flow](https://i.imgur.com/TlNvV56.png) ### Resources * The apps were updated in their respective stores on Feb, 16th. * [PolygonID spec](https://docs.iden3.io/protocol/spec/) * [PolygonID interactive tutorial, part 1](https://rise.articulate.com/share/6Ek8tj0DkPTQBOQHA5tG9uWT3n58ofQE#/) * [PolygonID tutorial, part 2](https://rise.articulate.com/share/q9H6bMVuhn41hC_ZRQpfu5FiOTJiYbAS#/) * [Issuer API Reference](https://0xpolygonid.github.io/tutorials/issuer-node/issuer-node-api/identity/apis/) * More tutorials [here](https://0xpolygonid.github.io/tutorials/) and [here](https://docs.iden3.io/) * [Issuer v2](https://issuer-v2.polygonid.me/) * [Verifier v2](https://verifier-v2.polygonid.me/) * Repositories: * [0xPolygonID](https://github.com/0xPolygonID) * https://github.com/0xPolygonID/tutorials * https://github.com/0xPolygonID/tutorial-examples * https://github.com/iden3/docs * https://github.com/0xPolygonID/contracts * https://github.com/iden3/js-iden3-auth (Verifier SDK JS) * https://github.com/iden3/go-iden3-auth (Verifier SDK Go) * https://github.com/0xPolygonID/rapidsnark * https://github.com/0xPolygonID/witnesscalc * [iden3](https://github.com/iden3) * https://github.com/iden3/contracts * https://github.com/iden3/circuits * https://github.com/iden3/polygonid-flutter-sdk (Wallet SDK - supports Mobile apps only) * https://github.com/0xPolygonID/sh-id-platform (Identity Server - ran by Issuers) * https://github.com/0xPolygonID/js-sdk (Beta version for the wallet-sdk for Web Services - [Tutorial](https://0xpolygonid.github.io/js-sdk-tutorials/)) * https://github.com/0xPolygonID/phase2ceremony * https://github.com/iden3/js-jsonld-merklization * https://github.com/iden3/js-crypto * https://github.com/iden3/js-merkletree * https://github.com/iden3/js-jwz * https://github.com/iden3/js-iden3-core * https://github.com/iden3/claim-schema-vocab/tree/main/schemas (Existing schemas) * https://github.com/iden3/claim-schema-vocab/tree/main/credentials (Schemas doc) * [Issuer demo](https://issuer-demo.polygonid.me/) * [Verifier demo](https://verifier-demo.polygonid.me/) * [Notion](https://www.notion.so/polygontechnology/Training-5e3bc80ff61049c9ad8f4cb7c6f18fbc) * NEW [PID Presentation for DID WG](https://docs.google.com/presentation/d/1pYzvk_1M-wXs-T8tztaNnIR5Vg6dOdr7/edit#slide=id.p13) - shared by Otto, this presentation covers ZK identity * NEW [Polygon ID DID Method today at Ethereum DID-ETH working group](https://youtu.be/WNJbTfD8ong?t=214) - also shared by Otto, Sasha 1h presentation