REI Network Documents
  • REI Network
    • Welcome to REI Network
    • Why We build REI Network
    • Introduction to $REI
  • Developer
    • Quick Start
    • API Reference
    • Token Addresses
    • System Contracts
      • StakeManager
      • Fee
      • ContractFee
      • Router
      • AbstractToken
      • CommissionShare
      • FeeToken
      • FeePool
      • ValidatorRewardPool
      • FreeFee
      • UnstakePool
      • FreeFeeToken
      • Config
    • Guides
      • Using The Graph
        • Using The Graph on REI Network
        • Running a Graph Node on REI Network
      • Using Gnosis Safe
      • Exchange Integration
  • REI DAO
    • What is REI DAO?
      • Background
      • Management content of REI DAO
      • How the REI DAO is implemented?
      • How REI DAO works?
    • Governance
      • About Governance
      • Governance Process
      • Voting with Snapshot
      • FAQ
    • Guides
      • Dashboard
      • Become a Validator
      • Jail Mechanism
      • Slash Mechanism
      • Voting for a Validator
      • Stake for Free Gas
      • Using BLS
        • Check BLS
      • REI@3.0.X Upgrade Guide
Powered by GitBook
On this page
  • Step1: Setup a validator node
  • Step2: Submit a Validator Profile
  • Step3: Vote/Stake to your node
  • Step4: Set commission rate
  • Step5: Claim validator reward
  1. REI DAO
  2. Guides

Become a Validator

PreviousDashboardNextJail Mechanism

Last updated 2 years ago

A validator is a participant in the network who runs validator nodes to run and secure the network. Here are some steps to run a validator node in REI Network:

Step1: Setup a validator node

Following quick start to setup your nodes and make sure your validator node is fully synced.

Minimum system requirements

  • RAM: 16GB

  • CPU: 4-core

  • Storage: 500G SSD

  • Bandwidth: 10Mb/s

Recommended system requirements

  • RAM: 32GB

  • CPU: 8-core

  • Storage: 1T SSD

  • Bandwidth: Unlimited

Step2: Submit a Validator Profile

This repository (repo) provides the details about offchain informations of validators.

Step3: Vote/Stake to your node

You can stake on REI Network by following the guides below:

Step4: Set commission rate

Commission rate represents the proportion of the validator's reward, which is a number from 0 to 100. It can only be set by the validator, and the interval between 2 modifications cannot be less than 24 hours.

Eg: If a validator sets the Commission rate to 40, then 40% of the rewards he receives will be distributed to all users who voted for this validator.

  • If the address in your wallet is a validator address, there will be a Set Commission Rate button appears beside Voting to Validator

  • Click on Set Commission Rate and enter a percent number you wanna share with voters

import { getDefaultProvider, Wallet } from "ethers";
import { StakeManager__factory } from "@rei-network/contracts";

const provider = getDefaultProvider("https://rpc-mainnet.rei.network");

const wallet = new Wallet("yourPrivateKey", provider);

const stakeManager = StakeManager__factory.connect(
  "0x0000000000000000000000000000000000001001",
  wallet
);

stakeManager
  .setCommissionRate("commissionRate")
  .then(() => {
    // ...
  })
  .catch(() => {
    // ...
  });

Step5: Claim validator reward

Click on Get Reward and Claim block producer rewards in the validator list

import { getDefaultProvider, Wallet } from "ethers";
import { StakeManager__factory } from "@rei-network/contracts";

const provider = getDefaultProvider("https://rpc-mainnet.rei.network");

const wallet = new Wallet("yourPrivateKey", provider);

const stakeManager = StakeManager__factory.connect(
  "0x0000000000000000000000000000000000001001",
  wallet
);

stakeManager
  .startClaim("receiveAddress", "claimAmount")
  .then(() => {
    // ...
  })
  .catch(() => {
    // ...
  });

Navigate to

Node: The reward will be vested for 7 days before you can finally claim it, checkout

Quick Start
Voting for a Validator
https://dao.rei.network/#/stake
GitHub - REI-Network/rei-validator: OffChain informations of REI network validatorGitHub
REI Validator Profile Guideline
Logo
Set Commission Rate
Set Commission Rate
Claim Vested Stake