{"id":13630171,"url":"https://github.com/ZeroSync/ZeroSync","last_synced_at":"2025-04-17T13:31:39.952Z","repository":{"id":44923857,"uuid":"511932430","full_name":"ZeroSync/ZeroSync","owner":"ZeroSync","description":"A STARK proof to sync a Bitcoin full node in an instant.","archived":false,"fork":false,"pushed_at":"2024-11-24T14:52:10.000Z","size":3041,"stargazers_count":432,"open_issues_count":5,"forks_count":64,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-04-11T08:10:20.622Z","etag":null,"topics":["bitcoin","starks","zkproof"],"latest_commit_sha":null,"homepage":"https://ZeroSync.org","language":"Cairo","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/ZeroSync.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":"docs/roadmap.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-07-08T14:56:27.000Z","updated_at":"2025-04-08T06:10:38.000Z","dependencies_parsed_at":"2025-04-11T08:10:30.908Z","dependency_job_id":"13c9e433-76d8-41d8-9cac-8263fe561861","html_url":"https://github.com/ZeroSync/ZeroSync","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/ZeroSync%2FZeroSync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZeroSync%2FZeroSync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZeroSync%2FZeroSync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZeroSync%2FZeroSync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZeroSync","download_url":"https://codeload.github.com/ZeroSync/ZeroSync/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249344813,"owners_count":21254742,"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":["bitcoin","starks","zkproof"],"created_at":"2024-08-01T22:01:32.565Z","updated_at":"2025-04-17T13:31:39.940Z","avatar_url":"https://github.com/ZeroSync.png","language":"Cairo","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eZeroSync\u003c/h1\u003e\n  \u003cbr /\u003e\n  \u003ca href=\"#about\"\u003e\u003cstrong\u003e«A STARK proof to sync a Bitcoin full node in an instant»\u003c/strong\u003e\u003c/a\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n  \u003ca href=\"https://github.com/ZeroSync/ZeroSync/issues/new?assignees=\u0026labels=bug\u0026template=01_BUG_REPORT.md\u0026title=bug%3A+\"\u003eReport a Bug\u003c/a\u003e\n  |\n  \u003ca href=\"https://github.com/ZeroSync/ZeroSync/issues/new?assignees=\u0026labels=enhancement\u0026template=02_FEATURE_REQUEST.md\u0026title=feat%3A+\"\u003eRequest a Feature\u003c/a\u003e\n  | \u003ca href=\"https://github.com/ZeroSync/ZeroSync/discussions\"\u003eAsk a Question\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n\u003cbr/\u003e\n\n[![GitHub Workflow Status](https://github.com/ZeroSync/ZeroSync/actions/workflows/CI.yml/badge.svg)](https://github.com/ZeroSync/ZeroSync/actions/workflows/CI.yml)[![Project license](https://img.shields.io/github/license/ZeroSync/ZeroSync.svg)](LICENSE)\n[![Pull Requests welcome](https://img.shields.io/badge/PRs-welcome-ff69b4.svg?)](https://github.com/ZeroSync/ZeroSync/issues)\n[![GitHub Repo stars](https://img.shields.io/github/stars/ZeroSync/ZeroSync?style=social)](https://github.com/ZeroSync/ZeroSync/stargazers)\n[![Twitter Follow](https://img.shields.io/twitter/follow/ZeroSync_?style=social)](https://x.com/ZeroSync)\n\n\u003c/div\u003e\n\n**Don't trust. Verify.** ZeroSync allows to verify Bitcoin's chain state in an instant. No need to download hundreds of gigabytes of blocks. A compact cryptographic proof suffices to validate the entire history of transactions and everyone's current balances. \n\nOur first application is to zerosync Bitcoin Core in pruned mode. The long-term vision for ZeroSync is to become a tool box for custom Bitcoin proofs. STARK proofs enable you to transform the blockchain data, enhance it, filter it, index it for efficient queries, and optimise it for your individual use case.\n\nThis is an early stage project. Expect frequent breaking changes. [Here is the project roadmap](docs/roadmap.md).\n\nWARNING: THIS CODE IS STILL FULL OF CRITICAL SECURITY BUGS!\n\n## Requirements\n- Python 3.9 (Activate environment: `source ~/cairo_venv/bin/activate`)\n- Cairo. [Installation Guide](https://www.cairo-lang.org/docs/quickstart.html) (Programming language for provable programs)\n- [Protostar](https://docs.swmansion.com/protostar/docs/tutorials/installation) (Automated testing)\n- [Giza](https://github.com/zerosync/giza) (Required for prover. Not necessary for development and testing)\n- [EJS](https://ejs.co/) (Required for compiling)\n\n## Install as library\nTo access the Cairo code in the `src` directory from within another Cairo project install the zerosync package:\n\n```sh\npip install zerosync\n\n```\n\nFind a short Cairo example at [`docs/import_example.cairo`](https://github.com/ZeroSync/ZeroSync/blob/main/docs/import_example.cairo) on how to import the desired function. \n\n## Run the Utreexo bridge node\nThe Utreexo bridge node is required to pass the tests for block verification. It provides the inclusion proofs for the coins spent in a block.\n\n```sh\nmake bridge_node\n```\n\n## Run all unit tests\n```sh\nmake unit_test\n```\n\n## Run all integration tests\n```sh\nmake integration_test\n```\n\n## Run the chain prover\n```sh\nmake chain_proof\n```\n\n## List TODOs\n```sh\n ./docs/todos\n```\n\n## Roadmap\nThe roadmap is available [here](docs/roadmap.md).\n","funding_links":[],"categories":["Cairo"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZeroSync%2FZeroSync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FZeroSync%2FZeroSync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZeroSync%2FZeroSync/lists"}