> For the complete documentation index, see [llms.txt](https://docs.jibchain.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jibchain.net/withdrawal/voluntary-validator-exit.md).

# Voluntary validator exit

How to Voluntary validator exit with lighthouse

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

<figure><img src="https://969046780-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DR5Qxp7RgLZRDd688Mo%2Fuploads%2F3Pd1LMbe4krON8mJxdHE%2Fimage.png?alt=media&amp;token=1982662a-b85b-4314-a149-e1e3731a60d8" alt=""><figcaption><p>Choose for your architechture.</p></figcaption></figure>

* How to download with the command line:

  * Copy link address

  <figure><img src="https://969046780-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DR5Qxp7RgLZRDd688Mo%2Fuploads%2FBBifcNGdiuteULqhijoN%2Fimage.png?alt=media&amp;token=748effcb-8b28-4cff-9830-f802258b005a" 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="https://969046780-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DR5Qxp7RgLZRDd688Mo%2Fuploads%2FdjupuUvqyqAiAqpImeON%2Fimage.png?alt=media&amp;token=5d4a3818-2940-4ba9-974f-9e7a4e1ff71e" alt=""><figcaption></figcaption></figure>

* Extract zip file

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

<figure><img src="https://969046780-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DR5Qxp7RgLZRDd688Mo%2Fuploads%2FhzBv5jyU5FnJsSdPhrFB%2Fimage.png?alt=media&amp;token=ce3c95dd-91d5-4ac1-b156-5273e01b3de1" alt=""><figcaption></figcaption></figure>

* Test binary file

```sh
./lighthouse
```

<figure><img src="https://969046780-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DR5Qxp7RgLZRDd688Mo%2Fuploads%2Fg8PuQWT7T9omi7AJQDs6%2Fimage.png?alt=media&amp;token=f1180ef5-6838-48c6-bef5-102135dcb890" alt=""><figcaption></figcaption></figure>

* Clone chain config

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

<figure><img src="https://969046780-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DR5Qxp7RgLZRDd688Mo%2Fuploads%2FLP5LGgWncD3sBk48BEiK%2Fimage.png?alt=media&amp;token=24fe8271-fc59-4b25-8592-9ed00064be37" 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="https://969046780-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DR5Qxp7RgLZRDd688Mo%2Fuploads%2Fg2B797Ka5CctWCOzDpH7%2Fimage.png?alt=media&amp;token=165d1a2b-e66a-4d72-9a96-91fa9989b5e0" 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="https://969046780-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DR5Qxp7RgLZRDd688Mo%2Fuploads%2F00Jnv0CBI4PGuujmgluG%2Fimage.png?alt=media&amp;token=3a9b26d5-f00e-4838-af63-0bc10dd1830d" alt=""><figcaption><p>Done !</p></figcaption></figure>
