Skip to content

Installation firmachaind ​

This document is the FirmaChain binary installation guide. FirmaChain was built using Cosmos SDK that utilizes the tendermint consensus algorithm.

Call binary after building ​

INFO

SYNCING FROM GENESIS

When joining the FirmaChain network using “Syncing from genesis” you must change the FirmaChain binary into the appropriate version at a certain block height. For information on the appropriate version of binary per block height, please refer to the list below.

Chain IDBlock heightChain binary version
colosseum-10 ~ 4,805,999v0.3.3-patch
4,806,000 ~ 15,677,999v0.3.5-patch
15,678,000 ~ 19,349,999v0.4.0
19,350,000 ~ 20,671,999v0.5.0
v0.5.0-patch (recommended)
20,672,000 ~ Afterwisev0.5.1
v0.5.1-patch
v0.5.1-patch2 (recommended)

Using ‘git clone’, call the FirmaChain project and access the directory.

bash
git clone https://github.com/firmachain/firmachain.git
cd firmachain

Please change the branch accorrdingly using the release tag.

bash
# Syncing from genesis
git checkout v0.3.3-patch

# Statesync or Snapshot (before v0.4.0 upgrade)
git checkout v0.3.5-patch

# Statesync or Snapshot (after v0.4.0 upgrade)
git checkout v0.4.0

# Statesync or Snapshot (after v0.5.0 upgrade)
git checkout v0.5.0
# Recommended
git checkout v0.5.0-patch

# Statesync of Snapshot (after v0.5.1 upgrade)
git checkout v0.5.1
git checkout v0.5.1-patch
# Recommended
git checkout v0.5.1-patch2

Build the FirmaChain binary using the following command.

bash
make install

Once you complete the binary build, you can check the installation path and version information using the “firmachaind” command.

bash
sudo mv ~/go/bin/firmachaind /usr/local/bin/firmachaind

firmachaind version
# The git checkout version information is displayed.
# v0.3.3-patch
# v0.3.5-patch (before v0.4.0 upgrade)
# v0.4.0 (after v0.4.0 upgrade)
# v0.5.0 (after v0.5.0 upgrade)
# v0.5.0-patch (recommended)
# v0.5.1 (after v0.5.1 upgrade)
# v0.5.1-patch
# v0.5.1-patch2 (recommended)