Creating validator password files
By Adrian Sutton
Teku requires a password file for each individual keystore, with the same relative path as the keystore but a .txt
extension. If all the keystores have the same password, you can copy a single password.txt
file for all the keystores with the command below:
for keyFile in keys/*; do cp password.txt "secrets/$(echo "$keyFile" | sed -e 's/keys\/\(.*\)\.json/\1/').txt"; done
Note that the keys
directory is specified twice in that command so if the keys are in a different directory name, make sure to update both places.