--- title: Architecture sidebar_label: Overview description: Protocol architecture overview and core components of Lineth image: /img/socialCards/architecture.jpg --- import GlossaryTerm from "@theme/GlossaryTerm"; import TransactionLifecycle from "/img/protocol/architecture/transaction-lifecycle.svg"; architecture supports a configurable protocol that delivers developer-ready L2 and L3 networks, scaling Ethereum by providing an Ethereum-equivalent execution environment. Operators and network designers configure their stack to shape protocol behavior and trust assumptions, for example, choosing the [data availability](../../stack/deployment/data-availability.mdx) and [finalization layer](../../stack/deployment/finalization-layer.mdx) design. ## Transaction lifecycle Lineth carries a transaction from submission to finalization in four stages:
### 1. Execute transactions Transactions enter the mempool through the [RPC](./nodes/rpc-services.mdx) entrypoint of a node. The sequencer validates, orders, and executes them into blocks. Block building runs on a sequencer node: a paired with a execution client. It enforces Lineth [validity conditions](./sequencer/index.mdx#transaction-validity-conditions), including a profitability threshold. ### 2. Batch and trace blocks The state manager updates the state representation. The tracer generates the execution traces for those blocks. The coordinator then groups the blocks into batches. That grouping is conflation. ### 3. Generate validity proofs The prover generates execution proofs for the batches. The coordinator combines those batches into blobs, and the prover generates compression proofs. ### 4. Submit for data availability and finalization The coordinator submits the data and the proofs to the finalization layer. The finalization contract validates the proofs and records the state roots. After verification and any configured delay, transactions reach settlement finality on the selected finalization layer. [Data availability](../../stack/deployment/data-availability.mdx) is the guarantee that the transaction data underlying these proofs remains accessible to the parties who need it to verify or reconstruct historical state. How data availability is provided depends on the [deployment model](../../stack/evaluate/deployment-models.mdx): - For a rollup, the coordinator submits compressed transaction data to the finalization layer as EIP-4844 blobs. The rollup must support the `IAcceptEip4844Blobs` interface. - For a validium, submission is shnarf-only. Only proofs and state commitments are posted to the finalization layer. The validium must support the `IAcceptShnarfData` interface. The network may rely on another blockchain or a third-party service, or operators may run nodes specifically for data availability. Read more about [Data commitments (shnarfs)](smart-contracts.mdx#data-commitments-shnarfs). ## Components overview Lineth includes several classes of components, each of which serve part of the transaction lifecycle: - [**Nodes**](./nodes/index.mdx) accept transactions over JSON-RPC and produce or import blocks. A fully public network provides externally reachable nodes. In other [deployment types](../../stack/evaluate/deployment-models.mdx), node services may be configured to be private or semi-private. - **Internal protocol services** stay inside the operator's trusted network boundary. - The [**sequencer**](./sequencer/index.mdx) orders transactions and builds blocks according to Lineth rules. - The [**state manager**](./state-manager.mdx) maintains a state representation optimized for proof generation and recovery. - The [**tracer**](./sequencer/tracer.mdx) generates execution traces required for proof generation. - The [**coordinator**](./coordinator/index.mdx) orchestrates batching, proof generation, and submission to the finalization layer. - The [**prover**](./prover/index.mdx) generates zk-SNARK proofs for state transitions. - The [**canonical bridge**](./bridge/index.mdx) moves messages and tokens between the network and the finalization layer. An optional offchain relay, the **Postman**, can deliver these messages automatically. Anyone can still submit the claim that executes a message. - [**Smart contracts**](./smart-contracts.mdx) execute small programs according to EVM rules. For example, the finalization contract verifies proofs and records state roots on the finalization layer. :::note With further decentralization efforts, components such as the sequencer may be redesigned to be configurable as an external P2P service. ::: **Auxiliary services** sit off the submission-to-finalization path: - The **block explorer** is an optional operator-facing service for inspection, troubleshooting, and auditing. Linea Mainnet uses [Blockscout](https://github.com/blockscout/blockscout), an open-source, self-hosted explorer that indexes blocks, transactions, logs, and token data from execution nodes over JSON-RPC or WebSocket. It takes no part in consensus, execution, or finalization, and it can be replaced or omitted without affecting correctness or liveness. - [**Web3Signer**](https://docs.web3signer.consensys.com/) is an open-source remote signing service. Consensus and execution clients request signatures for blocks, attestations, and transactions over HTTP, while private keys stay in an enterprise-grade key store. Signing is access-controlled and auditable, which simplifies key revocation and rotation. See [Key management](../../stack/deployment/key-management.mdx) for how Lineth signer roles use Web3Signer and other custody options.