Here’s a guide for setting up a Stader validator node:
Prerequisites
Hardware Requirements: Ensure you have the required hardware for running a node on Ethereum, such as a multi-core CPU, 32GB RAM, 1TB SSD, and a stable internet connection.
Docker: Install Docker, as Stader nodes use containerization. You can verify Docker installation by running docker --version. If not installed, refer to the Docker installation guide based on your OS.
Steps for Setting Up the Validator Node:
1. Open Necessary Ports
Ensure that the required ports are open:
Execution client: 30303 TCP/UDP
Lighthouse: 9001 TCP/UDP
Prysm: 13000 TCP, 12000 UDP
2. Download Stader CLI
Navigate to your home directory and create a new bin folder:
cd~mkdir~/bin
Then, download the Stader CLI based on your system architecture:
Install the node by running the following command (depending on your OS):
Restart the terminal after installation to apply the necessary permissions.
4. Sync Execution and Consensus Clients
Configure the execution and consensus clients to ensure they are in sync. Depending on your chosen clients (e.g., Lighthouse, Prysm), refer to their respective syncing instructions.
5. Wallet Setup
Initialize a wallet for the node using the CLI:
Follow the prompts to secure your wallet, including setting up a password and writing down your 24-word mnemonic safely. You’ll receive your operator address once this is completed.
6. Register Node on Stader Network
To register the node, run:
Replace <your_node_name> with the name you want for your node. Ensure that your node operator address is whitelisted if required.
7. Deposit ETH and SD
After node registration, you will need to deposit the required amount of ETH and SD (Stader tokens) into your node wallet. This finalizes the setup to start validating.