Getting Started
How to Run
At the moment the building from source requires elaborate setup with conan, linux packages and SP1 Turbo SDK pre-requisites. It's recommended to use the pre-built docker image.
To run with pre-built docker
$ docker run somnergy/z6m_prover --helpUsage: z6m_prover [OPTIONS] [COMMAND]
Commands:
setup Run setup to generate proving and verifying keys
fetch Fetch block and witness from RPC
execute Execute the guest program without proving
prove Generate a proof for a block
verify Verify a proof using a verification key
help Print this message or the help of the given subcommand(s)
Options:
--service
--rpc-url <RPC_URL>
--data-dir <DATA_DIR> [default: temp]
--save-all-responses
--prove-every <PROVE_EVERY>
--execute-every <EXECUTE_EVERY>
--post-every <POST_EVERY>
--start-block <START_BLOCK>
--end-block <END_BLOCK>
--pk-path <PK_PATH> [default: pk.bin]
--proof-type <PROOF_TYPE> [default: compressed]
--ethproofs-endpoint <ETHPROOFS_ENDPOINT>
--ethproofs-token <ETHPROOFS_TOKEN>
--ethproofs-cluster-id <ETHPROOFS_CLUSTER_ID>
-h, --help First Fetch the block
Dry run execute - just use --block-number for this
Fire up the prover
NVIDIA CUDA Accelerated proving
First make sure to install NVIDIA drivers and the NVIDIA Container Toolkit https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
Last updated