Skip to content

Running a Validator

The following section provides insights about running a Prysm Validator as a docker container.

cd /opt/applications/cryptouille

Create a wallet

docker run -it -v ${PWD}/prysm-wallet-v2:/prysm-wallet-v2 \
  -v ${PWD}/wallet-password.txt:/wallet-password.txt:ro \
  docker.touille.io/cryptouille/validator:stable wallet create \
    --wallet-dir /prysm-wallet-v2 \
    --wallet-password-file /wallet-password.txt \
    --accept-terms-of-use

Import account(s) present in keys-dir/ folder

docker run -it -v ${PWD}/keys-dir:/keys-dir \
  -v ${PWD}/prysm-wallet-v2:/prysm-wallet-v2 \
  -v ${PWD}/wallet-password.txt:/wallet-password.txt:ro \
  docker.touille.io/cryptouille/validator:stable \
    accounts import --keys-dir=/keys-dir \
    --wallet-dir /prysm-wallet-v2 \
    --wallet-password-file /wallet-password.txt \
    --accept-terms-of-use

Ensure account is imported

docker run -it -v ${PWD}/keys-dir:/keys-dir \
  -v ${PWD}/prysm-wallet-v2:/prysm-wallet-v2 \
  -v ${PWD}/wallet-password.txt:/wallet-password.txt:ro \
  docker.touille.io/cryptouille/validator:stable \
    accounts list \
    --wallet-dir /prysm-wallet-v2 \
    --wallet-password-file /wallet-password.txt \
    --accept-terms-of-use

Reset web password

rm ${PWD}/prysm-wallet-v2/rpc-password-hash
-> Delete ${wallet-dir}/rpc-password-hash file and restart

To generate one, this site could be used:

select 8 rounds, copy bCrypt Hash value