MitchelNode
  • MitchelNode
  • Althea
  • Haqq
  • Kroma
  • BounceBit
  • Babylon
  • Allora
  • Dill
Powered by GitBook
On this page
  • Prerequisites
  • Installation Process
  • Additional Steps
  • Hardware Requirements

Kroma

To install and run a Kroma node, follow these steps:

Prerequisites

Before starting, ensure you have the following:

  1. Docker installed on your system

  2. Git installed

  3. A Sepolia RPC endpoint (you can use public ones like those listed on https://sepolia.dev or services like Alchemy or Infura)

  4. A Beacon API endpoint (e.g., https://ethereum-sepolia-beacon-api.publicnode.com)

Installation Process

Step 1: Clone the Repository

First, clone the kroma-up repository:

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

Step 2: Set Up the Environment

Run the startup script to generate necessary keys and environment variables:

./startup.sh <network>

Replace <network> with the appropriate network name (e.g., sepolia)[1].

Step 3: Configure the Node

Edit the .env file created in the previous step. Ensure the following settings are configured:

KROMA_VALIDATOR__OUTPUT_SUBMITTER_ENABLED=true
KROMA_VALIDATOR__CHALLENGER_ENABLED=true
KROMA_VALIDATOR__PROVER_RPC=${YOUR_KROMA_PROVER_CLIENT_RPC_ADDRESS}

At least one of KROMA_VALIDATOR__OUTPUT_SUBMITTER_ENABLED or KROMA_VALIDATOR__CHALLENGER_ENABLED must be set to true for a validator node[1].

Step 4: Set Up the Prover

Run the following commands to set up the prover:

./setup_prover.sh
docker compose -f docker-compose-<network>.yml --profile prover up -d

Step 5: Start the Validator Node

Start your validator node with the following command:

docker compose -f docker-compose-<network>.yml --profile validator+proxy up -d

Make sure to stop the kroma-prover instance started in Step 4, as the kroma-prover-proxy client will manage it automatically[1].

Additional Steps

Deposit to ValidatorPool

To participate as a validator, you need to deposit ETH. Ensure you have more than 1 ETH on your Sepolia testnet balance, then run:

docker exec kroma-validator kroma-validator deposit --amount 1000000000000000000

This deposits 1 ETH to the ValidatorPool[2].

Monitoring

To check the logs of your node:

cd $HOME/kroma-up/ && docker compose --profile validator logs -f --since 1m

Hardware Requirements

While specific requirements may vary, ensure your system meets the minimum hardware specifications provided in the official documentation

Remember to regularly check for updates and refer to the official Kroma documentation for the most up-to-date information on node operation and maintenance

PreviousHaqqNextBounceBit

Last updated 7 months ago