Linux

Installation & setup instructions for Linux systems

First, install system requirements. These commands work on Ubuntu and Debian Linux:

sudo apt-get -y update
sudo apt-get install -y curl tar wget aria2 clang pkg-config libssl-dev jq build-essential git make ncdu cmake ninja-build protobuf-compiler

Node

Install Node using nvmarrow-up-right.As of the time of writing, this codebase works with Node 22.

SP1

We are using version v1.0.1 of SP1. To install this specific version of the SP1 toolchain:

git clone https://github.com/succinctlabs/sp1.git
cd sp1
git checkout v1.0.1
cd cli
cargo install --locked --path .
cd ..
cargo prove install-toolchain

Celestia Light Node

Set up a Celestia light node according to the instructions herearrow-up-right.

Get the authentication token using the following command:

export LIGHT_NODE_AUTH_TOKEN=$(celestia light auth admin --p2p.network celestia)

See this tutorialarrow-up-right if you need further instructions.

Start the light node:

Set up the repositories

Make a new directory for the project:

Clone & set up the blob-stream-inclusionarrow-up-right repository:

Open the .env file and fill in your own SP1_PRIVATE_KEY and LIGHT_NODE_AUTH_TOKEN.

Clone the o1js-blobstreamarrow-up-right repository:

Other System Requirements

  1. For the blob-stream-inclusion proofs you'll need:

    1. protocarrow-up-right must be installed.

    2. SP1arrow-up-right must be installed.

    3. Dockerarrow-up-right must be installed and running.

  2. For the o1js-blobstream proofs you'll need NodeJSarrow-up-right version 22.

Last updated