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 ID | Block height | Chain binary version |
|---|---|---|
| colosseum-1 | 0 ~ 4,805,999 | v0.3.3-patch |
| 4,806,000 ~ 15,677,999 | v0.3.5-patch | |
| 15,678,000 ~ 19,349,999 | v0.4.0 | |
| 19,350,000 ~ 20,671,999 | v0.5.0 v0.5.0-patch (recommended) | |
| 20,672,000 ~ Afterwise | v0.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 firmachainPlease 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-patch2Build the FirmaChain binary using the following command.
bash
make installOnce 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)