The hdp-cairo-dev
Python package abstracts all necessary Python dependencies and supported custom modules for Cairo1 Sierra files. It provides a convenient setup for a complete cairo-run environment, enabling the execution of the Herodotus Data Processor (HDP).
To fully utilize the hdp-cairo-dev
package and run HDP, two additional components are required:
- Locate the Compiled HDP Cairo Program: Ensure the
hdp.json
file is in the directory from which cairo-run is expected to be executed. - Install the
cairo1-run
Rust Binary: Obtain this from thecairo-vm/cairo1-run
repository.
- Tools: This package includes class definitions and functionalities for fetching
Blocks
andTransactions
, along with a set of utilities for developers. - hdp_bootloader: A fine-tuned implementation of the Cairo0 bootloader for HDP, enabling dynamic loading of Cairo1 bytecode modules. This allows for the definition of aggregate functions in the Cairo1 language.
- Compiled Cairo1 Modules: A set of compiled Cairo1 modules used as aggregate functions within the HDP function set.
Herodotus Dev Ltd - 2024