Snapshot

This document is a how-to-guide on joining the FirmaChain network using ‘Sanpshot’. * Please note that we do not provide testnet snapshots.

List of networks provided

Please refer to the genesis file, the seed and the github link.

Network

chain-id

genesis.json

seeds

github

Mainnet

colosseum-1

Initialize the firmachain

Initialize nodes and designate the moniker name.

firmachaind init <moniker-name> --chain-id <chain-id>

Rename the moniker

Before activating the chain, you can modify the moniker field in the ~/.firmachain/config/config.toml to change the name of the node.

vim .firmachain/config/config.toml

# A custom human readable name for this node
moniker = "<moniker-name>"

Setup minimum gas prices

Modify the minimum gas fee.

sed -i 's/minimum-gas-prices = "0stake"/minimum-gas-prices = "0.01ufct"/g' ~/.firmachain/config/app.toml

Set seeds

FirmaChain discloses information on seed nodes for the purpose of P2P connection.

# Mainnet
sed -i.bak -e "s/^seeds *=.*/seeds = \"f89dcc15241e30323ae6f491011779d53f9a5487@mainnet-seed1.firmachain.dev:26656,04cce0da4cf5ceb5ffc04d158faddfc5dc419154@mainnet-seed2.firmachain.dev:26656,940977bdc070422b3a62e4985f2fe79b7ee737f7@mainnet-seed3.firmachain.dev:26656\"/" ~/.firmachain/config/config.toml

Download genesis.json file

After downloading the mainnet genesis.json file, swap the file with ~/.firmachain/config/genesis.json.

# Mainnet genesis.json
wget https://raw.githubusercontent.com/FirmaChain/mainnet/main/colosseum-1/genesis.json -O ~/.firmachain/config/genesis.json

Download Snapshot file

Download the snapshot file using the following command.

wget https://firmachain-snapshot.s3.amazonaws.com/colosseum-1_2024-12-16.tar -o ~/.firmachain/data/firmachain.tar

Please unzip the file using the command below after downloading the file.

tar -xvf ~/.firmachain/data/firmachain.tar

Syncing node

Once you’ve successfully unzipped the file, please activate the FirmaChain node using the command below.

firmachaind start

Option

You can start firmachain using Cosmovisor or System Daemon.

Last updated