Voluntary Exiting a Validator | English | CoinCashew (2024)

Remove a validator from staking duties.

Use the Voluntary Exit command to signal your intentions to permanently stop your duties as a validator.

  • Timeline: Voluntary exiting is possible after your validator is actively validating. If there is no exit queue, the exit process requires at least 4 epochs, or 26 minutes. After your validator is "exited", and proceeds through the "withdrawal delay" phase and "withdrawal processing" phase, your ETH is automatically swept back to your withdrawal address.

  • Consequences: Once a validator is in exited state, it's non-reversible. You would need to re-key, or generate new validator keys to start staking again.

  • ETH Deposit: In order to re-claim your 32ETH validator deposit and perform a full withdrawal, you must have previously set a Withdrawal Address. If not yet set, see here: 0x01 withdrawal address.

  • Responsibilities: After your validator leaves the exit queue and is truly exited, it is safe to turn off your execution client, consensus client and validator.

Reference: https://liquidcollective.io/eth-activations-and-exits/

sudo lighthouse account validator exit \--keystore /var/lib/lighthouse/validators/<0x validator>/<keystore.json file> \--beacon-node http://localhost:5052 \--network mainnet

Example:

sudo lighthouse account validator exit \--keystore /var/lib/lighthouse/validators/0x838f024753064e90fd8fa183400af82dd2103df885/keystore-m_12311_12-112312.json \--beacon-node http://localhost:5052 \--network mainnet
sudo /usr/bin/teku/bin/teku voluntary-exit \--beacon-node-api-endpoint=http://127.0.0.1:5052 \--validator-keys=<path to keystore.json>:<path to password.txt file>

Example:

sudo /usr/bin/teku/bin/teku voluntary-exit \--beacon-node-api-endpoint=http://127.0.0.1:5052 \--validator-keys=/var/lib/teku/validator_keys/keys/validator_1abc3.json:/etc/teku/validators-password.txt
sudo /usr/local/bin/nimbus_beacon_node deposits exit \--validator=<VALIDATOR_PUBLIC_KEY> \--data-dir=/var/lib/nimbus

Example:

sudo /usr/local/bin/nimbus_beacon_node deposits exit \--validator=0x838f0247538237064e90fd8fa183400af82dd2103df885 \--data-dir=/var/lib/nimbus
sudo /usr/local/bin/validator accounts voluntary-exit \--wallet-dir=/var/lib/prysm/validators

Stop Lodestar validator

sudo systemctl stop validator

Run the voluntary exit command

# change directories to binary foldercd /usr/local/bin/lodestar# the voluntary exit commandsudo ./lodestar validator voluntary-exit

Restart validator

sudo systemctl restart validator

Troubleshooting: To perform a voluntary exit, make sure your consensus client (aka beacon node) is running with REST-API enabled.

Official reference documentation from each team can be found below:

Last updated

Voluntary Exiting a Validator | English | CoinCashew (2024)

FAQs

How do you exit your validator? ›

Use the Voluntary Exit command to signal your intentions to permanently stop your duties as a validator. Timeline: Voluntary exiting is possible after your validator is actively validating. If there is no exit queue, the exit process requires at least 4 epochs, or 26 minutes.

How long does it take to exit a validator? ›

It takes at a minimum 5 epochs (32 minutes) for a validator to exit after initiating a voluntary exit. This number can be much higher depending on how many other validators are queued to exit.

How to exit an ETH stake? ›

Providing a withdrawal address is required before any funds can be transferred out of a validator account balance. Users looking to exit staking entirely and withdraw their full balance back must also sign and broadcast a "voluntary exit" message with validator keys which will start the process of exiting from staking.

How do I remove a required validator? ›

We can either use clearValidators() to remove all validators and then use setValidators() to set needed validation, or we can directly use setValidators() with the needed validators only (without the validator you don't want to have).

What happens if a validator goes offline? ›

If a validator is offline and not executing its duties, it will be penalized at a rate slightly lower than the rewards for the same period of time.

What happens when a validator is jailed? ›

What happens when a validator is temporarily jailed for downtime. 1% of all of the stake delegated to the node is slashed, i.e., burned and disappears forever. This includes any stake delegated to the node by external parties. (If a validator gets jailed, delegators may decide to switch whom they delegate to.)

What are the risks of validator? ›

However, validators also face risks, such as slashing, which is a penalty for malicious or faulty behavior. Slashing can result in the loss of some or all of the stake.

Is being a validator profitable? ›

Validator in the crypto world plays an important role in ensuring that transactions on a blockchain network running smoothly and securely. Although it can be a lucrative source of income, becoming a validator requires specialized knowledge and significant investment in both crypto assets and hardware and software.

What is validator slashing? ›

If a validator is found to behave maliciously or dishonestly, it may be slashed, which means that a portion of its deposit is destroyed by the network as a punishment. As such, slashing incentivises validators to perform their duties correctly, thereby promoting the network's best interests.

How to exit gnosis validator? ›

Navigate to the Stakers > Gnosis Chain menu, click on the "Upload Keystores" button on the Web3Signer card. Once you are in the Web3Signer UI, select the validators you want to exit and click on the "Exit Validator" button on the top right part of the UI.

What is withdrawal from Dappnode validator? ›

Withdrawing my ETH​

This process consists of exiting the validator from the Dappnode UI. This means that once you reach the end of the Beacon Chain's exit queue, your 32 ETH will show up in your withdrawal address as a state change in the blockchain, and not as a deposit.

How to withdraw a validator? ›

In order to withdraw a validator's balance completely, a voluntary exit must be submitted to Ethereum and must complete first. Full validator withdrawal: The process of withdrawing your entire stake on Ethereum, exiting your validator, and withdrawing your entire balance to an Ethereum address of your choosing.

How long does it take to exit an Ethereum validator? ›

There are three steps: Your validator becomes 'Exited' (5-6 epochs (~35 minutes), assuming no exit queue) Your validator exit becomes 'Withdrawable' (256 epochs (~27 hours))

Why can't I unstake my ETH? ›

To unstake your ETH, your staked ETH must have started to accrue rewards. This means you will need to wait for your stake to complete and then another few days to start earning rewards before you can unstake. You must unstake a minimum of 0.1 ETH.

How does a validator work? ›

A validator is an individual or a group responsible for running software that stores data, verifies transactions, and adds new blocks in a proof-of-stake (PoS) blockchain. Validators are replaced by miners in a proof-of-work (PoW) blockchain.

How much do you need to be a validator? ›

Becoming a validator requires access to high-performance hardware on a highly available network, as minimum 300 000 TON as a stake.

What is validator output? ›

By default, outputs inherit the validation status of their Execution Setup. The Execution Setup inherits its validation status from its executable instance. An instance cannot have a higher validation status than its source definition.

What is the difference between validator and express validator? ›

They are used for different scenarios: validator is a library to validate any kind of object and it's not associated with any framework. express-validator uses validator library to validate expressjs routes. Basically you can validate express routes out of the box using validator lib.

Top Articles
Latest Posts
Article information

Author: Carlyn Walter

Last Updated:

Views: 6254

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Carlyn Walter

Birthday: 1996-01-03

Address: Suite 452 40815 Denyse Extensions, Sengermouth, OR 42374

Phone: +8501809515404

Job: Manufacturing Technician

Hobby: Table tennis, Archery, Vacation, Metal detecting, Yo-yoing, Crocheting, Creative writing

Introduction: My name is Carlyn Walter, I am a lively, glamorous, healthy, clean, powerful, calm, combative person who loves writing and wants to share my knowledge and understanding with you.