[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3843":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":15,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":33,"discoverSource":34},3843,"sismo-badges","sismo-core\u002Fsismo-badges","sismo-core","Contracts of the Sismo Badge Minting Protocol ","https:\u002F\u002Fdocs.sismo.io",null,"TypeScript",15915,530,192,2,0,1,3,43.18,"MIT License",false,"main",true,[25,26,27,28,29],"attestations","did","ethereum","smart-contracts","zkp","2026-06-12 02:00:55","\u003Cbr \u002F>\n\u003Cdiv align=\"center\">\n  \u003Cimg src=\"docs\u002Ftop.png\" alt=\"Logo\" width=\"100\" height=\"100\" style=\"borderRadius: 20px\">\n\n  \u003Ch3 align=\"center\">\n    Sismo Protocol Contracts\n  \u003C\u002Fh3>\n\n  \u003Cp align=\"center\">\n    Made by \u003Ca href=\"https:\u002F\u002Fwww.sismo.io\u002F\" target=\"_blank\">Sismo\u003C\u002Fa>\n  \u003C\u002Fp>\n  \n  \u003Cp align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002Fsismo\" target=\"_blank\">\n        \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-7289DA?style=for-the-badge&logo=discord&logoColor=white\"\u002F>\n    \u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fsismo_eth\" target=\"_blank\">\n        \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTwitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white\"\u002F>\n    \u003C\u002Fa>\n  \u003C\u002Fp>\n  \u003Ca href=\"https:\u002F\u002Fwww.sismo.io\u002F\" target=\"_blank\">\n    \n  \u003C\u002Fa>\n\u003C\u002Fdiv>\n\u003Cbr\u002F>\nThis repository contains the smart contracts of the Sismo Protocol.\n\nThere are three core contracts:\n\n - `core\u002FAttestationsRegistry.sol`: The registry stores all attestations. It is owned by the governance that authorizes\u002Funauthorize issuers to record in it\n - `core\u002FAttester.sol` The standard abstract contract must be inherited by attesters. Attesters are issuers of attestations. They verify user requests and build attestations that will be recorded in the registry\n - `core\u002FBadges.sol` Reads the registry. Stateless Non Transferable Token view of attestations (ERC1155)\n\nIt also contains implementations of attester in `attesters\u002F`:\n- `HydraS1SimpleAttester.sol`: ZK Attester using the [Hydra S1 Proving Scheme](https:\u002F\u002Fhydra-s1.docs.sismo.io) and the notion of nullifiers. Users must provide a ZK Proof along with their request to generate attestations\n- `HydraS1AccountboundAttester.sol`: Accountbound version of the Simple Hydra S1 Simple Attester. (Users can update at will where the attestation is stored)\n\n\u003Cbr\u002F>\u003Cbr\u002F>\n\n\n## Sismo protocol\n\nA complete overview of the protocol is available in our [documentation](https:\u002F\u002Fprotocol.docs.sismo.io)\n\n\n## Deployed contracts\n\nDeployed contracts can be found [here](https:\u002F\u002Fdocs.sismo.io\u002Fsismo-docs\u002Fdeployed-contract-addresses)\n\n\n## Usage\n### Installation\n```\nyarn\n```\n\n### Compile contracts\nCompile contracts using hardhat\n```\nyarn compile\n```\n\n### Test\nLaunch all tests\n\n```\nyarn test\n```\n\n### Print storage layout \n```\nyarn storage-layout\n```\n\n### Deploy on local chain\n\nTerminal tab 1\n```\nyarn chain\n```\n\nTerminal tab 2\n```\nyarn deploy:local\n```\n\n\n## Create a new Attester\n\nTo develop a new attester, you must inherit the `core\u002FAttester.sol` abstract contract and implement the following functions: \n\n-  `_verifyRequest(request, proofData)`: You must implement the user request verification against the proof provided by the user\n-  `buildAttestations(request, proofData)`: You must build the attestations that will be recorded from a verified user request\n\nOther optional hook functions that can be implemented:\n\n- `_beforeRecordAttestations(request, proofData)`\n- `_afterRecordAttestations(request, proofData)`\n\nThe `\u002Fattesters\u002Fhydra-s1\u002FHydraS1SimpleAttester.sol` is a good example of an attester implementing those functions.\n\nA [guide](https:\u002F\u002Fattesters.docs.sismo.io) is offered in our documentation.\n\nFeel free open a PR with your new attester in `\u002Fattester`!\n\n## License\n\nDistributed under the MIT License.\n\n## Contribute\n\nPlease, feel free to open issues, PRs or simply provide feedback!\n\n## Contact\n\nPrefer [Discord](https:\u002F\u002Fdiscord.gg\u002Fsismo) or [Twitter](https:\u002F\u002Ftwitter.com\u002Fsismo_eth)\n\n\u003Cbr\u002F>\n\u003Cimg src=\"https:\u002F\u002Fstatic.sismo.io\u002Freadme\u002Fbottom-main.png\" alt=\"bottom\" width=\"100%\" >\n\n","Sismo Badge Minting Protocol是一个用于创建和管理数字徽章的智能合约系统。项目核心功能包括通过零知识证明技术验证用户请求并生成不可转让的ERC1155徽章，支持基于以太坊的身份验证声明（attestations）存储与管理。其主要特点为采用TypeScript编写，并集成了Hydra S1证明方案来确保数据隐私性和安全性。适合于需要构建去中心化身份认证系统或希望利用区块链技术进行成就、资格等信息验证的应用场景。","2026-06-11 02:56:39","top_language"]