Currently, it has raised $49.6 million in funding, which can be said to have a 'promising future'. With such a good project, it is natural that some are getting involved, and the deployment cost has now reached 500 RMB. In fact, deploying is very simple; just follow the steps below, and even beginners can get started.

图像

What is Gensyn?

The Gensyn protocol is a Layer-1 trustless protocol for deep learning computation that directly and instantly rewards supply-side participants, allowing them to contribute computing time to the network and perform machine learning tasks.

Currently, it has raised $49.6 million in funding, which can be said to have a 'promising future'.

图像

The deployment tutorial is as follows:

I. VPS configuration

1. Deploy the node, there are two options:

  • Deploy on your own device

  • Deploy using VPS

Here we choose VPS, common configurations for running nodes are:

  • 16G RAM

  • 4-Core CPU

  • 140G SSD

  • Public IP

  • Ubuntu 22.04

Many people ask me for VPS recommendations; VPS is fine, but I really can't recommend any VPNs.

The VPS I use is Byteplu, which has many cloud servers to choose from, with the cheapest being only 2U/month.

Byteplu link: https://bp.byteplus.pro/#/login?type=register&invitation=418356

图像

2. Use SSH tools to connect to the VPS

SSH Tool: Beginner users are advised to use Xshell or Finalshell (tutorial below)

II. How to connect to the VPS

1. Download an application (this tutorial uses putty as an example; beginner users are advised to use Xshell or Finalshell)

2. Copy the cloud server IP link

图像

3. Click 'Accept' and enter the username and password for the cloud server

Note: To paste any command you have copied, simply right-click to paste the command.

图像图像

4. Enter the password again and input a new password

图像

The above are the steps for the cloud server + SSH combination, all subsequent steps are carried out in the SSH tool (beginner users are advised to use Xshell or Finalshell)

III. Specific deployment steps for Gensyn

  • Open the terminal and input the following command (if there is an error, delete the spaces yourself)

sudo apt install -y python3 python3-venv python3-pip curl screen git yarn

图像

  • Then input

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

图像

  • Continue

echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

图像

  • Continue

sudo apt update && sudo apt install -y yarn

图像

  • Just go with the flow

curl -sSL https://raw.githubusercontent.com/zunxbt/installation/main/node.sh | bash

图像

  • Clone

rm -rf rl-swarm && git clone https://github.com/zunxbt/rl-swarm.git && cd rl-swarm

图像

screen -S gensyn

python3 -m venv .venv && source .venv/bin/activate && ./run_rl_swarm.sh

图像

  • Use CTRL+A+D to exit the screen session

  • Continue to input the following command

wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz && tar -xvzf ngrok-v3-stable-linux-amd64.tgz && sudo mv ngrok /usr/local/bin/

图像

  • Log in to https://ngrok.com/ and register

  • After registration, switch to Authtoken

图像

  • Click on Authtoken and copy the command

图像

Enter the copied code into the server, then input the following command:

screen -S ngrok

ngrok http 3000

  • Click on the following URL with the ngrok domain

图像

  • Register using your email

图像

Use CTRL+A+D to exit the ngrok screen session

  • Reconnect your gensyn screen

screen -r gensyn

图像

This will automatically retrieve and save the following identity files to your local backup folder:

  • swarm.pem: your node's unique identity

  • userApiKey.json: your API authentication key

  • userData.json: your user credentials

That's all for today

Each project can operate multiple accounts, currently, I use the multi-account tool -- MoreLogin fingerprint browser, which I've been using for almost a year, and its security is fine.

You can use the cloud phone feature inside, new users can register using the link below:

  • New users can create 50 environments for free

  • Use the discount code: jiamigou for a (20% discount)

https://www.morelogin.com/?from=AANvwSB8onX4