Latest release: v0.2.4-beta.0 (Network Id 208)
Release date: October 21st, 2021
TweedleDev is an early Spacemesh 0.2 technical preview release intended for users who are comfortable with using the command line and with terminal applications.
Follow these instructions to join the Spacemesh 0.2 devnet.
- A computer with a modern Intel or AMD x86-64 CPU with at least 2 cores / 4 native threads or an Apple M1 CPU.
- Windows 10 Home or Pro, macOS or Ubuntu 20.04. Other modern Linux distributions should also work.
- 4 GB RAM.
- 100 GiB free disk space (HDD or SSD).
- An always-on, unmetered Internet connection with at least 10 mbps download and 1 mbps upload speed.
- 8 GB RAM.
- An Nvidia GPU and driver with CUDA support (minimum compute compatibility 5.0, maximum compute compatibility 8.6) such as Nvidia driver version R450 or newer.
- A GPU with Vulkan 1.2 support such as a modern AMD GPU, Apple M1 CPU/GPU, or Intel GPU.
- Download the devnet release zip file for your platform
-
Extract the zip file to a directory and navigate to it in terminal
-
Configure downloaded binaries
Set go-spacemesh execution permissions.
chmod u+x go-spacemesh
Enable downloaded binaries execution.
sudo xattr -rd com.apple.quarantine go-spacemesh
sudo xattr -rd com.apple.quarantine lib*
sudo xattr -rd com.apple.quarantine smrepl
- Start a Spacemesh full node
./go-spacemesh -c config.json > log.txt
.\go-spacemesh.exe -c config.json > log.txt
- Start Smrepl
Open another terminal window or tab.
./smrepl
.\smrepl.exe
Proceed to create a wallet and setup smeshing in smrepl.
Use this command from another terminal tab or window to view your full node logs.
tail -f logs.txt
Get-Content logs.txt –Wait
Navigate to your directory you extract the zip release to and enter from a terminal:
export DYLD_LIBRARY_PATH=.:$DYLD_LIBRARY_PATH
chmod +x gpu-setup-test
sudo xattr -rd com.apple.quarantine gpu-setup-test
./gpu-setup-test
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
chmod +x gpu-setup-test
./gpu-setup-test
.\gpu-setup-test.exe
You can join the devnet by building this release binaries from source code from our public github repos instead of using our provided binaries.
-
Clone and build go-spacemesh from this tag
-
Clone and build smrepl from this tag
-
Clone and build gpu-post from this tag
-
Copy the gpu-post artifacts for your platform to your go-spacemesh directory.
-
Run the full node with this devnet config file
Q: My node stopped syncing. I waited a long time but the current layer doesn't advance. What should I do?
A: Stop the node process by pressing ctrl-c
in the terminal window you started the node at. Delete local node data folder ~/spacemesh/<devnet_id>/
and proof of spacetime data from your post directory if you created any, and start it again.
Q: I've setup smeshing via smrepl and I later restarted the node and now it is not smeshing. How can I keep smeshing after a node restart?
A: After setting post in smrepl, you need to modify your node's config file with the smeshing parameters so your node can continue smeshing using these parameters after you restart it.
Q: I'm getting an error when starting the node on Windows about missing C++ runtime. A: Install the latest Visual C++ runtime from Microsoft and try again.