# HDP Integration

Herodotus Data Processor (HDP) is a crucial component of Most Bridge's security system. It provides a way to cryptographically verify that a transaction has occurred on one blockchain and prove it on another, without requiring complex consensus mechanisms between the two chains.

## How HDP works

1. **Transaction Recording**: When a Market Maker fulfills your intent on the destination chain, the details of this transaction are stored in the blockchain's state in our Payment Registry contract.
2. **Proof Generation**: The Market Maker then generates a proof of this storage state, which includes cryptographic evidence that your transaction was included in the blockchain.
3. **Verification**: This proof is submitted to the source chain, where it can be verified without needing to directly access the destination chain.
4. **Fund Release**: Once verified, the proof allows the locked funds to be released to the Market Maker on the source chain.

## Benefits of HDP

* **Security**: Provides cryptographic certainty that your transaction was completed.
* **Efficiency**: Allows for fast verification without waiting for long confirmation periods.
* **Scalability**: Works across different types of blockchains without requiring special compatibility.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.most.wtf/architecture-overview/hdp-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
