Links

Sourced Installation and Setup

Instruction to install the sourced binary

Choose an Operating System

The operating system you use for your node is entirely your personal preference. You will be able to compile the sourced daemon on most modern linux distributions and recent versions of macOS.
For the tutorial, it is assumed that you are using an Ubuntu LTS release.
If you have chosen a different operating system, you will need to modify your commands to suit your operating system.

Install pre-requisites

# update the local package list and install any available upgrades
sudo apt-get update && sudo apt upgrade -y
# install toolchain and ensure accurate time synchronization
sudo apt-get install make build-essential gcc git jq chrony -y

Install Go

Follow the instructions here to install Go.
For an Ubuntu LTS, you can probably use:
wget https://golang.org/dl/go1.18.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.18.2.linux-amd64.tar.gz
Please install Go v1.18 or later.
Unless you want to configure in a non standard way, then set these in the .profile in the user's home (i.e. ~/) folder.
nano ~/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
After updating your ~/.profile you will need to source it:
source ~/.profile

Install Ignite Cli

Follow the instructions here to install Ignite CLI. (Ignite CLI can also be used in an online Gitpod container here)
sudo curl https://get.ignite.com/cli! | sudo bash

Clone Source Chain Repo

git clone -b testnet https://github.com/Source-Protocol-Cosmos/source.git

Compile sourced binary

cd ~/source
ignite chain build