Kroma
To install and run a Kroma node, follow these steps:
Prerequisites
Before starting, ensure you have the following:
Docker installed on your system
Git installed
A Sepolia RPC endpoint (you can use public ones like those listed on https://sepolia.dev or services like Alchemy or Infura)
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:
Step 2: Set Up the Environment
Run the startup script to generate necessary keys and environment variables:
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:
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:
Step 5: Start the Validator Node
Start your validator node with the following command:
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:
This deposits 1 ETH to the ValidatorPool[2].
Monitoring
To check the logs of your node:
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
Last updated