# Voluntary validator exit

1. Download the lighthouse binary from <https://github.com/sigp/lighthouse/releases>&#x20;

<figure><img src="/files/tul8YYuSZRTiM51FA2fV" alt=""><figcaption><p>Choose for your architechture.</p></figcaption></figure>

* How to download with the command line:

  * Copy link address

  <figure><img src="/files/pXFOzbd0XtNMrqRIpKoz" alt=""><figcaption></figcaption></figure>

  * Open `deposit-cli` folder and run this command

```
wget https://github.com/sigp/lighthouse/releases/download/v4.5.0/lighthouse-v4.5.0-x86_64-apple-darwin-portable.tar.gz
```

<figure><img src="/files/77KteahdymSNNA0niTd4" alt=""><figcaption></figcaption></figure>

* Extract zip file

```
tar -zxvf <tar.gz file>
```

<figure><img src="/files/1PYLZuPO8ss38QhN6Pdc" alt=""><figcaption></figcaption></figure>

* Test binary file

```sh
./lighthouse
```

<figure><img src="/files/PRblGtVC5fHnkozjNEd3" alt=""><figcaption></figcaption></figure>

* Clone chain config

```
git clone https://github.com/jibchain-net/node.git -b config config
```

<figure><img src="/files/8mis8KbXEmuTuCvXjGlj" alt=""><figcaption></figcaption></figure>

* Run to exit validator

```
./lighthouse --testnet-dir=./config account validator exit --keystore=./validator_keys-test/validator_keys/keystore-m_12381_3600_0_0_0-1701319485.json --beacon-node https://metrabyte-cl.jibchain.net/
```

> The --keystore flag is used to specify the path to the EIP-2335 voting keystore for the validator. The path should point directly to the validator key .json file, not the folder containing the .json file.

* Enter password
* &#x20;Type "`Exit my validator`"

<figure><img src="/files/tAWJRst7fKhYIfBcscIZ" alt=""><figcaption></figcaption></figure>

* Done&#x20;

```
Successfully validated and published voluntary exit for validator 0x8debdde83a995937ec83ba8cd9b653c9e28e5405b90d9503389032234201e61fe451900f5b95bab3789556f46568348b
Voluntary exit has been accepted into the beacon chain, but not yet finalized. Finalization may take several minutes or longer. Before finalization there is a low probability that the exit may be reverted.
Current epoch: 4152, Exit epoch: 4157, Withdrawable epoch: 4413
Please keep your validator running till exit epoch
Exit epoch in approximately 1920 secs
```

* Your JBC will be withdrawn to your withdrawal address on `epoch: 4413`
* Check validator status on: <https://dora.jibchain.net>

<figure><img src="/files/SCiCxrY8fD17T2GolIoE" alt=""><figcaption><p>Done !</p></figcaption></figure>


---

# 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.jibchain.net/withdrawal/voluntary-validator-exit.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.
