Skip to content
This repository was archived by the owner on Feb 16, 2022. It is now read-only.

Latest commit

 

History

History
63 lines (49 loc) · 1.74 KB

File metadata and controls

63 lines (49 loc) · 1.74 KB

Phase 1 Testnet deployment ethereum

Server Preparation

Create a server of your choice and expose on ports 12000 UDP and 13000 TCP
  • (AWS example at the bottom)
SHH permissions and login to server-
$ cd ./{path to where the ssh downloaded}

$ chmod 400 {ssh file name}

$ ssh -i {ssh file name} ubuntu@{server public ip}

.env file

  • Export all required params
    • Fill the fields according to the .env provided for you by Blox
$ touch .env

$ echo "CONSENSUS_TYPE=validation" >> .env
$ echo "NETWORK=pyrmont" >> .env
$ echo "BEACON_NODE_ADDR={ETH 2.0 node}" >> .env
$ echo "VALIDATOR_PUBLIC_KEY={validator public key}" >> .env
$ echo "NODE_ID={provided node index}" >> .env
$ echo "SSV_PRIVATE_KEY={provided node private key}" >> .env
$ echo "PUBKEY_NODE_1={provided node index 1 public key}" >> .env
$ echo "PUBKEY_NODE_2={provided node index 2 public key}" >> .env
$ echo "PUBKEY_NODE_3={provided node index 3 public key}" >> .env 
$ echo "PUBKEY_NODE_4={provided node index 4 public key}" >> .env
Download and run install.sh script
$ sudo su

$ wget https://raw.githubusercontent.com/ethereum/eth2-ssv/stage/install.sh

$ chmod +x install.sh

$ ./install.sh
  • Expected output - docker container id

  • You can watch logs using that cmd -

$ docker logs ssv_node --follow

Create EC2 server guides

AWS -

  • In the search bar search for "ec2"
  • Launch new instance
  • choose "ubuntu server 20.04"
  • choose "t2.micro" (free tire)
  • skip to "security group" section
  • make sure you have 3 rules. UDP, TCP and SSH - security_permission
  • after launch, add new key pair and download the ssh file
  • launch instance