From source
This guide will explain how to build and install the Titand binary from source code. Once installed on the server, you can now interact with the Titan Chain testnet as a Full node or a Validator.
This guide uses Ubuntu. You will need knowledge about how golang and linux shell.
Build Requirements
At present, we support installation on Linux distributions.
Update and install build tools
Install Go
Clone the source code of the Titan node, then proceed to build and install it.
Build Tools
Install make and gcc
Install Go
You can follow Go official docs to download and install Go.
Or follow our guide below to install Go in Ubuntu (at time of writing Go version is 1.21.0):
Add /usr/local/go/bin to the PATH environment variable. Note: This change only applies to the current shell session. If you want it to become persistent, you can add this line into $HOME/.profile.
Add your GOPATH
to PATH
environment variable. You will also want to add below path into $HOME/.profile to persistent. titand
binary will be installed into GOPATH
For now, you can check the current go version by command
Install Git
Install Titan binary
Let's clone Titan source code from github
Build and install titand binary
Now verify everything installed successfully by running
You should get output like this:
Last updated