Validium Docs
  • Overview
  • Connect to Validium
  • Start Coding 🚀
    • Quickstart
      • Overview
      • Deploy using Validium CLI
      • Deploy using Quickstart Repository
      • Deploy your first contract
      • Create an ERC20 token
  • Tooling
    • Block Explorers
    • Hardhat-Validium
      • Overview
      • Installation
      • Guides
        • Getting started
        • Migrating Hardhat project to Validium
        • Compiling non-inlinable libraries
      • Plugins
        • hardhat-zksync
        • hardhat-zksync-solc
        • hardhat-zksync-vyper
        • hardhat-zksync-deploy
        • hardhat-zksync-upgradable
        • hardhat-zksync-verify
        • hardhat-zksync-verify-vyper
        • hardhat-zksync-ethers
        • hardhat-zksync-node
        • Hardhat Community Plugins
    • Foundary
      • Overview
      • Installation
      • Getting Started
      • Migration Guide
        • Overview
        • Compilation
        • Deployment
        • Testing
  • Test and Debug
    • Getting Started
    • Docker L1 - L2 Nodes
    • In-Memory Node
    • Continuous Integration
    • Hardhat
    • Foundry
  • API Reference
    • Overview
    • Conventions
    • ZKs JSON-RPC API
    • Debug JSON-RPC API
    • Ethereum JSON-RPC API
    • PubSub JSON-RPC API
  • Concepts
    • Transaction Lifecycle
    • Blocks and Batches
    • Validium Network Fee Mechanism
    • Finality
    • System Upgrades
    • ZK Chains
    • Data Availability
      • Overview
      • Recreating L2 state from L1 pubdata
      • Validiums
    • Account Abstraction
    • L1 <-> L2 Communication
  • Components
    • Overview
    • Smart & System Contracts
      • Smart Contracts
      • System Contracts
    • Shared Bridges
    • Sequencer / Server
    • Validium Network EVM
      • Overview
      • Bootloader
      • Precompiles
      • Virtual Machine Specification
        • ZKsync Virtual Machine primer
        • VM Formal Specification
    • Prover
      • Overview
      • ZK Terminology
      • Running the Prover
      • Circuits
        • Overview
        • Circuit Testing
        • CodeDecommitter
        • DemuxLogQueue
        • ECRecover
        • KeccakRoundFunction
        • L1MessagesHasher
        • LogSorter
        • Main VM
        • RAMPermutation
        • Sha256RoundFunction
        • StorageApplication
        • Sorting and Deduplicating
          • Overview
          • SortDecommitments
          • StorageSorter
          • LogSorter
      • Boojum Gadgets
      • Boojum Function - `check_if_satisfied`
    • Compiler
      • Compiler Toolchain Overview
        • Compiler Toolchain Overview
        • Solidity Compiler
        • Vyper Compiler
        • LLVM Framework
      • Specification
        • Overview
        • Code Separation
        • System Contracts
        • Exception Handling
        • EVM Legacy Assembly Translator
        • Instructions
          • Instruction Reference
          • EVM
            • Native EVM Instructions
            • Arithmetic
            • Bitwise
            • Block
            • Call
            • Create
            • Environment
            • Logging
            • Logical
            • Memory
            • Return
            • Sha3
            • Stack
          • Extensions
            • Overview
            • Validium Network Extension Simulation (call)
            • Validium Network Extension Simulation (verbatim)
          • EVM Legacy Assembly
          • Yul
        • EraVM Binary Layout
    • Fee Withdrawer
    • Portal - Wallet + Bridge
    • Block Explorer
    • Transaction filtering
Powered by GitBook
On this page
  • RPC services
  • ETH operator
  • Sequencer
  • Contract verification API
  1. Components

Sequencer / Server

Overview of the Validium Network Sequencer, detailing its components and functionalities for monitoring and maintaining L1 and L2 operations.

PreviousShared BridgesNextValidium Network EVM

Last updated 7 months ago


The Validium Network Sequencer is a complex system composed of several services and modules that work together to monitor Ethereum Layer 1 (L1), maintain Layer 2 (L2) state, and manage the order of incoming transactions. This system is critical for the operation and reliability of the Validium Network protocol.

For more detailed information about each module, visit the .

RPC services

RPC Services serve as the primary user interface for interacting with the Validium Network server. They include:

  • HttpApi: This is the HTTP public Web3 API that allows users to make requests via traditional HTTP methods.

  • WsApi: The WebSocket Web3 API supports real-time interactions and includes PubSub capabilities, enhancing user experience by providing faster, push-based updates.

ETH operator

The ETH Operator module interfaces directly with L1, performing critical observations and transactions:

  • EthWatcher: Monitors L1 for specific events such as deposits and system upgrades, ensuring the Sequencer remains synchronized with Ethereum's mainnet.

  • EthTxAggregator: Responsible for batching multiple L2 transactions and preparing them for L1 submission. This includes crucial operations like committing blocks, proving blocks, and executing blocks.

  • EthTxManager: Handles the signing and dispatch of transactions to L1. This module is also tasked with monitoring the transactions to address issues such as transaction failures or low gas prices by resending transactions as necessary.

Sequencer

The Sequencer module processes incoming transactions on Validium Network, organizes them into blocks, and ensures they comply with the constraints of the proving system. It includes:

  • Tree and TreeBackup: These components maintain a local instance of RocksDB that stores the complete L2 storage tree, continuously updating to reflect the latest state root hash.

  • StateKeeper: Executes transactions and securely stores sealed blocks in the local RocksDB database, ensuring data integrity and state continuity.

Contract verification API

This service handles requests for smart contract verification. It validates contracts, ensures they meet specific standards, and provides the necessary code and ABIs for verified contracts, fostering transparency and trust within the ecosystem.

ZKsync Era GitHub repository