Teku
Note: Teku is configured to run both validator client and beacon chain client in one process.
WARNING: Do not import your validator keys into multiple validator clients and run them at the same time, or you might get slashed. If moving validators to a new setup or different validator client, ensure deletion of the previous validator keys before continuing.
Storing your keystore password in a text file is required so that Teku can decrypt and load your validators automatically.
Create a temporary file to store your keystore password. Type your password in this file.
To exit and save, press Ctrl
+ X
, then Y
, then Enter
.
Confirm that your keystore password is correct.
When specifying directories for your validator-keys, Teku expects to find identically named keystore and password files.
For example keystore-m_12221_3600_1_0_0-11222333.json
and keystore-m_12221_3600_1_0_0-11222333.txt
Run the following command to create a corresponding password file for every one of your validators.
Copy your validator_keys
to the data directory.
Setup ownership permissions, including hardening the access to this directory.
Verify that your validator's keystore .json files and validator's passwords .txt files are present by checking the following directory.
Example output of two validator's keystore.json files with matching password.txt files.
Delete the temporary keystore password file.
Finally, restart Teku to use the new validators.
Check your logs to confirm that the validators are up and functioning.
For example when using 2 validators, logs will show the following:
Press Ctrl
+ C
to exit the logs.
Example of Synced Teku Validator Client Logs
Once the validator is active and proceeded through the validator activation queue, attestation messages will appear indicating successful attestations.
Notice the key words "
Validator *** Published attestation
".