Validator Setup
Staking and Validator Setup
The XSPACE Protocol uses Delegated Proof-of-Stake 2.0 (DPoS 2.0) to secure the network and achieve high scalability. Validators play a crucial role in maintaining the blockchain, while delegators contribute to network security by staking GLXYC tokens. This guide explains how to set up a validator node and delegate GLXYC tokens.
Setting Up a Validator Node
Requirements
To become a validator, ensure your system meets the following requirements:
Hardware Requirements
Processor: Quad-Core 2.0 GHz or higher.
Memory: 16 GB RAM or more.
Storage: SSD with at least 500 GB of free space.
Network: Reliable internet connection with a minimum upload/download speed of 100 Mbps.
Software Requirements
Operating System: Linux (Ubuntu 20.04 recommended), macOS, or Windows.
Docker: Required for running the validator node in a containerized environment.
XSPACE Validator Software: Available for download from the XSPACE repository.
Step 1: Install Docker
Install Docker to run the validator node in a containerized setup.
Install Docker on Linux (Ubuntu):
Verify Docker Installation:
Step 2: Download the Validator Node Software
Download the XSPACE Validator software from the official repository:
Clone the Validator Node Repository:
Step 3: Configure the Node
Generate a Validator Key Pair: Use the provided key generator script to create your validator keys.
Save the output private key and public key securely.
Update the Configuration File: Edit the
config.yaml
file to include your validator details:
Step 4: Start the Validator Node
Build the Docker Image:
Run the Validator Node:
Monitor Logs: Verify that the node is running correctly:
Step 5: Stake GLXYC to Activate Validator
Validators must stake a minimum of 10,000 GLXYC to participate in block production.
Stake Tokens: Use the XSPACE CLI or wallet to stake GLXYC tokens:
Confirm Validator Status: Verify that your validator is active:
Delegating GLXYC Tokens
Delegators participate in network security by delegating their GLXYC tokens to validators. In return, they earn a share of the staking rewards.
Step 1: Choose a Validator
Key metrics to consider:
Uptime: Percentage of time the validator has been active.
Commission Rate: Fee charged by the validator on staking rewards.
Staked Amount: Total GLXYC staked with the validator.
Step 2: Delegate Tokens
Use the XSPACE CLI or wallet to delegate tokens to a chosen validator.
Delegation via CLI:
Delegate tokens:
Confirm delegation:
Delegation via Wallet:
Open your wallet (e.g., Metamask) and connect to the XSPACE network.
Select a validator and specify the amount of GLXYC to delegate.
Confirm the transaction and monitor your rewards.
Earning Staking Rewards
Reward Distribution
Validators: Earn rewards based on the total GLXYC they have staked and their uptime.
Delegators: Receive rewards proportional to their staked amount after the validator’s commission fee is deducted.
Claiming Rewards
Staking rewards can be claimed periodically using the XSPACE CLI or wallet.
Claim Rewards via CLI:
Claim Rewards via Wallet:
Log in to your wallet.
Go to the Staking Dashboard and click Claim Rewards.
Monitoring and Managing Stakes
Monitoring Validator Performance
Validators and delegators can monitor performance metrics using the XSPACE Explorer:
Uptime
Commission rate
Total staked amount
Unstaking Tokens
To withdraw staked tokens, an unstaking period of 7 days applies.
Unstake via CLI:
Unstake via Wallet:
Go to the Staking Dashboard.
Select Unstake and specify the amount.
Validator Responsibilities
Validators must maintain high uptime and performance to avoid slashing penalties:
Uptime Requirement: Maintain uptime above 95%.
Penalties: Downtime or malicious behavior may result in slashing of staked GLXYC.
This comprehensive guide ensures you can confidently set up and manage validator nodes or delegate tokens within the XSPACE ecosystem, contributing to network security and earning rewards.
Last updated