{"id":21970068,"url":"https://github.com/scroll-tech/zk-mooc-halo2","last_synced_at":"2025-04-28T10:41:55.842Z","repository":{"id":154170342,"uuid":"613346640","full_name":"scroll-tech/zk-mooc-halo2","owner":"scroll-tech","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-23T12:34:22.000Z","size":32,"stargazers_count":74,"open_issues_count":0,"forks_count":10,"subscribers_count":21,"default_branch":"main","last_synced_at":"2025-03-30T08:41:37.347Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/scroll-tech.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":"2023-03-13T11:54:01.000Z","updated_at":"2025-01-05T17:23:21.000Z","dependencies_parsed_at":"2023-05-13T22:00:16.039Z","dependency_job_id":null,"html_url":"https://github.com/scroll-tech/zk-mooc-halo2","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/scroll-tech%2Fzk-mooc-halo2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Fzk-mooc-halo2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Fzk-mooc-halo2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Fzk-mooc-halo2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scroll-tech","download_url":"https://codeload.github.com/scroll-tech/zk-mooc-halo2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251297225,"owners_count":21566774,"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-11-29T14:30:38.882Z","updated_at":"2025-04-28T10:41:55.831Z","avatar_url":"https://github.com/scroll-tech.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zk-mooc-halo2\n\nThis repository provides skeleton code to build circuits for the \"Category 4: Circuit Development in Halo2-ce\"\ntrack under https://zk-hacking.org.\n\nThe repository consists of 3 member crates, specifically `blake2f-circuit`, `ripemd160-circuit` and `sha2-256-circuit`,\nto configure constraints for verifying the input-output relationships for each of the hash functions. These hash\nfunctions are [precompiled contracts](https://www.evm.codes/precompiled) in the Ethereum Virtual Machine, and Scroll's\nzkEVM architecture relies on these circuits and their tables to check the input-output relationship via lookup arguments.\n\nThe repository also contains a `benchmarking` crate to benchmark and further optimise the layout of each of the circuits.\nTo run the benchmarks and see the output run the following commands:\n```\ncd benchmarking\nDEGREE=17 cargo test -- --nocapture\n```\n\n## Workshop Video \u0026 Additional Resources\n\n- [Workshop Recording](https://www.youtube.com/watch?v=60lkR8DZKUA)\n- [Workshop Slides](https://drive.google.com/file/d/1SfY_kBWs2S-23gw6hKvpKwHHjqQn_Ak8/view?usp=sharing)\n- [ZKP / Web3 Hackathon](https://zk-hacking.org/) hosted by Berkeley [RDI](https://rdi.berkeley.edu/) and in partnership with [ZKP MOOC](https://zk-learning.org/)\n- [ZK Circuit Track](https://zk-hacking.org/tracks/zk_circuit_track/) (Category 4 sponsored by Scroll)\n- [Installing Rust](https://doc.rust-lang.org/book/ch01-01-installation.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscroll-tech%2Fzk-mooc-halo2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscroll-tech%2Fzk-mooc-halo2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscroll-tech%2Fzk-mooc-halo2/lists"}