
Overview
HDP is designed to bridge the gap between smart contracts and extensive on-chain data, allowing for complex computations and analyses in a fully trustless and efficient manner. Here are some key features of the HDP system:- Extensive Data Access: Access large sets of on-chain data across multiple blockchains, including block headers, account balances, transactions, storage slots, and more.
- Secure Computation: Utilize storage proofs to verify on-chain data in a zkVM, enabling delegation of intensive computations to fully off-chain logic while maintaining security.
- Cost Efficiency: Batch multiple tasks together, significantly reducing proving and verification costs.
- Flexible Computations: Define arbitrary computations using “modules” - either predefined or user-defined functions that perform calculations on authenticated data.
- Cross-Chain Capability: Access and process data from various blockchain networks through a single API interface.
- On-Chain Delivery: Deliver computation results on-chain for smart contracts to query and utilize.
Key Use Cases
HDP enables powerful use cases such as:- Calculating time-weighted average prices (TWAP)
- Verifying average balances over time
- Identifying balance fluctuations
- Ensuring compliance with sanctions
- And much more…
How It Works
- Create your own HDP custom module
- Run three proceses:
- Dry Run
- Fetcher
- Sound Run
- Upload the Cairo 0 pie you end up with to Atlantic
- You can choose for the verification to be done on-chain (on L1 or L2) or off-chain.