Skip to main content
Use this page to install the HDP CLI and run a complete local pipeline.

Prerequisites

HDP requires:
  • Rust
  • Scarb (Cairo toolchain)
  • uv (Python package manager)
  • Access to chain RPC endpoints
Install Rust:
Install uv:
Optional:

Install HDP CLI

Install latest:
Install a specific version:

Build from source (optional)

Optional Make targets:
Optional Docker path:

Configure environment

Check required variables:
Check only the variables needed for your run:
For all environment variables, see Configuration reference. If you are working from a local hdp-cairo checkout, copy:
Then set your RPC endpoints and environment values.

First usage flow (CLI)

After you compile your module (for example with scarb build), run:
  1. Dry run:
  1. Fetch proofs:
  1. Sound run:
At the end of the flow, HDP prints output data used for downstream proving and settlement workflows.

First full run example (starkgate)

Expected artifacts:
  • Stage 1: dry_run_output.json
  • Stage 2: proofs.json
  • Stage 3 output includes task_hash, output_root, and mmr_metas
See output details in Output model.

Full command example (eth_call)

From the official example:
Reference files:

On-chain finality reminder

Even with successful local execution, on-chain settlement requires that accessed blocks are included in Herodotus Satellite MMRs.