Build XPLA Chain Core
On this page
XPLA Chain core is the official Golang reference implementation of the XPLA Chain node software. Use this guide to install XPLA Chain core and xplad
, the command-line interface and daemon that connects to XPLA Chain and enables you to interact with the XPLA Chain.
Get the XPLA Chain Core Source Code
Use
git
to retrieve XPLA Chain core, and check out themain
branch, which contains the latest stable release. You can find the latest tag on the tags page or via autocomplete in your terminal: typegit checkout v
and press<TAB>
.git clone https://github.com/xpladev/xpla cd xpla git checkout [latest version]
Build XPLA Chain core. This will install the
xplad
executable to yourGOPATH
environment variable.make install
Verify that XPLA Chain core is installed correctly.
xplad version --long
Example:
name: xpla server_name: xplad version: v2.0.0 commit: ea682c41e7e71ba0b182c9e7f989855fb9595885 build_tags: netgo,ledger go: go version go1.18.2 darwin/amd64 # ...followed by a lot of dependencies
Note
If the xplad: command not found
error message is returned, confirm that the Go binary path is correctly configured by running the following command:
export PATH=$PATH:$(go env GOPATH)/bin