o1js-blobstream
  • Overview
  • Setup & installation
    • Linux
    • MacOS
    • Docker
  • System flow
    • SP1-based Blobstream X
      • Generate SP1 proofs
      • Generate o1js proofs
        • End-to-end in detail
      • End-to-end video
    • Risc Zero
      • Generate o1js proofs
      • End-to-end video
  • Proving systems
  • Other Uses & Future Work
Powered by GitBook
On this page
  • Set up the repositories
  • Other System Requirements
  1. Setup & installation

Linux

Installation & setup instructions for Linux systems

PreviousSetup & installationNextMacOS

Last updated 9 months ago

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 .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 .

Get the authentication token using the following command:

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

See if you need further instructions.

Start the light node:

celestia light start --core.ip rpc.celestia.pops.one --p2p.network celestia

Set up the repositories

Make a new directory for the project:

mkdir mina-celestia
cd mina-celestia
git clone git@github.com:geometers/blob-stream-inclusion.git
cd blob-stream-inclusion
cp .env.example .env

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

cd ..
git clone git@github.com:geometers/o1js-blobstream.git

Other System Requirements

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

Clone & set up the repository:

Clone the repository:

must be installed.

must be installed.

must be installed and running.

For the o1js-blobstream proofs you'll need version 22.

nvm
here
this tutorial
blob-stream-inclusion
o1js-blobstream
protoc
SP1
Docker
NodeJS