Installation & Setup

Placeholder Content for Under Development Pages

This section is currently under development, and we are working hard to finalize the details. The full installation and setup guide will be shared during the alpha phase. For more details, please refer to our Technical Roadmap outlining the development milestones.

Stay tuned for more information!


DRAFT

NOTE: We are currently in the closed alpha phase for precursor miner testing. To set up and run the process below, you’ll need test ETH on Arbitrum Sepolia for your miner’s address. After generating the key from cortensord, you can obtain test ETH from a public faucet or contact us, and we’ll send some test ETH on Arbitrum Sepolia.

Installation & Setup

Download Installer

Please visit https://discord.gg/cortensor for initial binary distribution.

NOTE: Below download method does not work yet, please use github clone instead.

$ curl https://$URL/cortensor-installer-latest.tar.gz -o cortensor-installer-latest.tar.gz
$ tar xzfv cortensor-installer-latest.tar.gz
$ cd installer

Clone Installer

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

Install - Docker, IPFS & Cortensord

$ cd installer

# Install Docker
$ ./install-docker.sh

# Install IPFS
$ ./install-ipfs.sh

# Install Cortensord
$ ./install.sh

# Logoff or start another shell

# Verify installation
$ ls -al /usr/local/bin/cortensord
$ ls -al /etc/systemd/system/cortensord.service
$ docker version
$ ipfs version

Setup - Your address needs to be whitelisted in advance by Cortensor Admin

# switch account to 'deploy' which was created from #2 install step
$ sudo su deploy
$ cd ~/

# Geenerate Key for the ndoe
$ /usr/local/bin/cortensord ~/.cortensor/.env tool gen_key

# Please contact Cortensor support or mod to whitelist your address
$ /usr/local/bin/cortensord ~/.cortensor/.env tool register
$ /usr/local/bin/cortensord ~/.cortensor/.env tool verify

Start & Stop through SystemD

$ sudo systemctl start cortensord
$ sudo systemctl stop cortensord

Start MinerV1 Manually (With LLM engine docker)

$ cd ~/.cortensor && /usr/local/bin/cortensord ~/.cortensor/.env minerv1 1 docker

Start MinerV1 Manually (With LLM engine as subprocess)

$ cd ~/.cortensor && /usr/local/bin/cortensord ~/.cortensor/.env minerv1

Debugging & Troubleshoot

Check Log

$ ls -alh /var/log/cortensord.log
$ tail -f /var/log/cortensord.log

Check Node Address & ID

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

Check NodeStats

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

Disclaimer: This page and the associated documents are currently a work in progress. The information provided may not be up to date and is subject to change at any time.

Last updated