Running Matchain Node
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.
Prerequisites
Clone the Repository
Before starting, clone the opstack-fullnode-sync
repository:
Recommended Hardware
CPU: 4 Cores
RAM: 16 GB+
Storage: 1TB SSD (NVMe Recommended)
Network: 100 MB/s+ Download
Preparation
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
file from the Matchain team.
Operating the Node
Start the Node
Use Docker Compose to start the node:
View Logs
Logs for OP Node:
Logs for OP Geth:
Sanity Test
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:
Stop the Node
To stop the node, use:
Reference
For further details, refer to the Optimism Documentation.
Last updated