22 releases (9 breaking)
new 0.10.0 | Apr 16, 2025 |
---|---|
0.9.0 | Mar 5, 2025 |
0.8.0 | Jan 20, 2025 |
0.7.0 | Dec 16, 2024 |
0.1.0-rc.4 | Jul 24, 2024 |
#13 in #bft
12,172 downloads per month
Used in 5 crates
(3 directly)
1MB
27K
SLoC
zkSync Era Consensus Layer
This repo implements the consensus algorithm for the era blockchain. We implement all the necessary components for a set of sequencers to reach consensus over blocks (which right now are represented just as binary blobs). In the future, this codebase will also be capable of running full nodes and, after we integrate with the rest of the server, of reaching consensus over real blocks.
Knowledge Index
The following questions will be answered by the following resources:
Question | Resource |
---|---|
What is the logical project structure and architecture? | architecture.md |
How can I run the project? | launch.md |
What is the style guide to contribute to this repo? | style.md |
Policies
License
zkSync Era is distributed under the terms of either
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Official Links
lib.rs
:
This crate contains the consensus component, which is responsible for handling the logic that allows us to reach agreement on blocks. It uses a new cosnensus algorithm developed at Matter Labs, called ChonkyBFT. You can find the specification of the algorithm here.
Dependencies
~31–44MB
~858K SLoC