{"id":17466103,"url":"https://github.com/m-kus/tz-starks","last_synced_at":"2025-04-10T00:32:30.223Z","repository":{"id":172862594,"uuid":"649888847","full_name":"m-kus/tz-starks","owner":"m-kus","description":"🐺 Simple STARK verifier in cameligo","archived":false,"fork":false,"pushed_at":"2023-06-05T21:44:36.000Z","size":102,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T02:13:28.760Z","etag":null,"topics":["cairo-lang","ligo","starknet","starks","tezos","zk-starks"],"latest_commit_sha":null,"homepage":"https://better-call.dev/ghostnet/KT1QvgguUftZsJ82Wy2LZ6tfgTzBGkNrk2bx","language":"Jupyter Notebook","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/m-kus.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-06-05T21:33:28.000Z","updated_at":"2025-01-30T14:09:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd7010e4-6ca4-4687-b37e-5b1a42defe99","html_url":"https://github.com/m-kus/tz-starks","commit_stats":null,"previous_names":["m-kus/tz-starks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-kus%2Ftz-starks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-kus%2Ftz-starks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-kus%2Ftz-starks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-kus%2Ftz-starks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-kus","download_url":"https://codeload.github.com/m-kus/tz-starks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248135283,"owners_count":21053649,"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":["cairo-lang","ligo","starknet","starks","tezos","zk-starks"],"created_at":"2024-10-18T13:08:04.251Z","updated_at":"2025-04-10T00:32:30.214Z","avatar_url":"https://github.com/m-kus.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# STARK101 on Tezos\n\nThis is a PoC implementation of a STARK verifier for the Fibonacci-Square sequence calculation proof.  \nThe original proved statement and prover code taken from the [STARK101](https://github.com/starkware-industries/stark101) repository by StarkWare.\n\n### Implementation notes\n\n* A flat list of byte strings is used for the channel queue (it might be beneficial to use structured data)\n* Merkle proofs are serialized in the reversed order (to simplify verification)\n* Channel state is initialized with an empty byte string `0x` (a hash of some public input should be used)\n* Single random query is sampled (should be multiple)\n* Some values that do not depend on the channel state are pre-calculated and hardcoded in the contract code\n\n### Deployment\n\nThe verifier contract is deployed in [Ghostnet](https://better-call.dev/ghostnet/KT1QvgguUftZsJ82Wy2LZ6tfgTzBGkNrk2bx/operations):\n* Allocated storage: 3663 bytes (~1 tez)\n* Verifier gas consumption (single query): 4256 (~0.01 tez) \n\n### Videos\n\n* STARK101 tutorial https://starkware.co/stark-101/\n* Basecamp STARK math https://www.youtube.com/watch?v=jg9KSNOO2XY","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-kus%2Ftz-starks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-kus%2Ftz-starks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-kus%2Ftz-starks/lists"}