# ETH L2 Rollup

{% hint style="warning" %} <mark style="background-color:red;">**Warning: This document is still being upgraded to the latest version. Please Don't use it until this message is removed!**</mark>
{% endhint %}

As an L2 mode, Arcology serves as a parallel execution layer to scale Ethereum. Arcology uses Optimism interchain bridge to communicate with Ethereum. The Ethereum docker image contains a standard Ethereum release that needs to be started first before starting the L2

{% hint style="info" %}
Please replace the IP addresses in the document with of your **host machine IP**<mark style="color:red;">.</mark>
{% endhint %}

#### **1. Start Ethereum L1**

```sh
docker run -itd --name l1 -p 7545:7545 arcologynetwork/ethereum
```

#### **2. Start Archology L2 Rollup**

{% hint style="warning" %} <mark style="color:orange;">The entire setup process for the L2 may</mark> **take 10 to 20 minutes** <mark style="color:orange;">to complete. Please be patient.</mark>
{% endhint %}

```sh
docker run -itd --name l2 -p 8545:8545 arcologynetwork/devnet -f http://192.168.1.4:7545 -s http://192.168.1.4:8545 -r false -m false
```

#### **3. Installation Progress**&#x20;

In case you want check out the real-time updates on the L2 installation:

```sh
 sudo docker attach l2
```

Once completed, you can expect to see the following output:

```sh
Ok
Sync Smart Contract Info From L1 ...                                                                Ok

[ Start L2 Node ]***************************************************************************************************************************************************
Start kafka ...                                                                                     OK
Create topics for  kafka ...                                                                        OK
Create path for  zookeeper ...                                                                      OK
Start Arcology ...                                                                                  OK

[ Start OP Bridge ]*************************************************************************************************************************************************
Starting OpNode ...                                                                                 OK
Starting opBatcher ...                                                                              OK
Starting opProposer ...                                                                             OK

[ System Started ]**************************************************************************************************************************************************
Refer to the log file( /devnet/log/2024-05-28-23_40_03_config,/devnet/log/2024-05-28-23_40_03_arcology,/devnet/log/2024-05-28-23_40_03_opNode,/devnet/log/2024-05-28-23_40_03_opBatcher,/devnet/log/2024-05-28-23_40_03_opProposer ) for details
```

***

### Connectivity

Once the setup is complete, you need to [check the connectivity](https://doc.arcology.network/network/getting-started/verify-connection) to ensure the network is running properly.

***

### Check L1 & L2 Interaction

Please refer to [this document ](https://github.com/arcology-network/devnet/blob/main/op/sdk/README.md)to check if the L1 and L2 are connected properly.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.arcology.network/network/networks/eth-l2-rollup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
