Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.93 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.93 KB

Wholesum network Server CLI

Overview

Wholesum network is a p2p verifiable computing network tailored for ETH L2 sequencer proving. It builds on top of Risc0, Libp2p, and decentralized storage options like Swarm and Filecoin to facilitate verifiable computing at scale. The design of the network follows a p2p parallel proving scheme where Risc0 jobs are passed around, proved, and finally combined into a final proof ready for L1 verification.

How to run

Bringing a server instance up involves few steps.

Prerequisites

You would need to get certain environments ready for the server to function properly.

1- Docker

Docker runtime is needed as it is used to run Risc0 containers. This awesome guide from DigitalOcean is helpful in this regard.

2- Lighthouse@Filecoin/Swarmy@Swarm

  • Lighthouse:
    You would need a subscription plan from Lighthouse to run the server. Please obtain an api key and specify it with -d flag when running the server.

  • Swarmy: Still under develepment.

3- Dependencies

To run a server agent, you would first need to fork the following libraries and put them in the parent("..") directory of the server:

USAGE

Wholesum is a P2P verifiable computing marketplace and this program is a CLI for server nodes.
Usage: server [OPTIONS]
Options:
  -d, --dstorage-key-file   
      --dev                                    
  -k, --key-file                     
  -h, --help                                   Print help
  -V, --version                                Print version