hdp-primitives

Crates.iohdp-primitives
lib.rshdp-primitives
version0.4.0
sourcesrc
created_at2024-03-18 09:20:51.059723
updated_at2024-07-30 15:42:03.418372
descriptionHDP primitives
homepage
repositoryhttps://github.com/HerodotusDev/hdp
max_upload_size
id1177467
size265,035
HDP (github:herodotusdev:hdp)

documentation

README

HDP Primitives

TaskEnvelope

The TaskEnvelope definition is used as an input for the pre-processor. There are two different types of TaskEnvelope definitions:

  • DatalakeCompute: This is a higher-level interface. HDP supports two types of Datalake interfaces: "Block Sampled Data Lake" and "Transactions In Block Data Lake". Users can submit requests using this defined interface and specify a predefined function tag as an aggregate function.
  • Module: This is a more customized interface. It involves passing a contract hash and input bytes. During the Cairo runtime, the necessary values will be fetched without the need to adhere to a predefined interface.

Both task interfaces can be committed on-chain as a bytes32 type.

Commit count: 233

cargo fmt