Step 1: Prepare Your Server

Ensure your server meets the following requirements:

Update and install the necessary dependencies:

sudo apt update && sudo apt upgrade -y
sudo apt install -y build-essential curl git docker.io docker-compose

Check Docker installation:

docker --version

If Docker is not running, start it:

sudo systemctl start docker
sudo systemctl enable docker


Step 2: Clone the Scroll Node Repository

Clone the official Scroll repository:

git clone <https://github.com/scroll-tech/zkevm-node.git>
cd zkevm-node


Step 3: Configure Environment Variables

Create a .env file in the root directory: