Installation

Before you start

In order to use XFS-Network effectively, you need to know what it is and understand some of its fundamental concepts. So before you start using XFS-Network in earnest, we highly recommend you read What is XFS?
XFSGO is the official implementation version of XFS-Network, you can view this repositories:
GitHub - xfs-network/xfsgo: Official Go implementation of the Fixcoin protocol
GitHub
XFSGO can be installed differently, depending on the operating system. In order to create a new network node, you will need to install XFSGO according to these instructions. Note that there may be other ways to install XFSGO in addition to those described on that page, since it’s nearly impossible to keep track of all the package managers out there.

Building from Sources

Prerequisites

Install some necessary system dependencies. On Ubuntu/Debian:
1
sudo apt-get install build-essential
Copied!
To build from source, Go 1.16.4 or above must be installed on the system. This guide doesn’t cover how to install Go itself, for details read the Go installation instructions and grab any needed bundles from the Go download page . Via Linux system for example:
1
curl -L https://golang.org/dl/go1.16.4.linux-amd64.tar.gz | tar -xz -C /usr/local
Copied!
Set the Environment variable PATH to point to Go:
1
echo 'export PATH=/usr/local/go/bin:$PATH' >> ~/.bashrc && source ~/.bashrc
Copied!

Build and install XFSGO

Clone the repository to a directory of your choosing :
1
git clone https://github.com/xfs-network/xfsgo.git
Copied!
Run make command to compile from source:
1
cd xfsgo && make && make install
Copied!
This will put xfsgo in /usr/local/bin. You should now have xfsgo installed, run xfsgo version to check your version:
1
xfsgo version
Copied!