POS Node Set Up

Hyperspace Mainnet

Hyperspace Mainnet Node - Stage 1 - PoS Consensus Mode
First, clone our GitHub:
1
git clone https://github.com/mvs-org/Hyperspace
Copied!

Setting up environment

Install Substrate pre-requisites (including Rust):
For Unix-based operating systems, run the following commands:
1
curl https://sh.rustup.rs -sSf | sh
2
source ~/.cargo/env
3
4
rustup default nightly
5
rustup target add wasm32-unknown-unknown
Copied!
You will also need to install the following packages:
Linux:
1
sudo apt install cmake pkg-config libssl-dev git clang libclang-dev
Copied!
Linux on ARM: rust-lld is required for linking wasm, but is missing on non-Tier 1 platforms. So, use this script to build lld and create the symlink /usr/bin/rust-lld to the build binary.
Mac:
1
brew install cmake pkg-config openssl git llvm
Copied!

Build the corresponding binary file

1
cd Hyperspace
2
cargo build --release
Copied!
The first build takes a long time because all necessary libraries need to be compiled.

To start the node you just compiled

1
./target/release/hyperspace --chain=hyperspace.json --name MyNode1
Copied!
Last modified 7mo ago