The operating system you use for your node is entirely your personal preference. You will be able to compile the
migaloo
daemon on most modern linux distributions and recent versions of macOS.
{% hint style="info" %} 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. {% endhint %}
# 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
Follow the instructions here to install Go. Please install Go v1.20 or later.
For an Ubuntu LTS, you can probably use:
wget https://golang.org/dl/go1.20.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.20.linux-amd64.tar.gz
Unless you want to configure in a non-standard way, then set these in the .profile
in the user's home (i.e. ~/
) folder.
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
git clone [email protected]:White-Whale-Defi-Platform/migaloo-chain.git
cd migaloo-chain
git fetch
git checkout <version-tag>
Migaloo's mainnet is not live yet. Once it is launched, you can review the latest mainnet version tag here.
{% hint style="warning" %}
The testnet tag is v1.0.0-rc0
- i.e:
git checkout v1.0.0-rc0
{% endhint %}
Once you're on the correct tag, you can build:
# in migaloo-chain dir
make install
To confirm that the installation has succeeded, you can run:
which migalood
# Should return similar to:
# /home/<username>/go/bin/migalood
migalood version
# Will return the version number of the branch checked out above
Continue with Join the Mainnet or Join the Testnet.