How Nexus Works
Last updated
Last updated
Nexus combines Solana’s speed and Ethereum’s security to deliver fast, secure transaction sequencing for Ethereum rollups. It ensures reliable, guaranteed execution for a seamless blockchain experience.
Nexus seamlessly integrates Solana’s speed with Ethereum’s security to create a reliable and efficient transaction sequencing system. Here’s how it functions:
Users Submit Transactions to OP Geth
Users start the process by submitting their transactions to the OP Geth client, which serves as the entry point to Rome. OP Geth is essentially an Ethereum client that has been tailored for integration with the Rome system.
Rhea Picks up Transactions from OP Geth Mempool
Rhea facilitates the fair sequencing of transactions. It retrieves transactions from the OP Geth mempool, ensuring they are processed on a first-come, first-served basis. This fairness in transaction handling is crucial for maintaining the integrity and impartiality of the system.
Rhea Submits Transactions to Solana
Rhea submits transactions to the Solana blockchain for sequencing. Solana's high-throughput capabilities allow for fast processing and execution of these transactions. The immutability of transaction ordering is ensured after execution on Solana.
Hercules Receives Blocks from Solana
Hercules receives the ordered transaction blocks from Solana. As a component focused on the final confirmation, Hercules plays a critical role in ensuring that the transactions are not only processed but also finalized as well as reflected on the L1.
Hercules Reads Current L2 State from Ethereum Smart Contract
Hercules interacts with an Ethereum Smart Contract to read the current Layer 2 state, which is necessary for updating and verifying the consistency of the transaction states across different layers of the blockchain infrastructure.
Hercules Parses Solana Blocks, Calculates New L2 State, and Submits Transactions to Interstate
Once it receives the transaction blocks from Solana, Hercules parses these blocks and calculates the new Layer 2 state. It then submits these transactions along with the state updates to the Interstate system, which is designed to handle the inclusion of these transactions in the Ethereum blockchain and provides preconfirmations.
Interstate Ensures that Transactions are Included in Ethereum Blocks
The Interstate component finalizes the process by ensuring that all transactions and their respective state updates are included in Ethereum blocks. This step is crucial for maintaining the integrity and continuity of the blockchain's state across different platforms.
Ethereum Smart Contract Details
This contract maintains crucial details such as account balances for each Layer 2, the transactions state root for each Layer 2, and the transactions state root for the shared sequencer. These details are vital for ensuring that the state across the blockchain layers remains synchronized and verifiable.