Arbitrum Nitro Integration
Overview
What’s Arbitrum?
Arbitrum benefits Ethereum L2 by providing a suite of solutions to rollup data and extend the scalability. Due to the rollup nature, it also offers cheap gas without compromising the trustlessness. Furthermore, it supports the same set of EVM-executable smart contracts and transactions in the Ethereum format, enabling interoperability and a rich set of applications.
Who’s Nitro?
Nitro is a timely and significant update to the classical Arbitrum protocols. Compared with classical ones, to reduce gas fees, it further compresses transactions by calldata compression and separating fault proving from execution. Also, it improves interoperability via gas compatibility and tighter synchronizations with L1. Finally, a strong security guarantee is provided by the newest techniques like safe retryables and Geth tracing.
In a nutshell, after determining the transaction order and assembling a block, the sequencer(s) batch and compress transaction data and send them to L1 for secure settlement. At the same time, the transactions are executed in another thread and the execution results are settled to L1. In this way, users are allowed to securely and efficiently obtain the transaction data with execution results and the security and data availability are guaranteed by L1 and rollup proofs.
With Nubit DA
After the integration with Nubit DA, instead of batching and compressing transactions and sending them to the L1 chain, sequencers are allowed to send the transaction data to the Nubit DA. In this way, the expensive gas fee is saved and the storage burden is significantly reduced.
After receiving the transaction data, proof of data inclusion is returned to the sequencer and delivered to the L1 chain via a trustless DA streaming service. Users or light clients could obtain the desired transaction data from the Nubit DA backend. Obtaining the concerned DA proofs from L1 would allow the user to verify the data.
Run the Integration Demo
Docker
Clone
Build
Install essentials:
Configure node
Configure Rust
Configure Go
Install foundry
Make
Exemplary Execution
Check logs
Observably, the data is submitted to Nubit DA for every block generation.
Last updated