{"id":13570534,"url":"https://github.com/sCrypt-Inc/zokrates","last_synced_at":"2025-04-04T07:31:44.762Z","repository":{"id":41135150,"uuid":"379822455","full_name":"sCrypt-Inc/zokrates","owner":"sCrypt-Inc","description":"A zero-knowledge proof toolbox on Bitcoin. A fork of zokrates (https://github.com/Zokrates/ZoKrates).","archived":false,"fork":false,"pushed_at":"2024-02-08T18:21:30.000Z","size":13786,"stargazers_count":15,"open_issues_count":6,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-20T14:40:37.570Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sCrypt-Inc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG-scrypt.md","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":"2021-06-24T06:12:08.000Z","updated_at":"2024-10-15T18:44:13.000Z","dependencies_parsed_at":"2024-02-08T19:50:30.455Z","dependency_job_id":null,"html_url":"https://github.com/sCrypt-Inc/zokrates","commit_stats":null,"previous_names":[],"tags_count":69,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sCrypt-Inc%2Fzokrates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sCrypt-Inc%2Fzokrates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sCrypt-Inc%2Fzokrates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sCrypt-Inc%2Fzokrates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sCrypt-Inc","download_url":"https://codeload.github.com/sCrypt-Inc/zokrates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247138719,"owners_count":20890094,"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":"2024-08-01T14:00:53.088Z","updated_at":"2025-04-04T07:31:40.362Z","avatar_url":"https://github.com/sCrypt-Inc.png","language":"Rust","funding_links":[],"categories":["Tools"],"sub_categories":["ZoKrates: a toolbox for zkSNARKs"],"readme":"\n\u003cimg src=\"zokrates_logo.svg\" width=\"100%\" height=\"180\"\u003e\n\n# ZoKrates\n\n[![Join the chat at https://gitter.im/ZoKrates/Lobby](https://badges.gitter.im/ZoKrates/Lobby.svg)](https://gitter.im/ZoKrates/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![CircleCI develop](https://img.shields.io/circleci/project/github/Zokrates/ZoKrates/develop.svg?label=develop)](https://circleci.com/gh/Zokrates/ZoKrates/tree/develop)\n\nZoKrates is a toolbox for zkSNARKs on Ethereum.\n\n_This is a proof-of-concept implementation. It has not been tested for production._\n\n## Getting Started\n\nInstall the ZoKrates CLI:\n\n```bash\ncurl -Ls https://scrypt.io/scripts/setup-zokrates.sh | sh\n```\n\nHave a look at the [documentation](https://zokrates.github.io/) for more information about using ZoKrates.\n[Get started](https://zokrates.github.io/gettingstarted.html), then try a [tutorial](https://zokrates.github.io/examples/rng_tutorial.html)!\n\n## Getting Help\n\nIf you run into problems, ZoKrates has a [Gitter](https://gitter.im/ZoKrates/Lobby) room.\n\n## License\n\nZoKrates is released under the GNU Lesser General Public License v3.\n\n## Contributing\n\nWe happily welcome contributions. You can either pick an existing issue or reach out on [Gitter](https://gitter.im/ZoKrates/Lobby).\n\nUnless you explicitly state otherwise, any contribution you intentionally submit for inclusion in the work shall be licensed as above, without any additional terms or conditions.\n\n### Git Hooks\n\nYou can enable zokrates git hooks locally by running:\n\n```sh\ngit config core.hooksPath .githooks\n```\n\n\n\n### Workflow\n\nA circuit:\n\n\n```python\ndef main(private field p, private field q, field n) {\n    assert(p * q == n);\n    assert(p \u003e 1);\n    assert(q \u003e 1);\n    return;\n}\n```\n\n\n```bash\nzokrates compile -i root.zok\n# perform the setup phase\nzokrates setup\n# execute the program\nzokrates compute-witness -a 2 2 4\n# generate a proof of computation\nzokrates generate-proof\n# export an sCrypt verifier\nzokrates export-verifier-scrypt\n# or verify natively\nzokrates verify\n```\n\n\n-------------------------\n\n[1] we use bellman as default backend.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FsCrypt-Inc%2Fzokrates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FsCrypt-Inc%2Fzokrates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FsCrypt-Inc%2Fzokrates/lists"}