Rome Docs
  • Getting Started
  • Overview of Rome
    • Rome Scales Bitcoin
      • How Rome Scales Bitcoin
    • Rome Scales Ethereum
      • How Rome Scales Ethereum
    • Rome Scales Rollups
      • How Rome Scales Rollups
    • Rome Provides Interop with Cosmos
      • How Rome Provides Interop with Cosmos
  • Nexus: Rome's Based Sequencer
    • How Nexus Works
    • Transaction Flow
  • Rome Interop
    • Rome SDK
    • Rome SDK Setup
      • Prepare Environment
      • Set Configuration
      • Run Rhea Example
      • Run Remus Example
      • Run Romulus Example
    • Remus: Cross-Rollup Atomicity
    • Romulus: Cross-Chain Atomicity
  • L2 EVM Setup
    • Prepare Config
    • Download Repos
    • Register your L2
    • Initialize your L2
    • Setup OP Geth Node
    • Run Block Explorer
    • Airdrop & Metamask
    • Check L2 State
    • Simple Transfers
    • Uniswap
    • Run on Remote Server
      • Setup AWS Server
      • Setup Certificate
  • Rome EVM
    • How to use Rome EVM
    • RPC Information
    • Tutorial to deploy a smart contract on Rome EVM
  • Shared Sequencer
    • Atomicity
    • Rome Transactions
    • Rhea
    • Hercules
    • Data Availability
    • Settlement
Powered by GitBook
On this page
  • Depositing Funds
  • L2 Transaction Submission
  • Solana Sequencing
  • Monitoring Ethereum Finality
  • Posting tx batches to Ethereum via Interstate preconfirmation
  • State commit to Ethereum via Interstate preconfirmation
  • Withdrawal Flow

Was this helpful?

  1. Nexus: Rome's Based Sequencer

Transaction Flow

PreviousHow Nexus WorksNextRome Interop

Last updated 3 months ago

Was this helpful?

The following outlines the end-to-end transaction process within Nexus

Depositing Funds

  1. User submits a deposit transaction to Ethereum to bridge ETH to L2.

  2. op-node reads the finalized deposit transaction from Ethereum and executes it on the L2 Rome EVM contract to make ETH available to the user.

L2 Transaction Submission

  1. User submits L2 transaction to op-geth.

  2. Rhea reads L2 transactions from op-geth mempool.

  3. Rhea submits L2 transactions to Solana for sequencing.

Solana Sequencing

  1. Hercules reads Solana blocks relevant to the Rome EVM contract.

  2. Hercules parses L2 blocks from Solana blocks and stores them into Postgres.

  3. op-node queries Hercules for L2 sequencer batches and appends them to op- geth.

Monitoring Ethereum Finality

  1. op-node reads finalized Ethereum blocks.

  2. op-node confirms L2 blocks based on finalized Ethereum blocks, marking them first as safe and then as finalized.

Posting tx batches to Ethereum via Interstate preconfirmation

  1. op-batcher periodically gets sync status from op-node.

  2. op-batcher gets unsafe L2 blocks from op-geth.

  3. op-batcher writes these L2 sequencer batches to Ethereum Batch Inbox address. Submits tx to Interstate for preconfirmation.

State commit to Ethereum via Interstate preconfirmation

  1. op-proposer periodically queries op-node for output root. op-node in turn queries op-geth for state root.

  2. op-proposer posts output root to the Ethereum L2OutputOracle contract. Submits transaction to Interstate for preconfirmation.

Withdrawal Flow