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
-
Use
gitto retrieve Fluid Core, and check out themainbranch, which contains the latest stable release. You can find the latest tag on the tags page or via autocomplete in your terminal: typegit checkout vand press<TAB>._3git clone https://github.com/terra-money/core_3cd core_3git checkout [latest version] -
Build Fluid Core. This will install the Terrad executable to your
GOPATHenvironment variable._1make install -
Verify that Fluid Core is installed correctly.
_1terrad version --longExample:
_7name: terra_7server_name: terrad_7version: v2.0.0_7commit: ea682c41e7e71ba0b182c9e7f989855fb9595885_7build_tags: netgo,ledger_7go: go version go1.18.2 darwin/amd64_7# ...followed by a lot of dependenecies
If the terrad: command not found error message is returned, confirm that the Go binary path is correctly configured by running the following command:
_1export PATH=$PATH:$(go env GOPATH)/bin