Migaloo Docs
  • 👋Migaloo Zone
  • Learn
    • Welcome to Migaloo
    • Migaloo v4
      • Migaloo Zone Tech
      • Modules
      • Chain Fees
    • Staking
      • Vanilla Staking
      • Liquid Staking
      • Alliance
      • ReStake DAO
        • Gauge System
        • Bribe Markets
      • Validators
        • Choose a Validator
        • Deeper Concepts
    • Governance
    • Useful Links
    • Tutorials
      • Bridge Assets
      • Stake Assets
    • FAQs
    • Asset Denoms
  • Develop
    • Contact the Core Team
    • RIDE Program
    • SAIL Program
    • CLI
      • Installing migalood
      • Useful CLI commands
      • Creating Vesting accounts on demand
  • Validate
    • Foundation Delegation Program
    • Run a Node
    • Setting up Cosmovisor
    • Join the Mainnet
      • Sync with State-Sync
      • Block Explorers
    • Join the Testnet
    • Run a Relayer
      • Relayer Grants
      • Go Relayer
      • Hermes Relayer
  • Branded Assets
    • Colour
    • Logo
    • Font
Powered by GitBook
On this page
  • Choose an Operating System
  • Install prerequisites
  • Install Go Lang
  • Build Migaloo from source
  • Once you're on the correct tag, you can build:
  • To confirm that the installation has succeeded, you can run:
  1. Develop
  2. CLI

Installing migalood

PreviousCLINextUseful CLI commands

Last updated 1 year ago

Choose an Operating System

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.

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 prerequisites

sudo apt-get update && sudo apt upgrade -y
sudo apt-get install make build-essential gcc git jq chrony -y

Install Go Lang

Follow the instructions 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

Build Migaloo from source

git clone git@github.com:White-Whale-Defi-Platform/migaloo-chain.git
cd migaloo-chain
git fetch
git checkout <version-tag>

Once you're on the correct tag, you can build:

# in migaloo-chain directory
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

Migaloo's current Mainnet tag can be found here:

Should you come across any issue when installing migalood, please reach out via the Developer Channel on

here
https://github.com/White-Whale-Defi-Platform/migaloo-chain/releases
Discord