{"id":18359595,"url":"https://github.com/starkware-libs/starknet-staking","last_synced_at":"2026-01-25T09:34:11.251Z","repository":{"id":247787142,"uuid":"816811823","full_name":"starkware-libs/starknet-staking","owner":"starkware-libs","description":"starknet-staking","archived":false,"fork":false,"pushed_at":"2025-12-18T08:35:14.000Z","size":6551,"stargazers_count":97,"open_issues_count":21,"forks_count":41,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-21T15:57:09.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Cairo","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/starkware-libs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-18T12:56:36.000Z","updated_at":"2025-12-18T08:35:17.000Z","dependencies_parsed_at":"2024-08-25T09:31:14.840Z","dependency_job_id":"8a5a34ae-8c5c-4d8b-8d7b-ac2884c4666b","html_url":"https://github.com/starkware-libs/starknet-staking","commit_stats":null,"previous_names":["starkware-libs/starknet-staking"],"tags_count":771,"template":false,"template_full_name":null,"purl":"pkg:github/starkware-libs/starknet-staking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starkware-libs%2Fstarknet-staking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starkware-libs%2Fstarknet-staking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starkware-libs%2Fstarknet-staking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starkware-libs%2Fstarknet-staking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/starkware-libs","download_url":"https://codeload.github.com/starkware-libs/starknet-staking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starkware-libs%2Fstarknet-staking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28750875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T09:00:19.176Z","status":"ssl_error","status_checked_at":"2026-01-25T09:00:04.131Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-05T22:23:36.758Z","updated_at":"2026-01-25T09:34:11.245Z","avatar_url":"https://github.com/starkware-libs.png","language":"Cairo","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv align=\"center\"\u003e\n\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"assets/starknet-dark.png\"\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"assets/starknet-light.png\"\u003e\n  \u003cimg alt=\"Your logo\" src=\"assets/starknet-light.png\"\u003e\n\u003c/picture\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![License: Apache2.0](https://img.shields.io/badge/License-Apache2.0-green.svg)](LICENSE)\n\u003c/div\u003e\n\n# Starknet Staking \u003c!-- omit from toc --\u003e\n\n## Table of contents \u003c!-- omit from toc --\u003e\n\n \u003c!-- omit from toc --\u003e\n- [About](#about)\n- [Disclaimer](#disclaimer)\n- [Dependencies](#dependencies)\n- [Installation](#installation)\n- [Implementation specification](#implementation-specification)\n- [Getting help](#getting-help)\n- [Help make Staking better!](#help-make-staking-better)\n- [Contributing](#contributing)\n- [Security](#security)\n\n\n## About\nThis repo holds the implementation of Staknet's staking mechanism.  \nFollowing [Starknet SNIP 18](https://community.starknet.io/t/snip-18-staking-s-first-stage-on-starknet/114334).\n\n## Disclaimer\nStaking is a work in progress.\n\n## Dependencies\n- [Scarb](https://docs.swmansion.com/scarb/)\n- [Starknet foundry](https://foundry-rs.github.io/starknet-foundry/index.html) (optional - for testing)\n\n## Installation\nInstall the dependencies (either using [asdf](https://asdf-vm.com/) or any other way),\nclone the repo and from within the project's root folder run:\n```bash\nscarb build\n```\nfor a development build or\n```bash\nscarb --release build\n```\nfor a release build.\n\n## Implementation specification\nSpecs document found [here](docs/spec.md)\n\n## Verify Class Hash\nTo ensure that the on-chain class hash corresponds to the code in this repository, follow these steps:\n- :wrench: Environment Requirements\n  - sncast version:\n    - `sncast --version` -\u003e `0.50.0`\n    - if not, install sncast:\n      - `asdf install starknet-foundry 0.50.0`\n      - `asdf global starknet-foundry 0.50.0`\n      - `asdf local starknet-foundry 0.50.0`\n- :mag: Verification Steps\n  - Checkout the Correct Code Version\n    - Make sure you're on the exact Git commit or tag used for deployment:\n      - `git checkout \u003ccommit-hash-or-tag\u003e`\n      - commit_hash: `5c11a5689f2d2e08ffecebf30d3e49569accbfca`\n      - tag: `@staking/contracts-v1.0.1-dev.854`\n  - Compute the Local Class Hash\n    - Use Sncast to calculate the class hash of the local contract:\n      - `sncast utils class-hash --contract-name \u003ccontract_name\u003e`\n      - where `\u003ccontract_name\u003e` is the name of the contract (e.g. `Staking`, `Attestation`)\n  - Compare with On-Chain Class Hash\n    - Look up the deployed class hash on a block explorer (e.g., [StarkScan](https://starkscan.io/) or [Voyager](https://voyager.online/))\n    - Ensure it matches the one computed locally\n  \n## Getting help\n\nReach out to the maintainer at any of the following:\n- [GitHub Discussions](https://github.com/starkware-libs/starknet-staking/discussions)\n- Contact options listed on this [GitHub profile](https://github.com/starkware-libs)\n\n## Help make Staking better!\n\nIf you want to say thank you or support the active development of Starknet Staking:\n- Add a GitHub Star to the project.\n- Tweet about Starknet Staking.\n- Write interesting articles about the project on [Dev.to](https://dev.to/), [Medium](https://medium.com), or your personal blog.\n\n## Contributing\nThanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make benefit everybody else and are greatly appreciated.\n\nPlease read our [contribution guidelines](https://github.com/starkware-libs/starknet-staking/blob/main/docs/CONTRIBUTING.md), and thank you for being involved!\n\n## Security\nStarknet Staking follows good practices of security, but 100% security cannot be assured. Starknet Staking is provided \"as is\" without any warranty. Use at your own risk.\n\nFor more information and to report security issues, please refer to our [security documentation](https://github.com/starkware-libs/starknet-staking/blob/main/docs/SECURITY.md).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarkware-libs%2Fstarknet-staking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarkware-libs%2Fstarknet-staking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarkware-libs%2Fstarknet-staking/lists"}