Skip to content

New SP1 Blobstream deployments

This document provides instructions for deploying SP1 Blobstream to a new chain.

SP1 Blobstream is the latest implementation of Blobstream in Rust using the SP1 zkVM.

Deploying the contracts

To deploy SP1 Blobstream to a new chain, follow these steps:

  1. Clone the sp1-blobstream repository:
shell
git clone https://github.com/succinctlabs/sp1-blobstream
cd sp1-blobstream
git clone https://github.com/succinctlabs/sp1-blobstream
cd sp1-blobstream
  1. Follow the deployment instructions in the sp1-blobstream README.

  2. If you're deploying on a chain where there isn't a canonical verifier listed in the SP1 contract addresses, you'll need to:

    a. Deploy your own SP1 Verifier from the sp1-contracts matching your sp1-sdk version. b. Set the SP1_VERIFIER_ADDRESS in your .env file to the address of your deployed verifier.

  3. To run the prover:

    • For local proving, set SP1_PROVER=local in your environment.
    • To use the Succinct Proving Network for remote proving, set SP1_PROVER=network.
    • We recommend an instance with 64 vCPU and 128GB of RAM for local proving.

Note: Any whitelisting for custom provers would need to be implemented in the application's smart contracts (e.g., by using an approvedProvers mapping).