Become a Validator
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
  • RAM: 32GB
  • CPU: 8-core
  • Stroage: 1T SSD
  • Bandwidth: Unlimited

Step2: Vote/Stake to your node

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

Step3: 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 24hours.
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.
UI
Ethers
  • If the address in your wallet is an validator address, there will be a Set Commission Rate button appear besides Voting to Validator
Set Commission Rate
  • Click on Set Commission Rate and enter a percent number you wanna share to voters
Set Commission Rate
1
import { getDefaultProvider, Wallet } from "ethers";
2
import { StakeManager__factory } from "@rei-network/contracts";
3
4
const provider = getDefaultProvider("https://rpc-mainnet.rei.network");
5
6
const wallet = new Wallet("yourPrivateKey", provider);
7
8
const stakeManager = StakeManager__factory.connect(
9
"0x0000000000000000000000000000000000001001",
10
wallet
11
);
12
13
stakeManager
14
.setCommissionRate("commissionRate")
15
.then(() => {
16
// ...
17
})
18
.catch(() => {
19
// ...
20
});
Copied!

Step4: Claim validator reward

UI
Ethers
Claim block producer rewards in validator list
Get Reward
Get Reward
1
import { getDefaultProvider, Wallet } from "ethers";
2
import { StakeManager__factory } from "@rei-network/contracts";
3
4
const provider = getDefaultProvider("https://rpc-mainnet.rei.network");
5
6
const wallet = new Wallet("yourPrivateKey", provider);
7
8
const stakeManager = StakeManager__factory.connect(
9
"0x0000000000000000000000000000000000001001",
10
wallet
11
);
12
13
stakeManager
14
.startClaim("receiveAddress", "claimAmount")
15
.then(() => {
16
// ...
17
})
18
.catch(() => {
19
// ...
20
});
Copied!
Node: The reward will be vested for 7 days before you can finally claim it, checkout Claim Vested Stake