> For the complete documentation index, see [llms.txt](https://docs.glacislabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glacislabs.com/glacis-core/concepts/architecture.md).

# Architecture

Glacis is a pure on-chain protocol, that means that all its components are Smart Contracts, these components can be aggregated in two groups:

* **Infrastructure Components**: Maintained by Glacis and deployed on each supported chain.
  * Router
  * Adapters
  * Mediators
* **Client Components**: Maintained by Glacis,accessible as package and deployed by user through the use of inheritance on his own contracts.
  * Clients

> All components have different behavior depending if they act as a source chain component or a destination chain component.

## Component diagram

This diagram represents the complete flow between components in Glacis Architecture.

![](/files/1uBv9sIETBKnPIqJqUWd)
