{"id":13511299,"url":"https://github.com/paritytech/shasper","last_synced_at":"2025-03-30T20:32:53.064Z","repository":{"id":45115821,"uuid":"149278077","full_name":"paritytech/shasper","owner":"paritytech","description":"Parity Shasper beacon chain implementation using the Substrate framework.","archived":true,"fork":false,"pushed_at":"2022-01-07T21:44:25.000Z","size":4354,"stargazers_count":196,"open_issues_count":21,"forks_count":20,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-03-17T12:00:02.775Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paritytech.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":"CODEOWNERS","security":"SECURITY.md","support":null}},"created_at":"2018-09-18T11:35:30.000Z","updated_at":"2025-01-02T23:14:04.000Z","dependencies_parsed_at":"2022-09-16T02:22:00.875Z","dependency_job_id":null,"html_url":"https://github.com/paritytech/shasper","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/paritytech%2Fshasper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paritytech%2Fshasper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paritytech%2Fshasper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paritytech%2Fshasper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paritytech","download_url":"https://codeload.github.com/paritytech/shasper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246379366,"owners_count":20767694,"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-08-01T03:00:46.749Z","updated_at":"2025-03-30T20:32:52.667Z","avatar_url":"https://github.com/paritytech.png","language":"Rust","readme":"# Parity Shasper\n\n[![crates.io](https://img.shields.io/crates/v/beacon.svg)](https://crates.io/crates/beacon)\n[![Documentation](https://docs.rs/beacon/badge.svg)](https://docs.rs/beacon)\n\nThis is an implementation of\n[Serenity](https://github.com/ethereum/eth2.0-specs) beacon chain by Parity\nTechnologies. To learn more about Serenity and Ethereum's sharding plan, see the\n[sharding FAQ](https://github.com/ethereum/wiki/wiki/Sharding-FAQ) and the\n[research compendium](https://notes.ethereum.org/s/H1PGqDhpm).\n\nParity Shasper consists of a core library `beacon` which handles beacon chain\nstate transition logic, a client built on\n[Substrate](https://github.com/paritytech/substrate) framework (in `substrate`\nfolder), and a lightweight client built from ground up (in `blockchain`\nfolder). The `substrate` client and the `blockchain` client shares the core\nlibrary, but operates independently.\n\nTo build the client, you need to have [Rust](https://www.rust-lang.org/)\ninstalled. Other dependencies required including `pkgconfig`, `libudev`,\n`openssl`, `cmake`, `clang`.\n\n## `substrate` client\n\nThe `substrate` client is currently being reworked at this moment. Stay tuned!\n\n## `blockchain` client\n\nThe `blockchain` client uses spec archive LMD-GHOST consensus and Serenity\n`beacon` v0.8 runtime. The client implements a basic in-memory backend and\nnetworking stack based on `libp2p`. It also contains basic validator logic and\ncan participate in beacon chain proposing and attestation.\n\nTo build the `blockchain` client:\n\n```bash\ncd ./blockchain \u0026\u0026 cargo run --release -- --author\n```\n\n## FAQ\n\n**Why common caching strategies for `beacon` and LMD-GHOST are not yet\nimplemented?**\n\nInternally we made the decision that we will strictly follow the beacon chain\nspecification for now, and implement optimizations after the specification is\nfrozen. This is because the specification still changes a lot, and we worry that\noptimizations we make right now will make upgrading to a newer version of the\nspecification much harder.\n\n## License\n\nLicensed under GPLv3.\n","funding_links":[],"categories":["Blockchains","Ecosystem Blockchains","Rust","开源项目"],"sub_categories":["Rust区块链项目"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparitytech%2Fshasper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparitytech%2Fshasper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparitytech%2Fshasper/lists"}