2023 Ubuntu Linux Spacemesh Node
In this video I go over how to get a Spacemesh Node running in Linux Ubuntu 22.04.2 LTS
go download:
https://go.dev/dl/
go spacemesh releases:
https://github.com/spacemeshos/go-spacemesh/releases
go spacemesh mainnet config:
https://configs.spacemesh.network/config.mainnet.json
Install GO & grpcurl
# Go Install
wget https://go.dev/dl/go1.21.0.linux-amd64.tar.gz
# Verify – Use the latest check some below
echo “d0398903a16ba2232b389fb31032ddf57cac34efda306a0eebac34f0965a0742 *go1.21.0.linux-amd64.tar.gz” | shasum -a 256 –check
# Extract the files
tar -xf go1.21.0.linux-amd64.tar.gz
# Remove previous installation
sudo rm -rf /usr/local/go
# Set file ownership to root
sudo chown -R root:root ./go
# Move files
sudo mv -v go /usr/local
# Update Profile
nano ~/.profile
# Add
——————
# Go Lang Path
export GOPATH=$HOME/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
——————
# Activate Profile
source ~/.profile
# Install grpcurl
go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest
# Test
go version
grpcurl -help
Install go-spacemesh
# Install Dependencies
sudo apt install unzip tmux libpocl2
# Make Directory
mkdir go-spacemesh
# Move to Directory
cd go-spacemesh
# Download
# https://github.com/spacemeshos/go-spacemesh/releases
wget https://storage.googleapis.com/go-spacemesh-release-builds/v1.0.11/Linux.zip
# Unzip
unzip Linux.zip
# Move and Delete Directory
mv Linux/* ./ && cd .. && rm -r Linux/ Linux.zip
# Create Node Instance + Download Config
mkdir smesherX
cd smesherX
# Download Configs
wget https://configs.spacemesh.network/config.mainnet.json
# Start Node
~/go-spacemesh/go-spacemesh –listen /ip4/0.0.0.0/tcp/7513 –config ./config.mainnet.json -d ./sm_data –smeshing-opts-datadir ./post
# Run Node and then Run
grpcurl –plaintext -d “{}” localhost:9092 spacemesh.v1.ActivationService.Highest
If this video helped you consider giving your wallet a test run by sending some SMH and contributing to more videos!
Wallet Address: sm1qqqqqqxgw2e4qw9q9gzyqmqu92u9t5p22k9p7rg82v9n4