Skip to content

Latest commit

History

History
46 lines (30 loc) 路 1020 Bytes

terrad_init.mdx

File metadata and controls

46 lines (30 loc) 路 1020 Bytes
title sidebar_position
Init
7

terrad init

Initialize private validator, p2p, genesis, and application configuration files. To learn how to run a full node, visit the Full node guide.

You can access Terrad's config files by running the following.

code ~/.terra/config/genesis.json

Synopsis

Initialize the validators' and node's configuration files.

Usage

terrad init [moniker] [flags]

Example

terrad init myNode

Options

      --chain-id string   genesis file chain-id, if left blank will be randomly created
  -h, --help              help for init
      --home string       node's home directory (default "/Users/.terra")
  -o, --overwrite         overwrite the genesis.json file
      --recover           provide seed phrase to recover existing key instead of creating

See also

  • terrad - The Terra Blockchain's CLI and node daemon.