Lambda Starknet Sequencer
A Starknet decentralized sequencer implementation.
Getting started
The objective of this project is to create an L2 decentralized sequencer for Starknet. This will be one of the multiple implementations that will follow the decentralized sequencer.
The sequencer can be broken down into (roughly) 3 interchangeable modules:
- Mempool (Narwhal) which stores received transactions
- Consensus (Bullshark, Tendermint, Hotstuff) which orders transactions stored by the mempool
- Execution Engine, which executes the transactions on the state machine. The OS is given by Starknet in Rust and execution is deferred to Sierra2MLIR or Cairo-rs.
By interchangeable modules we mean that the underlying algorithm implementation in the Mempool communication, the Consensus protocol or the Execution Engine can be changed and configured.
Additionally, in order to maintain and persist state, there is a State module which implements PhotonDB in a first iteration.
Reference links
Starknet
- Starknet State
- Starknet architecture
- Starknet transaction lifecycle
- Cairo book
- Starknet book
- Starknet RPC specs