Description:
SafeStake is a decentralized validation framework for performing ETH2 duties and its backend is designed on top of Lighthouse (ETH2 consensus client) and Hotstuff (a BFT consensus library).
- Public Static Network IP
- Hardware(recommend)
- CPU: 16
- Memory: 32G
- Disk: 600GB
- OS
- Unix
- Software
- Docker
- Docker Compose
Login your server(jumpserver recommand)
sudo systemctl enable docker
sudo mkdir -p /data/geth
sudo mkdir -p /data/lighthouse
sudo mkdir -p /data/jwt
sudo mkdir -p /data/operator
openssl rand -hex 32 | tr -d "\n" | sudo tee /data/jwt/jwtsecret
git clone --recurse-submodules https://github.com/ParaState/SafeStakeOperator.git dvf
cd dvf
cp .env.example .env
- Follow the document https://docs.infura.io/infura/
- Regiter a infura account
- Create new key
- Select goerli network
- Select Websocks
- Copy your WS_URL
vim .env
Fill your WS_URL
sudo docker compose -f docker-compose-operator.yml up -d
sudo docker compose -f docker-compose-operator.yml logs -f operator | grep "node public key"
output
dvf-operator-1 | [2022-08-13T16:01:33.814Z INFO dvf::node::node] node public key Al0wMNz3JpkYDH7HVp93dZfLMt1GJHypLfhwOWS0NwC/
path
/data/operator/prater/node_key.json