Running Matchain Node
Last updated
Was this helpful?
Last updated
Was this helpful?
This guide provides instructions on launching a full node on Matchain using a simple Docker Compose script. Follow the steps below to set up your full node.
Clone the Repository
Before starting, clone the opstack-fullnode-sync
repository:
CPU: 4 Cores
RAM: 16 GB+
Storage: 1TB SSD (NVMe Recommended)
Network: 100 MB/s+ Download
Generate JWT File Run the following command to generate a JWT file:
Configure Environment Variables
Copy the .env.example
file to create your .env
file, and update the values as needed:
Modify .env
to set your parameters, or request a preconfigured .env
from the Matchain team.
Start the Node
Use Docker Compose to start the node:
View Logs
Logs for OP Node:
Logs for OP Geth:
Check Sync Status
To check the sync status, use:
If the node is still syncing, you will see output similar to:
When syncing completes, you will see:
Check Block Number
After syncing completes, verify by checking the latest block number:
Example response:
To stop the node, use:
For further details, refer to the .