Skip to main content
All CollectionsValidator Nodes & Masternodes
How to create an exit message for your Ethereum validator using your validator key (keystore file) and ethdo.
How to create an exit message for your Ethereum validator using your validator key (keystore file) and ethdo.

Windows, Mac & Linux

Allnodes Team avatar
Written by Allnodes Team
Updated over a month ago

Never share your seed phrase or mnemonic with anyone, EVER. Allnodes will never ask you for it. If someone asks for it, they are scammers pretending to be Allnodes admins. Block and report them immediately.


A. Instructions for Windows

  1. Download the latest version of ethdo
    Windows users select ethdo-x.xx.x-windows-exe.zip

  2. After the download is complete, extract the ethdo zip file (right-click and select Extract All…). Extract the file to your desktop.

  3. Copy your validator key (keystore JSON file) to your desktop.

  4. Open the Command Prompt by typing cmd and press enter in the Windows search bar:

  5. Right-click on the Command Prompt and Run as administrator.

  6. Click Yes if a warning screen from Windows opens
    The command prompt will open to c:\Windows\System32
    Type (and then press Enter)

    cd /d %USERPROFILE%/Desktop

    This will open your user account (in this example, Allnodes is shown)

  7. Type (and then press Enter)

    ethdo validator credentials set --prepare-offline

    This may take 1-2 minutes to complete. When complete, the command prompt will say ‘offline-preparation.json generated’

  8. Type (and then press Enter)

    ethdo validator exit --validator=keystore-m_12381_3600_1_0_0-1709271241.json --passphrase=password123 --offline

    Note the keystore JSON file will need to match the exact keystore filename that is yours (not the above example). Your password123 will also need to match the exact password that you created when setting up your validator key. The password is NOT your mnemonic.

  9. If everything has been done correctly, an exit-operations.json will be created. A message will not be displayed.
    Type (and then press Enter)

    dir
  10. Save your exit-operations.json in a safe and secure place, because once it is uploaded to https://beaconcha.in/tools/broadcast, your validator will exit. Once the exit process has started, it is irreversible.


B. Instructions for MacOS

  1. Click the Launchpad icon in the Dock, type Terminal in the search field, then click Terminal.

  2. Copy and paste (all 1 line) into the terminal and press Enter.

    Curl -OL https://github.com/wealdtech/ethdo/releases/download/v1.35.2/ethdo-1.35.2-darwin-amd64.tar.gz
  3. Confirm that the ethdo file was extracted successfully by typing and pressing Enter:

    ls
  4. Copy and paste into the terminal and press Enter:

    tar -zxf ethdo-1.35.2-darwin-amd64.tar.gz
  5. Copy and paste into the terminal and press Enter:

    ./ethdo validator credentials set --prepare-offline

    This may take 1-2 minutes to complete. When complete, the command prompt will say ‘offline-preparation.json generated’

  6. Copy your validator key (keystore JSON file) to the same directory as the ethdo program.

  7. Type (all in one line) and then press Enter:

    ./ethdo validator exit --validator=keystore-m_12381_3600_1_0_0-1709271241.json --passphrase=password123 --offline

    Note the keystore JSON file will need to match the exact keystore filename that is yours (not the above example). Your password123 will also need to match the exact password that you created when setting up your validator key. The password is NOT your mnemonic.

  8. Type the command below and then press Enter to confirm exit-operations.json was created

    ls
  9. Save your exit-operations.json in a safe and secure place, because once it is uploaded to https://beaconcha.in/tools/broadcast, your validator will exit. Once the exit process has started, it is irreversible.


C. Instructions for Linux

  1. Copy and paste the following (all 1 line) and Press Enter:

    wget https://github.com/wealdtech/ethdo/releases/download/v1.35.2/ethdo-1.35.2-linux-amd64.tar.gz
  2. Copy and paste into the terminal and press Enter:

    tar -zxf ethdo-1.35.2-linux-amd64.tar.gz
  3. Confirm that ethdo file was extracted successfully by typing and pressing Enter:

    ls
  4. Copy and paste into the terminal and press Enter:

    ./ethdo validator credentials set --prepare-offline

    This may take 1-2 minutes to complete. When complete, the command prompt will say ‘offline-preparation.json generated’

  5. Copy your validator key (keystore JSON file) to the same directory.

  6. Type (all in one line) and then press Enter:

    ./ethdo validator exit --validator=keystore-m_12381_3600_1_0_0-1709271241.json --passphrase=password123 --offline

    Note the keystore JSON file will need to match the exact keystore filename that is yours (not the above example). Your password123 will also need to match the exact password that you created when setting up your validator key. The password is NOT your mnemonic.

  7. If everything has been done correctly, an exit-operations.json will be created. A message will not be displayed.

  8. Type the command below and then press Enter to confirm exit-operations.json was created

    ls
  9. Save your exit-operations.json in a safe and secure place, because once it is uploaded to https://beaconcha.in/tools/broadcast, your validator will exit. Once the exit process has started, it is irreversible.

Have Questions?
Send us an email at [email protected]

Did this answer your question?