{"id":25518471,"url":"https://github.com/dutterbutter/min-sp1-precompiles","last_synced_at":"2025-12-18T23:30:22.971Z","repository":{"id":276412651,"uuid":"929187430","full_name":"dutterbutter/min-sp1-precompiles","owner":"dutterbutter","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-08T03:18:02.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T04:19:42.599Z","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/dutterbutter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","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":"2025-02-08T01:08:59.000Z","updated_at":"2025-02-08T03:18:05.000Z","dependencies_parsed_at":"2025-02-08T04:32:06.199Z","dependency_job_id":null,"html_url":"https://github.com/dutterbutter/min-sp1-precompiles","commit_stats":null,"previous_names":["dutterbutter/min-sp1-precompiles"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutterbutter%2Fmin-sp1-precompiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutterbutter%2Fmin-sp1-precompiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutterbutter%2Fmin-sp1-precompiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutterbutter%2Fmin-sp1-precompiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dutterbutter","download_url":"https://codeload.github.com/dutterbutter/min-sp1-precompiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239696855,"owners_count":19682322,"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-19T16:40:23.681Z","updated_at":"2025-12-18T23:30:17.667Z","avatar_url":"https://github.com/dutterbutter.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SP1 Project Template\n\nThis is a template for creating an end-to-end [SP1](https://github.com/succinctlabs/sp1) project\nthat can generate a proof of any RISC-V program.\n\n## Purpose\n\nThis project helps evaluate:\n\n- The computational efficiency of using SP1’s patched precompiles (`tiny-keccak`).\n\n## Requirements\n\n- [Rust](https://rustup.rs/)\n- [SP1 SDK](https://docs.succinct.xyz/getting-started/install.html)\n\n## Running the Project\n\n### Build the Program\n\n```sh\ncd program\ncargo prove build\n```\n\n### Execute the Program\n\nTo run the program **without generating a proof**, use one of the following commands:\n\n#### Run with **Patched SP1 tiny-keccak**:\n\n```sh\nRUST_LOG=info cargo run --release -- --execute --precompile\n```\n\n#### Run with **Non-patched (tiny-keccak)**:\n\n```sh\nRUST_LOG=info cargo run --release -- --execute --without-precompile\n```\n\nThe output will display:\n\n- The input message.\n- The selected hash implementation (`precompile` or `without-precompile`).\n- The computed Keccak256 hash.\n- The total cycle count reported by the SP1 VM.\n\n### Generate a Core Proof\n\nTo generate a proof for your program without using precompile:\n\n```sh\ncd script\ncargo run --release -- --prove --without-precompile\n```\n\nTo generate a proof for your program using precompile:\n\n```sh\ncd script\ncargo run --release -- --prove --precompile\n```\n\nObserve `prover-core` cycles summary!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdutterbutter%2Fmin-sp1-precompiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdutterbutter%2Fmin-sp1-precompiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdutterbutter%2Fmin-sp1-precompiles/lists"}