xplad is the command-line interface and daemon that connects to XPLA Chain and enables you to interact with the XPLA Chain. XPLA Chain core is the official Golang reference implementation of the XPLA Chain node software.
This guide is for developers who want to install
xplad and interact with XPLA Chain core without running a full node. If you want to run a full node or join a network, visit Run a Full Node.
- Golang v1.18 linux/amd64
- Ensure your
GOBINenvironment variables are set up correctly.
- Linux users: install build-essential.
xplad for Mac
If you are using a Mac, follow the
xplad Mac installation guide.
The easiest way to install
xplad and XPLA Chain core is by downloading a pre-built binary for your operating system. You can find the latest binaries on the releases page. If you have a Mac, follow the Mac installation instructions.
1. Get the XPLA Chain core source code
git to retrieve XPLA Chain core, and check out the
main branch, which contains the latest stable release.
git clone https://github.com/xpladev/xpla
git checkout [latest version]
2. Build XPLA Chain core from source
Build XPLA Chain core, and install the
xplad executable to your
GOPATH environment variable.
3. Verify your XPLA Chain core installation
Verify that XPLA Chain core is installed correctly.
xplad version --long
The following example shows version information when XPLA Chain core is installed correctly:
go: go version go1.18.4 darwin/amd64
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
For more information on
xplad commands and usage, see Using xplad.