Comment on page
Running a full node
Clone the kroma-up Git repository and navigate to the cloned directory:
> git clone https://github.com/kroma-network/kroma-up.git
> cd kroma-up
Note: Please ensure you are cloning to the latest version of the repository.
Run the following command to generate keys and environment variables required to run a node:
> ./startup.sh mainnet
Step 3 will generate a .env file with default values, and we recommend using the default values unless you have specific needs or preferences. If you do have any specific needs or preferences, configure the .env file according to your requirements.
Here are the environment variables in the .env file:
[Environment variables in .env file]
Note that environment variables whose name starts with KROMA_VALIDATOR are only for running a validator node.
If you have followed the previous steps, you can now start your full node. Ensure that Docker is running, and execute the following command:
> docker compose --profile fullnode up -d
To remove a running full node, you can use the following command:
> docker compose --profile fullnode down -v
We plan to provide a dashboard for monitoring the nodes.