This repository contains the relevant configuration to run your own node on the Unichain network.
If you encounter problems with your node, please open a GitHub issue
Network | Status |
---|---|
Testnet (Sepolia) | ✅ |
OP_NODE_L1_ETH_RPC
& OP_NODE_L1_BEACON
(in the .env.sepolia
file). If running your own L1 node, it needs to be synced before Unichain will be able to fully sync.docker compose up -d
curl
your Unichain node:curl -d '{"id":1,"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest",false]}' \
-H "Content-Type: application/json" http://localhost:8545
docker compose down
By default, the data directory is stored in ${PROJECT_ROOT}/geth-data
. You can override this by modifying the value of
HOST_DATA_DIR
variable in the .env
file.