# Commands

# Introduction

IRIS Daemon Commands allow you to init, start, reset a node, or generate a genesis file, etc.

You can get familiar with these commands by creating a Local Testnet.

# Usage

iris <command>

# Available Commands

Name Description
init Initialize private validator, p2p, genesis, and application configuration files
add-genesis-account Add genesis account to genesis.json
gentx Generate a genesis tx carrying a self delegation
collect-gentxs Collect genesis txs and output a genesis.json file
start Run the full node
unsafe-reset-all Resets the blockchain database, removes address book files, and resets priv_validator.json to the genesis state
tendermint Tendermint subcommands
testnet Initialize files for a Irishub testnet
reset Reset app state to the specified height
export Export state to JSON
version Show executable binary version

# Global Flags

Name,shorthand Default Description Required Type
-h, --help Help for iris
--home /$HOME/.iris Directory for config and data String
--log_level *:info Log level (default "main:info,state:info,*:error") String
--trace Print out full stack trace on errors