commands
This document provides instructions on the CLI command which can be used in the FirmaChain daemon.
commands was written based on FirmaChain v0.3.5-patch.
add-genesis-account
Add genesis account information to the genesis.json file. In order to run the command, you need the wallet address and amount.
Usage
Example
collect-gentxs
Registers the information on "gentx-.json" file to the genesis.json file. "gentx-.json" files can only be registered if they are in the ".firmachain/config/gentx/" path.
Usage
export
Must run the command after halting the chain.
Exports the state to JSON.
Usage
Usage (Save to file)
gentx
This is a command to create a self delegating Validator and must be signed with a private key in the key ring. Once this command is successfully executed, a json file containing the Validator information will be created in the gentx folder.
Usage
Example
help
You can check the list of available commands.
Usage
init
This command is used for initialization which is required for node formation.
Usage
Example
keys
Keyring management commands. These keys may be in any format supported by the Tendermint crypto library and can be used by light-clients, full nodes, or any other application that needs to sign with a private key. For the sub commands of the keys command, please refer to this list.
migrate
Migrate the source genesis into the target version and print to STDOUT.
Usage
Example
query (q)
Using the query command, you can search the data registered on the chain. For the sub commands of the query command, please refer to this list.
rosetta
spin up a rosetta server
start
Run the full node application with Tendermint in or out of process. By default, the application will run with Tendermint in process.
Usage
status
This feature shows the information(status) of the nodes currently in operation.
Usage
tendermint
Manages the Tendermint protocol.
tx
This command allows you to register and sign on the chain. For the sub command of the tx command, please refer to this list.
Last updated