Docker

Installation & setup instructions for the Docker container

Follow the instructions in the Readme file of the mina_celestia_docker repository. You'll need the following:

  • A SP1 prover network private key

  • The public URL of a Celestia light node, and its auth token (if any)

  • The public URL of a Celestia full node

You'll also need the following inputs to generate the proofs:

  • The trusted Celestia block number

  • The target Celestia block number

  • The Celestia namespace

  • The blob commitment

The build.sh and run.sh scripts in the repository are designed to accept these parameters as environment variables. The scripts build a Docker image containing a fully-built SP1 toolchain, the blob-stream-inclusion repository, and the o1js-blobstream repository. When run as a container, a script executes the relevant code to generate the SP1 proofs (via the Succinct prover network) and wraps them into o1js proofs using the aforementioned recursive tree technique.

Last updated