User Instructions
Last updated
Last updated
Note: In this video, we have taken the example of a validator from ethereum testnet to demonstrate the script. Due to security reasons, we can't demonstrate mainnet activity here. Make sure you also follow best security practices while performing the steps and do not share your mnemonic or other sensitive information related to your validator.
Open your terminal/powershell and navigate to the folder that has your Key.pem file.
Note: “Key.pem” is your ec2 instance key that was generated during validator creation. To navigate into the folder, type in the following command:
Login to your AWS console, and search for EC2.
Open the EC2 dashboard and click on Instances.
Select the validator instance and click on Connect (top right).
Under SSH Client, you will find a command. For example,
ssh -i "Key.pem" ec2-user@ec2-xx-xxx-xxx-xx.compute-1.amazonaws.com
Copy the command and paste it into your terminal/powershell and click enter.
Now, move into your validator keys folder. You can do that by simply using the following command.
Type in the following command and click enter. You should see the contents inside your validator_keys folder.
Now, move back to your home directory by simply typing the following and clicking enter.
Copy and paste the following command
Enter the name of your deposit-data.json file. This file lies in your validator_keys folder that you created while setting up your validator.
Enter your 24 words validator mnemonic phrase that was generated during key generation for your nodes. Make sure you are not sharing your screen with anyone while performing this because the mnemonic phrase sensitive information.
Enter the start validator index. Validator start index is 0 if you want to set up withdrawal address for all your validators.
Enter a wallet address of yours to which you have full access, which could be your Ethereum wallet address, that you deployed your node from, For example, your metamask wallet address or any other Ethereum address of your ownership.
Note: Once the execution address is provided, it cannot be changed. Make sure you have full access to the wallet address. All the rewards will be deposited to that address. If you lose access to the wallet address, you will lose your funds.
Once this step has been successful, the terminal will prompt you to enter your chosen wallet address one more time.
This will create a folder “bls_to_execution_changes” in which you can find the file “bls_to_execution_changes.json” which needs to be broadcasted onto the blockchain. Below is a video for your reference.
Before broadcasting, your beaconcha validator would look like the below shown image:
To broadcast the file, enter the following command
Enter your bls_to_execution_change.json file location here.
Enter the following command to find the location of your bls_to_execution_change.json file, if you are having any trouble to do so.
Note: The location will be displayed in the terminal/powershell as well, once the file is created. For example, /home/ec2-user/bls_to_execution_changes.json.
It should display “Broadcasting…” once completed successfully.
Now, go to the www.beaconcha.in dashboard and search for your validator, the change would be reflected here. You can see that your withdrawals are enabled.