{"id":25633063,"url":"https://github.com/zkemail/clave-email-recovery","last_synced_at":"2025-06-14T17:03:08.852Z","repository":{"id":256922909,"uuid":"856820422","full_name":"zkemail/clave-email-recovery","owner":"zkemail","description":"Clave module for Email-based Account Recovery","archived":false,"fork":false,"pushed_at":"2025-01-28T10:18:52.000Z","size":943,"stargazers_count":4,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T17:02:58.873Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/zkemail.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"audits/cantina_audit_311024.pdf","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-13T09:12:18.000Z","updated_at":"2025-01-02T10:30:53.000Z","dependencies_parsed_at":"2024-09-13T23:26:09.679Z","dependency_job_id":"f06eb706-cee6-42d0-9677-139228607661","html_url":"https://github.com/zkemail/clave-email-recovery","commit_stats":null,"previous_names":["zkemail/clave-email-recovery"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zkemail/clave-email-recovery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkemail%2Fclave-email-recovery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkemail%2Fclave-email-recovery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkemail%2Fclave-email-recovery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkemail%2Fclave-email-recovery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkemail","download_url":"https://codeload.github.com/zkemail/clave-email-recovery/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkemail%2Fclave-email-recovery/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259851659,"owners_count":22921626,"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":[],"created_at":"2025-02-22T21:27:52.992Z","updated_at":"2025-06-14T17:03:08.810Z","avatar_url":"https://github.com/zkemail.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clave Email Recovery Contracts\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"clave-logo.png\" alt=\"Clave\" height=\"100\"/\u003e\n  \u003cimg src=\"zk-email-logo.png\" alt=\"ZkEmail\" height=\"100\"/\u003e\n\u003c/p\u003e\n\n## Project structure\n\n- `/contracts`: smart contracts.\n- `/deploy`: deployment and contract interaction scripts.\n- `/test`: test files\n- `hardhat.config.ts`: configuration file.\n\n## Commands\n\n- `npx hardhat compile` will compile the contracts, typescript bindings are generated automatically.\n- `npx hardhat deploy {contract name} {constructor arguments}` will deploy and verify the contract. Requires [environment variable setup](#environment-variables).\n- `npm run test`: run tests.\n\n### Environment variables\n\nIn order to prevent users to leak private keys, this project includes the `dotenv` package which is used to load environment variables. It's used to load the wallet private key, required to run the deploy script.\n\nTo use it, rename `.env.example` to `.env` and enter your private key.\n\n```\nPRIVATE_KEY=123cde574ccff....\n```\n\n## Official Links\n\n- [Website](https://getclave.io/)\n- [GitHub](https://github.com/getclave)\n- [Twitter](https://twitter.com/getclave)\n\n## Usage of scripts\n\nscripts/dkim_registry.ts\n\n```\n$ npx ts-node scripts/dkim_registry.ts --help\n```\n\nscripts/kill_switch.ts\n\n```\n$ npx ts-node scripts/kill_switch.ts --help\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkemail%2Fclave-email-recovery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkemail%2Fclave-email-recovery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkemail%2Fclave-email-recovery/lists"}