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 %}
{% tabs %} {% tab title="Update the Local Package" %}
sudo apt-get update && sudo apt upgrade -y
{% endtab %}
{% tab title="Install Toolchain" %}
sudo apt-get install make build-essential gcc git jq chrony -y
{% endtab %} {% endtabs %}
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 current Mainnet tag can be found here: https://github.com/White-Whale-Defi-Platform/migaloo-chain/releases
# in migaloo-chain directory
make install
which migalood
# Should return similar to:
# /home/<username>/go/bin/migalood
migalood version
# Will return the version number of the branch checked out above
Should you come across any issue when installing migalood, please reach out via the Developer Channel on Discord