/local-celestia-devnet

Docker image exposing celestia-node devnet for CI and local development

Primary LanguageShellApache License 2.0Apache-2.0

Local Celestia Devnet

This repo provides a docker image that allows developers to spin up a local devnet node for testing without depending on the network or service.

To run the docker image from ghcr.io

docker run --platform linux/amd64 -p 26657:26657 -p 26659:26659 ghcr.io/rollkit/local-celestia-devnet:v0.8.2

To build and run the docker image

First, clone the repository:

git clone https://github.com/rollkit/local-celestia-devnet.git

Change into the directory:

cd local-celestia-devnet/

To build the docker image:

docker build . -t celestia-local-devnet

To run the docker container:

docker run --platform linux/amd64 -p 26657:26657 -p 26659:26659 celestia-local-devnet

Test that the RPC server is up:

curl -X GET http://127.0.0.1:26659/head