### Exit validator with ETHDO 1. Open a terminal and go to the path where you have the `keystore-m_....json` files 2. Pull docker image ```bash docker pull wealdtech/ethdo ``` 3. Create a ETHDO wallet ```bash! docker run --rm --platform=linux/amd64 -v $PWD:/data wealdtech/ethdo --base-dir=/data wallet create --wallet="wallet" ``` 4. Check wallet ```bash! docker run --rm --platform=linux/amd64 -v $PWD:/data wealdtech/ethdo --base-dir=/data wallet list ``` you should see something like: ```bash! docker run --rm --platform=linux/amd64 -v $PWD:/data wealdtech/ethdo --base-dir=/data wallet list wallet ``` 5. Import keystores ```bash!= #Increase for every keystore that you want to import: 0,1,2,... ID=0 #name of the keystore file KEYSTORE_FILE=keystore-m_12381_...358.json #password of you keystore PASSWORD= docker run --rm --platform=linux/amd64 -v $PWD:/data wealdtech/ethdo --base-dir=/data account import --account="wallet/${ID}" --keystore=/data/${KEYSTORE_FILE} --keystore-passphrase=${PASSWORD} --passphrase=${PASSWORD} ``` 6. Check imported wallets ```bash= docker run --rm --platform=linux/amd64 -v $PWD:/data wealdtech/ethdo --base-dir=/data wallet accounts --wallet="wallet" --verbose ``` you should see something like: ```bash= docker run --rm --platform=linux/amd64 -v $PWD:/data wealdtech/ethdo --base-dir=/data wallet accounts --wallet="wallet" --verbose 0 UUID: ccd92a0e-5aa2-4782-86aa-4b5b1489271a Public key: 0xa7396...a5df2ad8f9f7d07c3796be2 ``` 7. Sign an exit accordign to the documentation: ``` --json Generate JSON data for an exit; do not broadcast to network ``` So it shouldn't broadcast to the network ```bash= #ID of the keystor (0,1,...) ID=0 #password of you keystore PASSWORD= docker run --rm --platform=linux/amd64 -v $PWD:/data wealdtech/ethdo --base-dir=/data validator exit --json --account="wallet/${ID}" --passphrase=${PASSWORD} --allow-insecure-connections --connection http://beacon-chain.teku.dappnode:3500 ``` you should see something like: ```bash= docker run --rm --platform=linux/amd64 -v $PWD:/data wealdtech/ethdo --base-dir=/data validator exit --json --account="wallet/${ID}" --passphrase=${PASSWORD} --allow-insecure-connections --connection http://beacon-chain.teku.dappnode:3500 {"exit":{"message":{"epoch":"154634","validator_index":"XXXXX"},"signature":"0xa0b40755...799232aa79"},"fork_version":"0x02000000"} ``` Save the output:`{"exit"...":"0x02000000"}` to a .json file 8. remove the data in the directory where you have executed the commands you will see a folder with the format `62e11308-4b5e-4adf-b162-ac748bf9ce49` which you have to delete once the process is finished.