This guide explains how to set up and run a local Subspace blockchain node, noting that its storage may differ slightly from the mainnet.
First, clone the Subspace blockchain node repository:
git clone https://github.com/commune-ai/subspace cd subspace
Compile the project using Cargo:
cargo build --release
Optional: If you want to include the testnet faucet, use:
cargo build --release --features testnet-faucet
Start your local node:
cargo xtask run --alice
You can also run a second node with:
cargo xtask run --bob
Once the node is running, you can connect to it at:
ws://localhost:9951
--alice
and --bob
flags are used to run predefined validator nodes.