@philjs
Step 7: Verify Node Operation
Ensure that your Unichain node is up and running.
Test the JSON-RPC Endpoint Use curl to send a JSON-RPC request to your Unichain node:
curl -X POST -H "Content-Type: application/json" \ - data '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber","params":[]}' \ http://localhost:8545
Expected Output:
{"jsonrpc":"2.0","id":1,"result":"0x0"}
Step 8: Monitor Synchronization Progress
Synchronization can take some time. You can monitor the progress by repeatedly checking the block number.
Check the Block Number
curl -X POST -H "Content-Type: application/json" \
--data '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber","params":[]}' \
http://localhost:8545
2. View Container Logs (Optional)
# Execution Client Logs:
docker compose logs -f execution-client
# OP Node Logs:
docker compose logs -f op-node