Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 563 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 563 Bytes

node

This repository contains the relevant Docker builds to run your own node on the Base network. Currently only the Base testnet (on Goerli) is supported.

Usage

  1. Ensure you have an Goerli L1 node RPC available, and set OP_NODE_L1_ETH_RPC (in docker-compose.yml if using docker-compose).
  2. Run:
docker-compose up
  1. You should now be able to curl your Base node:
curl -d '{"id":0,"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest",false]}' \
     -H "Content-Type: application/json" \
     http://localhost:8545