Prerequisites

Before you start, ensure that your system meets the following minimum requirements:

For optimal performance, Kroma recommends:

Step 1: Clone the Repository

First, clone the Kroma repository from GitHub:

git clone <https://github.com/kroma-network/kroma.git>
cd kroma

Step 2: Install Dependencies

Make sure to have Docker and Docker Compose installed on your system, as the setup uses Docker containers. You can install them using:

# For Docker
curl -fsSL <https://get.docker.com> -o get-docker.sh
sh get-docker.sh

# For Docker Compose
sudo apt-get install docker-compose

Step 3: Configure the Environment

Kroma uses multiple components for validator nodes, including kroma-geth, kroma-node, kroma-validator, and kroma-prover. Configure the .env file with your node details:

cp .env.example .env