> For the complete documentation index, see [llms.txt](https://docs.vea.ninja/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vea.ninja/run-vea-actors/getting-started.md).

# Validator

Validators are responsible for making and veryfiing claims of VeaInbox state on VeaOutbox. Validators keep Vea secure as it is a trust-minimized optimistically-verified bridge. The [trust model](https://vitalik.eth.limo/general/2020/08/20/trust.html) requires only 1 live honest verifier, similar to optimistic rollups.&#x20;

### Setup <a href="#prerequisites" id="prerequisites"></a>

1. Clone [repository](https://github.com/kleros/vea) <br>

   ```bash
   git clone git@github.com:kleros/vea.git
   ```
2. Create and populate `.env` in <kbd>./validator-cli</kbd> directory, follow [README.md](https://github.com/kleros/vea/blob/dev/validator-cli/README.md) for `env` variable details<br>

   ```bash
   cd validator-cli
   cp .env.example .env
   ```
3. Build and run validator image <br>

   ```bash
   docker compose build validator
   docker compose up validator
   ```
