Guide to Installing Cortensor Mining

Join the incentivized testnet and start mining on the decentralized AI network

Ubuntu 22.04 Docker Node Status: Active

Overview

Cortensor aims to democratize AI by leveraging the power of decentralized networks and open-source models. By eliminating the constraints of centralized services, Cortensor provides a scalable and cost-effective solution for AI inference and development.

Key Features

Decentralized AI Inference

Utilize distributed computing power for efficient AI processing.

Open-Source Models

Allow flexible AI applications without restrictions.

Blockchain Integration

Ensure secure and transparent transactions with incentives for participants.

Scalability and Efficiency

Optimize resource usage and reduce operational costs.

VPS Requirements

Component Minimum Recommended
Operating System Ubuntu 20.04+ Ubuntu 22.04+
CPU 6 Cores 8+ Cores
RAM 8GB 16GB+
Storage 500GB SSD/NVMe 1TB SSD/NVMe
Network 10 Mbit/s 100 Mbit/s+

Website & Community:

Part 01: Order and Configure a VPS

To run the node, you need to rent a VPS with the specifications shown in the requirements table above.

We recommend using Contabo due to its affordability and AI mining-friendly features.

  1. Create an account on Contabo
  2. Choose Cloud VPS 6C or Cloud VPS 8C
  3. Configure location, OS, and add-ons as needed
  4. Click "Order and Pay" to complete the purchase
  5. Check your email for VPS details (IP Address and Password)

Part 02: Preparation

1. Staking $COR (Required 2000 $COR per node)

Smart Contract for COR:

0x8e0eef788350f40255d86dfe8d91ec0ad3a4547f

2. Get ETH on ARB Sepolia

3. Set Up Your Own RPC

Part 03: Prerequisite Installation

1. Update System and Install Dependencies

sudo apt update -q && sudo apt upgrade -qy
sudo apt install -qy curl git jq lz4

2. Clone Installer

git clone https://github.com/cortensor/installer
cd installer

3. Install Docker

./install-docker-ubuntu.sh

4. Install IPFS

./install-ipfs-linux.sh

5. Install Cortensor

./install-linux.sh
Note: This process will create a new user named deploy.

6. Copy Installer Folder to Deploy User

cd ~/
cp -Rf ./installer /home/deploy/installer
chown -R deploy.deploy /home/deploy/installer

7. Switch to Deploy User and Verify Installation

sudo su deploy
cd ~/
ls -al /usr/local/bin/cortensord
ls -al $HOME/.cortensor/bin/cortensord
ls -al /etc/systemd/system/cortensor.service
ls -al $HOME/.cortensor/bin/start-cortensor.sh
ls -al $HOME/.cortensor/bin/stop-cortensor.sh
docker version
ipfs version

If no errors are found, the installation is successful.

Part 04: Node Management

  1. Switch to Deploy User
    sudo su deploy
  2. Generate Key
    /usr/local/bin/cortensord ~/.cortensor/.env tool gen_key

    Fill out this form with details HERE

    For Referral - Discord ID use: Suryaone

  3. Register the Node
    /usr/local/bin/cortensord ~/.cortensor/.env tool register
After your Node is approved by the Cortensor team and your data is Valid, follow these steps
  1. Verify the Node
    /usr/local/bin/cortensord ~/.cortensor/.env tool verify
  2. Start the Node
    sudo systemctl start cortensor
  3. Check Node Logs
    tail -f /var/log/cortensord.log

Part 05: Troubleshooting

1. Changing Your Own RPC

sudo su deploy
nano ~/.cortensor/.env

Locate the #RPC section and replace HOST with your own RPC from drpc.org, then save and restart:

sudo systemctl restart cortensor

2. Check Node Address & ID

/usr/local/bin/cortensord ~/.cortensor/.env tool id

3. Check Node Stats

/usr/local/bin/cortensord ~/.cortensor/.env tool stats

Monitoring Node

Upgrade Menu

Use these commands to upgrade your node to different devnets:

Devnet 3

sudo su deploy
cd installer
git pull
./upgrade-linux.sh
./utils/use-devnet3.sh

Devnet 4

sudo su deploy
cd installer
git pull
./upgrade-linux.sh
./utils/use-devnet4.sh
Note: After upgrading, you may need to restart your node services:
sudo systemctl restart cortensor

Congratulations! 🚀

You have successfully installed and managed the Cortensor Mining AI node!