{"id":20841412,"url":"https://github.com/iotexproject/halo2-evm-verifier","last_synced_at":"2025-08-20T04:24:05.575Z","repository":{"id":194472018,"uuid":"687389422","full_name":"iotexproject/halo2-evm-verifier","owner":"iotexproject","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-30T08:32:46.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T00:47:58.670Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iotexproject.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}},"created_at":"2023-09-05T09:01:11.000Z","updated_at":"2023-10-26T02:43:05.000Z","dependencies_parsed_at":"2023-09-13T13:50:29.473Z","dependency_job_id":"cfa7afd9-30dd-4c09-8fd2-8d9ecb0bb736","html_url":"https://github.com/iotexproject/halo2-evm-verifier","commit_stats":null,"previous_names":["ququzone/halo2-hello","iotexproject/halo2-evm-verifier"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotexproject%2Fhalo2-evm-verifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotexproject%2Fhalo2-evm-verifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotexproject%2Fhalo2-evm-verifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotexproject%2Fhalo2-evm-verifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iotexproject","download_url":"https://codeload.github.com/iotexproject/halo2-evm-verifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243197211,"owners_count":20251956,"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-18T01:19:56.912Z","updated_at":"2025-03-12T10:21:34.700Z","avatar_url":"https://github.com/iotexproject.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Halo2 EVM Verifier\n==================\n\n## Halo2\n\n### Columns\n\n### How to write a circuit in halo2\n\n1. Define a Config struct that holds the columns used in the circuit\n2. Define a Chip struct that configures the constraints in the circuit and provides assignment functions\n3. Define a circuit struct that implements the Circuit trait and\n4. Instantiate a circuit instance and feed it into the prover\n\n## Steps\n\n### 1. Write circuits\n\n### 2. Generate Onchain verifier\n\n\u003e Requirement: install `solc`\n\n### 3. WASM prover (WIP)\n\n### 4. Aggregator proof (TODO)\n\n## Solidity verifier\n\n```solidity\npragma solidity ^0.8.19;\n\ncontract Verifier {\n    function verify(address yulVerifier, bytes calldata input) external view returns (bool) {\n        (bool success, ) = yulVerifier.staticcall(input);\n        return success;\n    }\n}\n```\n\n## Usage\n\n### Build\n\n```\ncargo build --release\n```\n\n### Run\n\n```\n// help message\ntarget/release/halo2-evm-verifier -h\n\n// generate params binary\ntarget/release/halo2-evm-verifier params\n\n// generate solidity file or bytecode\ntarget/release/halo2-evm-verifier solidity\n\n// generate proof and calldata\ntarget/release/halo2-evm-verifier proof\n```\n\n### IoTeX testnet deployment\n\nThe universal solidity contract address: `0xF6577c31eaE769aE303e6D38070fE88A3e8830c9`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiotexproject%2Fhalo2-evm-verifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiotexproject%2Fhalo2-evm-verifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiotexproject%2Fhalo2-evm-verifier/lists"}