Developers Forum for XinFin XDC Network

Daisy Saini
Daisy Saini

Posted on

How to Run Your $SRX Node

StorX is one of the best nodes for passive income

Farm Node Staking Requirements

Farm Node Hardware Requirements

  • One Processor Core
  • Minimum 1 TB of available disk space
  • Minimum 10 TB of available bandwidth a month
  • Minimum upload speed of 25 MBPS
  • Minimum download speed of 25 MBPS
  • Ensure Node availability 24/7

How to Acquire SRX Token ?

Acquire tokens from the exchanges or by Referring StorX to your friends or earn as Bounty

To get hosting and staking rewards, farmer must stake the SRX token and maintain sufficient node 'REPUTATION'.

Low 'REPUTATION' may result into reduce in Hosting rewards.

How to Setup StorX Farmer node

Method 1: Setup StorX Farmer node Bootstrap Script

Bootstrap Command StorX Node Setup:

sudo su -c "bash <(wget -qO- https://raw.githubusercontent.com/StorXNetwork/StorX-Node/main/bootstrap.sh)" root 
Enter fullscreen mode Exit fullscreen mode

Examples :-

root……..:~# sudo su -c "bash <(wget -qO- https://raw.githubusercontent.com/StorXNetwork/StorX-Node/main/bootstrap.sh)" root
Please enter your XDC Address for StorX Rewards:- xdc……
Enter fullscreen mode Exit fullscreen mode

Method 2: Setup StorX Farmer Node Docker

Operating System: Ubuntu 20.04 64-bit or higher Should be facing internet directly with public IP & without NAT

Tools: Docker, Docker Compose (1.29.2+) Setup (For Ubuntu 20.04 64-bit or higher Operating System)

Clone repository

git clone https://github.com/StorXNetwork/StorX-Node
Enter fullscreen mode Exit fullscreen mode

Enter StorX-Node directory

cd StorX-Node
Enter fullscreen mode Exit fullscreen mode

Step 1: Install docker & docker-compose

sudo bash ./install_docker.sh
Enter fullscreen mode Exit fullscreen mode

Step 2: Update .env file with details

Create .env file by using the sample - .env.example
Enter either your StorX Rewards address in the WALLETADD field.
cp env.example .env
nano .env

Step 3: Start your Node

For MainNet Run:

sudo docker-compose -f docker-services.yml up -d
Enter fullscreen mode Exit fullscreen mode

To stop the node or if you encounter any issues use:

sudo docker-compose -f docker-services.yml down
Enter fullscreen mode Exit fullscreen mode

Step 4: Stake SRX token

After setting up FarmNode/StorageNode please Stake SRX token from the URL : https://farmer.storx.io/

IMP Note : You have to stake SRX token to get hosting and staking rewards.

How to Check Status

To check the status of your node:

sudo bash ./getstatus.sh
Enter fullscreen mode Exit fullscreen mode

How to Upgrade your StorX Farmer Node

How to upgrade your StorX node with the latest changes?

git pull
sudo bash ./upgrade.sh
Enter fullscreen mode Exit fullscreen mode

Any Queries, Follow StorX social channels:

Twitter

LinkedIn

Facebook

Reddit

Telegram

Discussion (0)