First, ensure your system is equipped with the necessary dependencies:
You can install these dependencies using your system's package manager:
# For Ubuntu
sudo apt-get update
sudo apt-get install -y nodejs npm git docker.io
Next, clone the official Tea.xyz validator repository from GitHub:
git clone <https://github.com/tea-xyz/validator-node.git>
cd validator-node
Create and configure your node settings by copying the example configuration:
cp .env.example .env
Edit the .env
file to match your desired configuration. Pay special attention to parameters such as NODE_NAME
, TEA_NETWORK
, and VALIDATOR_KEY
.
Before running the node, initialize it by pulling the necessary Docker images and setting up the environment:
docker-compose pull
docker-compose up -d
To start the node, run the following command: