Docker Method
This guide is quoted from https://docs.aldebaranode.xyz/guide/testnet/cortensor/installation
All rights reserved to Aldebaranode
Prerequisites
Ensure that you meet the hardware requirements to run the Cortensor network. For detailed information, you can visit the official website.
Step 1 - Install Docker
Run the following command to uninstall all conflicting packages:
Set up Docker’s apt repository.
Install the Docker packages.
Step 2 - Clone Installer Repository
Install Git to clone the installer repository.
Step 3 - Config Docker Compose
Run the build.sh script. The script will do the following:
Build the Dockerfile for the Cortensor image
Generate the docker-compose.yaml file for you to adjust your total nodes
After the docker-compose.yaml is generated, you need to modify the environment variables for the cortensor section:
RPC_URL: Your ARB Sepolia RPC URL, which you can obtain by running your own node or using a service provider like Ankr, Alchemy, or Infura.
PUBLIC_KEY: The EVM address of your miner node.
PRIVATE_KEY: The EVM private key of your miner node.
Step 4 - Run the Nodes
Ensure that the working directory is within the installer folder.
Run your nodes using this command
Run this command to check all the container logs
Run this command to stop the nodes
Run this command to delete all nodes
Last updated
Was this helpful?