# Gateway Contracts

### Purpose

Gateway contracts are essential components that enable different blockchains to communicate with each other. They handle the secure and efficient transfer of data and messages between networks, making cross-chain interactions possible.

NOTE: Developers building cross-chain contracts do NOT need to interface with Gateway contracts. This is fully abstracted. See [HERE](https://developer.vialabs.io/general/package) for how to implement cross-chain contracts.

### Functionality

* **Automated Setup**: These contracts are pre-deployed by the system, so developers don't need to set them up manually.
* **Seamless Communication**: They ensure that messages and data are correctly routed and processed between different blockchains.

Gateway contracts work behind the scenes to manage cross-chain communication. Developers don't need to worry about interfacing with them; they are handled by the system to ensure everything runs smoothly.

For a list of contracts, please see the [Developer Documentation](http://developer.vialabs.io/).


---

# 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.vialabs.io/via-omnichain-network/gateway-contracts.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.
