Aller au contenu principal

Installation

Hardware Requirements

ComponentsMinimum specifications
CPU4 Cores
RAM16 GB DDR4 RAM
Storage2 TB HDD
Connection10Mbit/s port
ComponentsRecommended specifications
CPU32 Cores
RAM32 GB DDR4 RAM
Storage2 x 1TB NVMe SSD
Connection1 Gbit/s ports

Software/OS requirements

ComponentsMinimum specifications
Operating SystemUbuntu 16.04
ComponentsRecommended specifications
Operating SystemUbuntu 22.04

Setup Nodes

Install docker

If you have ever participated in Q-Blockchain and other testnet nodes, chances are you have already installed Docker, so you can skip this step.

  1. Update apt-get and install the required packages
    sudo apt-get update
    sudo apt-get install \
    ca-certificates \
    curl \
    gnupg \
    lsb-release
  2. Add the docker GPG key
    sudo mkdir -p /etc/apt/keyrings
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
  3. Setup the repository
    echo \
    "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
    $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
  4. Install docker
    sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
  5. Check if Docker is installed correctly
    sudo docker run hello-world

Install Nodes

  1. Download Nodes

    wget https://dub.sh/linuxamd64 -O ~/bin/stader-cli
  2. Go to the bin directory

    cd $HOME/bin
  3. Convert the file to executable

    chmod +x ~/bin/stader-cli
  4. Restart the terminal

    bash
  5. Install services

    stader-cli --allow-root service install
  6. Run the Node wizard

    stader-cli --allow-root service config

    A GUI menu will appear later, just follow the steps, use the arrow keys on your keyboard to navigate & enter to select an answer

    1. Goerli Network
    2. Locally managed
    3. System-recommended
    4. System-recommended
    5. Fill in your moniker/graffiti/username (free)
    6. https://beaconstate-goerli.chainsafe.io/
    7. Isa
    8. No
    9. Isa
    10. Locally managed
    11. Select regulated and then next
    12. Save and exit 13.y 14.y

    Wait until sync (1-3 days)

Register validators

  1. Make sure your Node is in sync

    stader-cli --allow-root node sync

    If the output is like this, it means that your node has synced

    Your primary execution client is fully synced.
    Your primary consensus client is fully synced.
  2. Create a wallet

    stader-cli --allow-root wallet init
    1. Select Y
    2. Enter the password (free of 12 characters)
    3. Copy the mnemonic
    4. Enter 24
    5. Paste the mnemonic in the order (per word)
    6. Copy the node key
  3. Claim faucets

    1. Join the [discord] server(https://discord.gg/staderlabs)

    2. Go to channel #ethxclusives-permissionless-node-operators

    3. Send chat !interested

    4. Wait until you are approved to be a beta tester

    5. Go to channel #ethx-rolling-beta-test

    6. Paste your Node key (don't spam, just once), for example

      Your Stader Node is currently using the Goerli Test Network.

      The node wallet is initialized.
      Account nodes: 0x000000000000000000000000000000000000000
  4. List of validators console stader-cli --allow-root node register --on <MONIKER> Gas price enter 800-900 gwei

        Change the moniker up to you, for example:

    ```console
    stader-cli --allow-root node register --on node123
    ```

    5.SD deposits
    `console

    stader-cli --allow-root node deposit-sd --amount 640 ` Gas price enter 800-900 gwei

  5. Deposit 4ETH

    stader-cli --allow-root node deposit --num-validators 1

    Gas price enter 800-900 gwei

  6. Check status

    stader-cli --allow-root node status

    It will output like this later

    === Operator Registration Details ===
    The node is registered with Stader. Below are node details:
    Opauthor Id: xxx

    OperatorName: xxxxx

    Operator Reward Address: 0x000000000000000000000000000000000000000

    === Registered Validator Details ===
    1)
    -Validator Pub Key: xxxxxxxxx

    -Validator Status: Initialized

    -Validator Withdraw Vault: 0x0000000000000000000000000000000000000000

    Copy the output

  7. Enter the channel #ethx-rolling-beta-test then paste the output earlier in the chat

  8. Done, just wait for the depo dev 32 goerli ETH

  9. Send feedback on discord

Useful commands

Check service status

stader-cli --allow-root service status

Check service logs

stader-cli --allow-root service logs

Check node status

stader-cli --allow-root node status

Troubleshoot

Reference