{"id":13767854,"url":"https://github.com/worldcoin/world-id-lens","last_synced_at":"2025-05-10T23:30:53.580Z","repository":{"id":38844709,"uuid":"493810376","full_name":"worldcoin/world-id-lens","owner":"worldcoin","description":"ARCHIVED. Human verification for Lens Protocol with World ID.","archived":true,"fork":false,"pushed_at":"2024-05-24T12:14:44.000Z","size":882,"stargazers_count":95,"open_issues_count":1,"forks_count":11,"subscribers_count":18,"default_branch":"main","last_synced_at":"2024-11-17T03:30:51.757Z","etag":null,"topics":["managed-by-terraform"],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/worldcoin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-18T20:08:29.000Z","updated_at":"2024-11-10T15:51:49.000Z","dependencies_parsed_at":"2023-11-27T23:30:07.117Z","dependency_job_id":"4705c458-ba70-4be8-bac6-353819acd40a","html_url":"https://github.com/worldcoin/world-id-lens","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worldcoin%2Fworld-id-lens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worldcoin%2Fworld-id-lens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worldcoin%2Fworld-id-lens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worldcoin%2Fworld-id-lens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/worldcoin","download_url":"https://codeload.github.com/worldcoin/world-id-lens/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253497296,"owners_count":21917683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["managed-by-terraform"],"created_at":"2024-08-03T16:01:13.228Z","updated_at":"2025-05-10T23:30:53.309Z","avatar_url":"https://github.com/worldcoin.png","language":"Solidity","funding_links":[],"categories":["Projects"],"sub_categories":["Open Source"],"readme":"# Human verification for Lens\n\nAssert your Lens profile belongs to an actual human through Worldcoin's [World ID](https://docs.worldcoin.org/world-id) protocol.\n\n## ℹ️ About\n\nThis repository contains the **smart contract** that enables verification of [Lens Protocol](https://lens.xyz) profiles as owned by a unique human.\n\n-   The verification is always exposed on-chain.\n-   Human verification is done via the [World ID](https://docs.worldcoin.org/world-id) protocol.\n-   A single human can only have one verified Lens profile. Verifying a new profile will remove the verification from the previous profile.\n\n## 🚀 Deployment\n\nThe official World ID \u003c\u003e Lens smart contract can be found at `0x8f9b3A2Eb1dfa6D90dEE7C6373f9C0088FeEebAB` on the Polygon Network. To deploy your own version of this contract, follow these instructions.\n\n1. Get an App ID and action from Worldcoin's [Developer Portal](https://developer.worldcoin.org).\n2. Run [Foundry's `forge create` command](https://book.getfoundry.sh/reference/forge/forge-create).\n\n\u003c!-- WORLD-ID-SHARED-README-TAG:START - Do not remove or modify this section directly --\u003e\n\u003c!-- The contents of this file are inserted to all World ID repositories to provide general context on World ID. --\u003e\n\u003c!-- WORLD-ID-SHARED-README-TAG:END --\u003e\n\n## 🧑‍💻 Development\n\n1. Install [Foundry](https://getfoundry.sh/).\n2. Install dependencies \u0026 build smart contracts\n    ```sh\n    make\n    ```\n\n### Using the contract\n\nTo test the contract with your own deployment, we recommend you use World ID's [Staging network](https://docs.worldcoin.org/quick-start/testing),\n\n1. Point your smart contract to the World ID's Staging network contract, which can be found at https://docs.worldcoin.org/reference/address-book.\n2. Register an identity as \"verified\" using Worldcoin's [Simulator](https://simulator.worldcoin.org).\n3. Use the hosted IDKit's widget \u0026 the Simulator to generate a World ID proof to execute the humanity check.\n    - Easiest way is to use the [Try it out](https://docs.worldcoin.org/try) page on the Worldcoin Docs.\n    - After going through the process on the Simulator, you'll get the proof, nullifier hash \u0026 Merkle root.\n4. Call `HumanCheck.verify(PROFILE_ID, merkle_root, nullifier_hash, proof)` in your contract. The last three parameters are obtained on step 6.\n5. You can now check your profile is verified by calling `HumanCheck.isVerified(PROFILE_ID)`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworldcoin%2Fworld-id-lens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworldcoin%2Fworld-id-lens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworldcoin%2Fworld-id-lens/lists"}