Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.64 KB

build-the-xion-daemon.md

File metadata and controls

58 lines (38 loc) · 1.64 KB
description
How to build the xiond binary

Build the Xion Daemon

If you want to build the xiond binary yourself, this section will show you how.

{% hint style="info" %} :warning: Development environment

The Xion Daemon is written using the Go programming language.

This guide assumes you have a pre-existing installation on your workstation.

Adequate installation and configuration of your environment is out of scope. Please refer to the appropriate documentation for assistance. {% endhint %}

{% hint style="info" %} :warning: Go Versions

We use Go version 1.21 internally at Burnt.

If you are building the binary yourself, please make sure you are using Go 1.21, as we have observed consensus-breaking behavior on nodes that are not running the same version as the majority of the network.
A specific symptom of this would be an AppHash mismatch. {% endhint %}

Fetch the Source Code

  • Use git to retrieve the Xion repository, whose default branch contains the latest and greatest code.
$ git clone https://github.com/burnt-labs/xion.git
$ git clone https://github.com/burnt-labs/xion.git -b vX.Y.Z

Build the Binary

  • We provide a Makefile with several targets common to projects in the Cosmos ecosystem.
$ make install

Verify that the Binary was installed

  • Assuming everything went well, the binary is now available in your $PATH
$ xiond version
$ xiond version --long
$ xiond --help