> For the complete documentation index, see [llms.txt](https://docs.escher.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.escher.finance/architecture/hidden-layer-contract.md).

# Hidden Layer Contract

### **Overview**

The **Hidden Layer Contract** is a core innovation in Escher’s architecture, designed to **abstract staking, liquidity movement, and execution across multiple chains**. Instead of requiring users to interact directly with multiple blockchains, the **hidden layer automates cross-chain processes in the background**, creating a **seamless staking and DeFi experience**.

By acting as an **execution layer between chains and applications**, the hidden layer contract enables **chain-abstracted interactions**, making Escher’s liquid staking protocol truly **interoperable, efficient, and decentralized**.

### **How It Works**

Traditional cross-chain interactions often require **bridging, manual network switching, and multiple wallet interactions**. The hidden layer contract eliminates this friction by:

1. **Automating Transactions**
   * Users initiate staking, unstaking, or liquidity operations **from any supported chain**, while the hidden layer **handles execution in the background**.
   * No need for users to manually bridge tokens or interact with smart contracts on multiple networks.
2. **Decentralized Execution**
   * The contract ensures that transactions are processed using **decentralized validators and relayers**, avoiding reliance on centralized intermediaries.
   * Escher leverages **Union and ZK technology** to secure operations and maintain **trustless execution**.
3. **Interoperable Staking & Liquidity Flow**
   * Users can **stake from one chain and receive liquid staking tokens (LSTs) on another chain** without needing to interact with the destination network.
   * The hidden layer also facilitates **cross-chain liquidity balancing**, ensuring assets move dynamically based on demand and available liquidity.

For more info check our last [reaserch](https://chatgpt.com/g/g-p-6779a075ca108191947f8b334d060c2f-escher/c/6779a089-e644-8002-b84d-a04cd291f2f0)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.escher.finance/architecture/hidden-layer-contract.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
