Option 2: CRC circuits (ssz2Poseidon and blsHeaderVerify):
bash get-circuits.sh
Hardware requirements are 256GB RAM, 32-core CPU and 1 TB SSD
Build the image
docker build -t prover-server .
Run Prover
docker run -it -p 8000:8000 prover-server
If you want to use config, different from the default dev one you must pass it as an environmental
variable CONFIG={config}
API
Generate proof
POST /api/v1/proof/generate
Content-Type: application/json
{
"circuit": "multiplier", // name of the requested circuit as specified in the config
"inputs": {...} // circuit specific inputs
}