top of page
Search

Basics to get Read Only Node installed and running

To understand what we will be going over in this documentation. We will first go over the basic concepts.

Read-Only Node:

  • A read-only node, on the other hand, is a node that does not participate in the validation process of transactions or blocks.

  • It only reads and queries information from the blockchain but doesn't have the responsibility of verifying transactions or blocks.

  • Read-only nodes are often used for informational purposes, allowing users to access the data on the blockchain without the need to validate transactions.

Full Node:

  • A full node, also known as a network node or validating node, is a type of cryptocurrency node that maintains a complete copy of the blockchain ledger.

  • It independently validates and verifies all transactions and blocks according to the consensus rules of the network.

  • Full nodes contribute to the decentralization and security of the network by independently checking the validity of transactions.



Getting Started

Basic checklist or skills you as an individual will need to run the Read Only Node 

Admin Skillset:

  • Being patient and reading the documentation or guide fully

  • Knowledge on how to SSH into a server

  • Knowledge on how to grant yourself elevated rights (Superuser), by using sudo -i

  • Knowledge of using installing and using screen or tmux on Ubuntu

Hardware Recommendation:

  • 100% uptime High Speed Broadband Connection 

  • 8 Core CPU

  • 16 GB of RAM

  • 500 GB SSD or NVME Storage Drives



Installing the Read Only Node


  • Log into your Server via SSH, or if this is a Local Machine, open Terminal

  • Elevate your rights to Superuser by typing sudo -i

  • Hit enter

  • Type in your password

  • Hit enter

  • Run tmux or alternatively can use screen (I personally prefer tmux). This will allow you to close the node out after you are done setting it up and will continue to run in the background

  • Run the below code snippet line by line. After each line, hit enter to have the command accepted. Note lines starting with # are explanations and don't need to be pasted in

# Install dependencies (ex: ubuntu)
apt update -y
apt install -y golang wget git make

# Clone and build the X1 binary
git clone --branch x1 https://github.com/FairCrypto/go-x1
cd go-x1
make x1
cp build/x1 /usr/local/bin

# Run the node
x1 --testnet --syncmode snap --xenblocks-endpoint ws://xenblocks.io:6668

After the node is running, you can verify you are good to go by visiting http://186.233.186.56:5002/nodes. You should see your IP address under the Node IP column.


Can now disconnect from your terminal and you are good to go. Just double check your node is running on the link above after closing the terminal.


35 views0 comments

Recent Posts

See All

Comments


bottom of page