Skip to main content

Build Fluid Core

Fluid Core is the official Golang reference implementation of the Fluid node software. Use this guide to install Fluid Core and Terrad, the command-line interface and daemon that connects to Fluid and enables you to interact with the Fluid blockchain.

Get the Fluid Core source code

  1. Use git to retrieve Fluid Core, and check out the main branch, which contains the latest stable release. You can find the latest tag on the tags page or via autocomplete in your terminal: type git checkout v and press <TAB>.


    _3
    git clone https://github.com/terra-money/core
    _3
    cd core
    _3
    git checkout [latest version]

  2. Build Fluid Core. This will install the Terrad executable to your GOPATH environment variable.


    _1
    make install

  3. Verify that Fluid Core is installed correctly.


    _1
    terrad version --long

    Example:


    _7
    name: terra
    _7
    server_name: terrad
    _7
    version: v2.0.0
    _7
    commit: ea682c41e7e71ba0b182c9e7f989855fb9595885
    _7
    build_tags: netgo,ledger
    _7
    go: go version go1.18.2 darwin/amd64
    _7
    # ...followed by a lot of dependenecies

tip

If the terrad: command not found error message is returned, confirm that the Go binary path is correctly configured by running the following command:


_1
export PATH=$PATH:$(go env GOPATH)/bin