# System Architecture

The Energy Web Chain is comprised of different components that provide the functionalities determined by the blockchain’s protocol.

Broadly speaking, protocols are defined rules and standards. Internet protocols, like HTTP protocol for example, define standard procedures for the transfer of data over the internet.

A blockchain network is no different. In a decentralized and self-executing system like a public blockchain, protocols are of significant importance in establishing how the system works, and then ensuring that the system continues to self-execute as designed.

Protocols exist to determine specific aspects of blockchain behavior, such as:

* How transactions are validated
* Who gets to validate transactions and when
* How validators are compensated
* How peer nodes interact with each other

The system components below ensure that the Energy Web blockchain adheres to Ethereum's protocols, and the protocols established by OpenEthereum's [Proof-of-Authority consensus engine](https://openethereum.github.io/Proof-of-Authority-Chains). (OpenEthereum is the Ethereum client that is used by the Energy Web Chain.&#x20;

### System Components <a href="#system-components" id="system-components"></a>

#### [1. System Contracts](https://energy-web-foundation.gitbook.io/energy-web-documentation/legacy-documentation/ew-dos-technology-components-2023/trust-layer-energy-web-chain/system-architecture/system-contracts) <a href="#id-1.-system-contracts" id="id-1.-system-contracts"></a>

System Contracts are [smart contracts ](https://ethereum.org/en/developers/docs/smart-contracts/)that implement the [Authority Roundtable Proof-of-Authority consensus engine](https://openethereum.github.io/Proof-of-Authority-Chains) protocols. Read more about Energy Web's system contracts [here.](https://energy-web-foundation.gitbook.io/energy-web-documentation/legacy-documentation/ew-dos-technology-components-2023/trust-layer-energy-web-chain/system-architecture/system-contracts)

#### [2. Validator Node Architecture](https://energy-web-foundation.gitbook.io/energy-web-documentation/legacy-documentation/ew-dos-technology-components-2023/trust-layer-energy-web-chain/system-architecture/validator-node-architecture) <a href="#id-2.-validator-node-architecture" id="id-2.-validator-node-architecture"></a>

The validator node architecture monitors validator behavior to ensure consistent and secure blockchain operation. Read more about the validator node architecture [here.](https://energy-web-foundation.gitbook.io/energy-web-documentation/legacy-documentation/ew-dos-technology-components-2023/trust-layer-energy-web-chain/system-architecture/validator-node-architecture)


---

# 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.energyweb.org/ewc-ecosystem/energy-web-chain/system-architecture.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.
