Skip to main content
More info on the Blockscout + Celestia integration is available in this blog post: https://www.blog.blockscout.com/celestia-superhighway-supporting-high-data-availability-on-blockscout/

How to run a Celestia light node with a Celestia blobs indexer

We’ll use Docker Compose to run everything we need: Celestia Light node, Blobs indexer, and Postgres DB for it.
Please note that the Celestia node requires linux/amd64 or linux/arm64 OS

Setup

The docker-compose.yml contains the following:
Make sure to replace our_password for the DB with your password. This yml requires having two env files in the same directory: 1) .env for configuring the light node:
Uncomment and use the last two lines when you need Celestia Mainnet instead of Celestia Mocha.

The lists of Celestia RPC nodes can be found at:
2) indexer.env for configuring the blobs indexer:
Here you only need to replace our_password with the DB password defined in the docker-compose.yml.

Usage

  • To start the services, run docker compose up -d.
  • To see the last indexer logs, run docker logs -n 100 da-indexer.
  • To see the last node logs, run docker logs -n 100 celestia-light-node.
After services are started, the indexer API is available here: http://example.com:8050/api/v1/celestia/blob
Please note, the node needs some time to sync with other Celestia nodes and download data.