Running a Local Subspace Chain
This guide explains how to set up and run a local Subspace blockchain node, noting that its storage may differ slightly from the mainnet.
Steps
-
Clone the Repository
First, clone the Subspace blockchain node repository:
-
Build the Project
Compile the project using Cargo:
Optional: If you want to include the testnet faucet, use:
-
Run the Node
Start your local node:
You can also run a second node with:
-
Connect to Your Node
Once the node is running, you can connect to it at:
ws://localhost:9951
Additional Information
- The
--alice
and--bob
flags are used to run predefined validator nodes. - You can customize your node’s configuration by modifying the appropriate files in the project.