# Important Directory Locations

{% hint style="info" %}
In case you need to locate your validator keys, database directories or other important files.
{% endhint %}

#### Consensus engine files and locations

{% tabs %}
{% tab title="Lighthouse" %}

```bash
# Validator Keys
~/.lighthouse/mainnet/validators

# Beacon Chain Data
~/.lighthouse/mainnet/beacon

# List of all validators and passwords
~/.lighthouse/mainnet/validators/validator_definitions.yml

#Slash protection db
~/.lighthouse/mainnet/validators/slashing_protection.sqlite
```

{% endtab %}

{% tab title="Nimbus" %}

```bash
# Validator Keys
/var/lib/nimbus/validators

# Beacon Chain Data
/var/lib/nimbus/db

#Slash protection db
/var/lib/nimbus/validators/slashing_protection.sqlite3

#Logs
/var/lib/nimbus/beacon.log
```

{% endtab %}

{% tab title="Teku" %}

```bash
# Validator Keys
/var/lib/teku

# Beacon Chain Data
/var/lib/teku/beacon

#Slash protection db
/var/lib/teku/validator/slashprotection
```

{% endtab %}

{% tab title="Prysm" %}

```bash
# Validator Keys
~/.eth2validators/prysm-wallet-v2

# Beacon Chain Data
~/.eth2/beaconchaindata
```

{% endtab %}

{% tab title="Lodestar" %}

```bash
# Validator Keystores
/var/lib/lodestar/keystores

# Validator Secrets
/var/lib/lodestar/secrets

# Validator DB Data
/var/lib/lodestar/validator-db

# Beacon Chain Data
/var/lib/lodestar/chain-db
```

{% endtab %}
{% endtabs %}

#### Execution engine files and locations

{% tabs %}
{% tab title="Geth" %}

```bash
# database location
$HOME/.ethereum
```

{% endtab %}

{% tab title="Besu" %}

```bash
# database location
$HOME/.besu/database
```

{% endtab %}

{% tab title="Nethermind" %}

```bash
#database location
$HOME/.nethermind/nethermind_db/mainnet
```

{% endtab %}

{% tab title="Erigon" %}

```bash
#database location
/var/lib/erigon
```

{% endtab %}
{% endtabs %}


---

# 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://www.coincashew.com/coins/overview-eth/archived-guides/guide-or-how-to-setup-a-validator-on-eth2-mainnet/part-iii-tips/important-directory-locations.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.
