Beaconnode & validator using (recommended)

Step 0.

Install Homebrew
Check if Homebrew is installed through the terminal. This can be done by pressing CMD+Space and searching for Terminal. Run brew help If the output is command not found, Homebrew needs to be installed, and if it matches the picture below skip to Step 1. In order to install Homebrew use the following code: /bin/bash -c "$(curl -fsSL"

Step 1.

Install GPG brew install gnupg
Create the prysm directory: mkdir prysm
Enter the prysm directory: cd prysm
Get the script and make it executable: curl --output && chmod +x

Step 2.

Start the beaconnode
Drag and drop the file into the Terminal window and add:
beacon-chain --datadir=$HOME/prysm
The directory $HOME/prysm contains all the beaconchain data and can be accessed through Finder.
Wait for the beaconnode to be in sync with the blockchain. This may take a few hours and you will see the following message:
INFO initial-sync: Synced up to slot XXXXX

Step 3.

Create ETH2 Keys
Drag and drop the file into a new(!) Terminal window and add: validator accounts create --keystore-path=$HOME/prysm --password=yourPassword
The created keys are now located in $HOME/prysm
Copy the Raw Transaction Data and go to the participation page. Some of the instructions on the participation page will be ignored because they are not required anymore.
Follow the steps below to get Goerli ETH and to deposit them to activate your validator. If you cannot get any Goerli ETH through the participation page, join the Prysm Discord channel.

Step 4.

Start the validator
Drag and drop the file into a new(!) Terminal window and add: validator --keystore-path=$HOME/prysm --password=yourPassword

Step 5.

Track your validator performance on with your public key (orange). Once the blockchain recognises the deposit, the explorer will allow you to track the validator more accurately.
Wait for the inclusionSlot (red) to be reached. Once the blockchain has processed this slot, you will be staking! The Slot number can be tracked here.

Running multiple validators

Repeat Step 3. and create more keys into the same directory. Use the same password for all keys.
Copy the Raw Transaction Data for each validator, re-do the process on the participation page and deposit for each of them.
Once the system has received all deposits, you can just start a single validator "window", and it will use all of the created keys (=multiple validators).
For further assistance, please join the Prysmatic Labs Discord channel.
Last modified 1yr ago
Copy link