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.

circle-exclamation
  • For validator node (no index, no expose api, only keep 100 recent block):

    • 4 cores/threads

    • 8 GB ram

    • 512 GB SSD

  • For api node/full node:

    • 4 cores/threads

    • more than 16 GB ram

    • 1 TB SSD

circle-info

This hardware specification for the startup node reflects the current state of the blockchain. Over time, these requirements will increase based on the amount of data stored in the chain and the transaction load.

Build Requirements

At present, we support installation on Linux distributions.

  1. Update and install build tools

  2. Install Go

  3. 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 docsarrow-up-right 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 githubarrow-up-right. Please choose correct version tag via .

Build and install titand binary

Now verify everything installed successfully by running

You should get output like this:

Last updated