nimbus-eth2/docs/the_nimbus_book/src/voluntary-exit.md

25 lines
761 B
Markdown
Raw Normal View History

2020-11-30 01:13:47 +00:00
# Perform a voluntary exit
2020-12-03 02:07:56 +00:00
> ⚠️ Voluntary exits are **irreversible**. You won't be able to validate again with the same key. And you won't be able to withdraw your stake until the Eth1 and Eth2 merge. *Note that voluntary exits won't be processed if the chain isn't finalising.*
2020-11-30 01:13:47 +00:00
To perform a voluntary exit, with your beacon node running, run:
**Pyrmont**
```
build/nimbus_beacon_node deposits exit --validator=<VALIDATOR_PUBLIC_KEY> --data-dir=build/data/shared_pyrmont_0
```
**Mainnet**
```
build/nimbus_beacon_node deposits exit --validator=<VALIDATOR_PUBLIC_KEY> --data-dir=build/data/shared_mainnet_0
```
> **Note:** Make sure your `<VALIDATOR_PUBLIC_KEY>` is prefixed with `0x`. In other words the public key should look like `0x95e3...`