{"id":48179329,"url":"https://github.com/masaun/world-id-badge-manager","last_synced_at":"2026-04-04T17:42:18.233Z","repository":{"id":347317367,"uuid":"1073674668","full_name":"masaun/world-id-badge-manager","owner":"masaun","description":"World ID Badge Manager contract","archived":false,"fork":false,"pushed_at":"2026-03-27T11:51:18.000Z","size":306,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-27T22:55:06.150Z","etag":null,"topics":["foundry","solidity","world-id","zero-knowledge-proof"],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/masaun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-10T13:04:40.000Z","updated_at":"2026-03-27T11:51:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/masaun/world-id-badge-manager","commit_stats":null,"previous_names":["masaun/world-id-badge-manager"],"tags_count":null,"template":false,"template_full_name":"worldcoin/world-id-onchain-template","purl":"pkg:github/masaun/world-id-badge-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masaun%2Fworld-id-badge-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masaun%2Fworld-id-badge-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masaun%2Fworld-id-badge-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masaun%2Fworld-id-badge-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/masaun","download_url":"https://codeload.github.com/masaun/world-id-badge-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masaun%2Fworld-id-badge-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31407649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["foundry","solidity","world-id","zero-knowledge-proof"],"created_at":"2026-04-04T17:42:17.680Z","updated_at":"2026-04-04T17:42:18.229Z","avatar_url":"https://github.com/masaun.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# World ID Badge Manager contract\n\n## Overview\n\nThis is the World ID Badge Manager contract, which:\n- handle the **World ID `v3` (`Legacy`)** proof, which is generated and verified `off-chain`, via the `WorldIDV3BadgeManagerForOffChainVerifiedProof.sol`.\n   (Details are here: https://docs.world.org/world-id/idkit/integrate#step-5-verify-the-proof-in-your-backend)\n\n- Once the `On-chain` verifier contract for the **World ID `v4`** proof will be deployed on World Chain mainnet / sepolia by the World team, we will be replace the off-chain verification part with the on-chain verification. \n  (Details are here: https://docs.world.org/world-id/idkit/onchain-verification#2-verifying-uniqueness-proofs-in-worldidverifier-sol-world-id-4-0 )\n\n\u003cbr\u003e\n\n## Functions in the `WorldIDV3BadgeManagerForOffChainVerifiedProof.sol`\n\n- `storeVerifiedWorldIDV3ProofData()`: \n   - Once a `World ID v3 Proof` generation and verification would be completed `off-chain` (`backend`), the proof data is stored into the `on-chain` storage via the `storeVerifiedWorldIDV3ProofData()` of the `WorldIDV3BadgeManagerForOffChainVerifiedProof.sol`\n   \n- `getVerifiedWorldIDV3ProofData()`\n   - you can check a data of the verified `World ID v3 Proof` by invoking the `getVerifiedWorldIDV3ProofData()` of the `WorldIDV3BadgeManagerForOffChainVerifiedProof.sol`)\n\n- `hasWorldIDV3Badge()`: \n   - You can check wether a user has a `World ID v3 Proof` in the form of `World ID v3 Proof` badge by invoking the `hasWorldIDV3Badge()` of the `WorldIDV3BadgeManagerForOffChainVerifiedProof.sol`\n\n\u003cbr\u003e\n\n## Deployed Contract Addresses (on `World Chain mainnet / sepolia`)\n\n### Existing deployed-contract addresses (on `World Chain - Mainnet`)\n| Contract | Address |\n|----------|---------|\n| **WorldIDV3BadgeManagerForOffChainVerifiedProof.sol** | [`0x68fC0B89aa8591ff49065971ADFECeE42eF4cA36`](https://worldscan.org/address/0x68fc0b89aa8591ff49065971adfecee42ef4ca36) |\n\n\n### Newly deployed-contract addresses (on `World Chain - Sepolia`) by this project\n| Contract | Address |\n|----------|---------|\n| **WorldIDV3BadgeManagerForOffChainVerifiedProof.sol** | [`0xED169AF4E8d68d167B8c7bf66f241f30B8cA8083`](https://sepolia.worldscan.org/address/0xed169af4e8d68d167b8c7bf66f241f30b8ca8083) |\n\n\u003cbr\u003e\n\n## Techinical Stack\n\n- **Smart Contract**: `Solidity`\n- **Smart Contract Framework**: `Foundry`\n- **Blockchain**: World Chain mainnet and sepolia \n\n\u003cbr\u003e\n\n\u003chr\u003e\n\n# Installation\n\n## Smart contract `deployment` scripts\n\n### Smart contract `deployment` script on `World Chain - Sepolia Testnet`\n\n- Deploy the `WorldIDV3BadgeManagerForOffChainVerifiedProof.sol` on `World Chain - Sepolia Testnet`\n```bash\ncd contracts\nsh scripts/world-chain-sepolia/deployments/DeployWorldIDV3BadgeManagerForOffChainVerifiedProof.sh\n```\n\n\u003cbr\u003e\n\n### Smart contract `deployment` script on `World Chain - Mainnet`\n\n- Deploy the `WorldIDV3BadgeManagerForOffChainVerifiedProof.sol` on `World Chain - Mainnet`\n```bash\ncd contracts\nsh scripts/world-chain-mainnet/deployments/DeployWorldIDV3BadgeManagerForOffChainVerifiedProof.sh\n```\n\n\u003cbr\u003e\n\n## References\n\n- World ID: \n  - API Reference: https://docs.world.org/api-reference/developer-portal/verify\n  - `IDKit` integration \u0026 `Off-chain` proof verification: https://docs.world.org/world-id/idkit/integrate\n  - On-chain verification: https://docs.world.org/world-id/idkit/onchain-verification\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasaun%2Fworld-id-badge-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasaun%2Fworld-id-badge-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasaun%2Fworld-id-badge-manager/lists"}