Wholesum network is a p2p verifiable computing network. It builds on top of Risc0, Swarm, FairOS-dfs, and Libp2p to facilitate verifiable computing at scale.
Running a verifier is no easy task and involves getting some dependencies up and running.
You would need to get certain environments ready for the verifier to function properly.
You would need a swarm node(configured as a LightNode) to enable decentralized storage. Head to the docs and get it up and running. We recommend using the Swarm Desktop app as it is very easy to config and use. Remember, your verifier is going to store things on Swarm so your wallet needs to be funded before storage is possible.
Once Swarm is up and running, you should setup FairOS-dfs
server. dfs server makes it possible to create advanced objects on top of Swarm. Head to the docs and get it up.
Once dfs server is up, you need to create a wallet and put the credentials in a file structured as below:
# a fairos-dfs client endpoint = "http://localhost:9090" username = "foo" password = "password for foo"
Save it, say, to dfs-user.toml
and setup is complete. To create a wallet with the above credentials, go to the registration web app and create your desired username. Pleae note that you would need Sepolia(an Ethereum testnet) eth to register users.
Docker is needed as it is going to run Risc0
images. Make sure docker runtime is properly setup. This awesome guide is also helpful.
To run a verifier agent, you would first need to fork the comms library and put it in the parent("..") directory of the verifier directory.
Now everything is ready to serve clients. Hit
cargo run -- -d dfs-user.toml
and wait for verification requests!
Usage: verifier [OPTIONS] Options: -d, --dfs-config-file -h, --help Print help -V, --version Print version