4.1 Starting Your Node
To start your Spicenet validator node:
Navigate to your Spicenet directory:
cd /path/to/spicenet
Ensure that a Celestia node is running, as Spicenet uses Celestia for data availability. If you haven't started a Celestia node, you can do so with:
make start
This command starts a Celestia node as a container and creates the necessary configurations for your Spicenet node to connect to it.
Start the Spicenet node:
cargo run
When your node starts running, you'll see output similar to the following:
2023-10-02T15:30:10.123Z INFO sov_rollup::runner] Starting Spicenet node...
2023-10-02T15:30:10.234Z INFO sov_rollup::runner] Connecting to DA layer...
2023-10-02T15:30:10.345Z INFO sov_rollup::runner] Successfully connected to DA layer
2023-10-02T15:30:10.456Z INFO sov_rollup::runner] Initializing state...
2023-10-02T15:30:10.567Z INFO sov_rollup::runner] State initialized. Current state root: 0x1a2b3c...
2023-10-02T15:30:10.678Z INFO sov_rollup::runner] Node is ready to receive and process transaction batches
2023-10-02T15:30:15.789Z INFO sov_rollup::runner] Received batch of 5 transactions
2023-10-02T15:30:15.890Z INFO sov_rollup::runner] Processing transactions...
2023-10-02T15:30:16.001Z INFO sov_rollup::runner] Batch processed. New state root: 0x4d5e6f...
2023-10-02T15:30:16.112Z INFO sov_rollup::runner] Waiting for next batch...
This output indicates that:
Your Spicenet node has started successfully
It has connected to the Celestia Data Availability (DA) layer
The initial Spicenet state has been set up
The node is processing incoming transaction batches received from Celestia
After processing each batch, a new Spicenet state root is calculated
Your Spicenet node will continue to run, receiving transaction batches from Celestia and processing them. The output will show ongoing activity, including:
Receipt of new transaction batches from Celestia
Processing of these batches on Spicenet
Updates to the Spicenet state root after each batch is processed
Any potential errors or warnings that might occur during the operation
Keep this terminal window open to maintain your Spicenet node's operation. You can open new terminal windows for interacting with your node or performing other tasks.
Last updated
Was this helpful?