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
gitto retrieve XPLA Chain 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>.git clone https://github.com/xpladev/xpla cd xpla git checkout [latest version]Build XPLA Chain core. This will install the
xpladexecutable to yourGOPATHenvironment variable.make installVerify that XPLA Chain core is installed correctly.
xplad version --longExample:
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