Subspace testnet Gemini 3d node set up guide

Crouton Digital
4 min readApr 26, 2023

--

Subspace Network allows developers to launch Web3 applications at Internet scale. It provides a simple interface for quickly deploying decentralized applications with multiple chains that automatically scale as needed. Subspace runs on a new, environmentally friendly 4th-generation blockchain that provides scalable storage and computing in the network without compromising security or decentralization. It easily integrates with existing blockchains, second-layer protocols, and decentralized applications, allowing it to serve as the foundational level of infrastructure for the entire Web3 ecosystem. Subspace will enable developers to unlock the next wave of cryptography adoption, supporting NFTs, GameFi, and the Metaverse at Internet scale.

The project offers a non-standard consensus system, specifically Proof-of-Archive-Storage (POAS).

Investors: Pantera Capital, Coinbase Ventures, Crypto.com, Alameda Research, ConsenSys Mesh.

Discord
Twitter
Website
Explorer
Telemetry

Server requirements:

CPU: 2 
RAM: 2GB
SSD/NVME: 150GB

Server preparation:

# Distribution update
sudo apt-get update && sudo apt-get upgrade -y
# Installing required packages
sudo apt-get install wget jq ocl-icd-opencl-dev \
libopencl-clang-dev libgomp1 ocl-icd-libopencl1 -y

Node install:


# Determine latest release
TAG=$(wget -qO- https://api.github.com/repos/subspace/subspace-cli/releases | jq '.[] | select(.prerelease==false) | select(.draft==false) | .html_url' | grep -Eo "v[0-9]*.[0-9]*.[0-9]*" | head -n 1) && echo "Cli version: $TAG"

release

# Download Cli
wget https://github.com/subspace/subspace-cli/releases/download/$TAG-alpha/subspace-cli-ubuntu-x86_64-v3-$TAG-alpha -qO subspace && \
sudo chmod 777 subspace && \
sudo mv subspace /usr/local/bin/ && \
echo "Cli version: $(subspace -V)"

Wallet preparation:

Installing wallet: follow the link and install the Polkadot extension for your browser

Metadata update: to add the Subspace Gemini 3d network to your wallet, follow the link and update the metadata

The wallet is already added in the extension: simply select the new "Subspace Gemini 3d" network for your wallet and proceed to the next step

Restore wallet from past testnets:

Create a new wallet:

Farmer setup:

# Farmer initialization
subspace init
  • Enter your farmer/reward address: enter the wallet from the previous step
  • Enter your node name: unique name for telemetry search
  • Plot location: leave by default (press enter)
  • Plot size: 50GB
  • Chain to farm: leave by default (press enter)
# Create service file
sudo tee <<EOF >/dev/null /etc/systemd/system/subspaced.service
[Unit]
Description=Subspace farmer
After=network.target
[Service]
Type=simple
User=$USER
ExecStart=$(which subspace) farm -v
Restart=always
RestartSec=3
LimitNOFILE=1024000
[Install]
WantedBy=multi-user.target
EOF
# Service start
sudo systemctl daemon-reload && \
sudo systemctl enable subspaced && \
sudo systemctl start subspaced
# Check logs
sudo journalctl -fu subspaced -o cat

Example of normal logs:

Make sure your farmer is visible in telemetry:

  • Go to telemetry
  • Start typing your node name. You can see the node synchronization status and the actual height of the blocks

Once fully synced, your wallet balance should receive farming rewards:

Go to your wallet

Node update:

# Reset database
subspace wipe

Repeat steps: Node install

# Service restart
sudo systemctl restart subspaced
# Check logs
sudo journalctl -fu subspaced -o cat

Delete node:

# Stop service
sudo systemctl stop subspaced && \
sudo systemctl disable subspaced
# Delete node files
rm -Rvf $HOME/.local/share/subspace* \
$HOME/.config/subspace* \
/usr/local/bin/subspace
# Disabling and deleting a service
sudo rm -v /etc/systemd/system/subspaced.service && \
sudo systemctl daemon-reload

If you have any question join our Telegram group , where we post Daily news and analytics

https://t.me/CroutonDigital
https://twitter.com/CroutonDigital

--

--

Crouton Digital

Smart crypto investments, wealth management, advisory and non-custodial staking services. Contact info: https://t.me/CroutonDigital croutondigital@aol.com