Integrating Arbitrum Orbit Chain
Arbitrum integration with Espresso
Last updated
Arbitrum integration with Espresso
Last updated
Espresso has developed an integration with the Arbitrum Nitro tech stack that allows Arbitrum Orbit chains to easily integrate with Espresso. The first version of this integration enables Espresso confirmations for Orbit chains. The integration will later be updated with functionality to enable enhanced cross-chain interoperability, new forms of sequencing (i.e., decentralized/shared sequencing), and support for Espresso DA.
The first production release of the Espresso-Arbitrum Nitro integration is planned for January 2025, at which point Arbitrum Orbit chains will simply be able to download a Docker image that allows them to deploy onto Espresso (or ask their RaaS provider to do so on their behalf).
If you just want to see the steps for getting up and running, you can skip to the guide.
This integration makes minimal changes to the Arbitrum Nitro stack, and ensures that each batch processed by the rollup is consistent with HotShot-finalized blocks within its namespace.
To ensure that the batch has been finalized by HotShot, the following checks are performed:
Namespace validation: Ensure that the set of transactions in a rollup's batch corresponds to the correct namespace. Namespacing allows multiple chains to use Espresso’s fast confirmation layer simultaneously by associating each chain’s transactions with a unique namespace within HotShot blocks.
Espresso block Merkle proof check: Confirm that the rollup's batch maps to a valid HotShot block. Specifically, verify that the HotShot block associated with a rollup batch is a valid leaf in the Merkle tree maintained by the light client contract, which stores the state of HotShot on L1.
The sequencer calls WriteSequencerMsg
on the transaction streamer.
The batcher fetches the message from the transaction streamer and submits the transaction to HotShot via the transaction streamer.
The batcher then calls the query API to check if the transaction has been finalized by HotShot.
Once the transaction is finalized, the batcher performs batch consistency checks.
The batcher signs the transaction calldata that would be sent to the Sequencer Inbox
contract.
The Sequencer Inbox
contract is modified to verify the batcher’s signature.
This approach involves running a Nitro node with only the batcher enabled, operating in a TEE environment (such as Intel SGX). The batcher will sign the transaction calldata. In case the TEE is broken, the batch poster can't impact the safety of the Orbit chain. It could, however, temporarily halt the chain's progress, thereby breaking liveness. Bridges relying on Espresso confirmations for faster settlement need to trust the TEE as well in this integration. In a future update, the dependency on TEEs will be removed entirely.