Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ make install

* Install seid binary

* Initialize node: `seid init <moniker> --chain-id sei-testnet-1`
* Initialize node (use `--mode validator` so RPC/P2P bind to localhost): `seid init <moniker> --chain-id sei-testnet-1 --mode validator`

* Download the Genesis file: `wget https://github.com/sei-protocol/testnet/raw/main/sei-testnet-1/genesis.json -P $HOME/.sei/config/`

Expand Down
5 changes: 3 additions & 2 deletions cmd/seid/cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command {
cmd := &cobra.Command{
Use: "init [moniker]",
Short: "Initialize private validator, p2p, genesis, and application configuration files",
Long: `Initialize validators's and node's configuration files.`,
Args: cobra.ExactArgs(1),
Long: `Initialize the node's configuration files. Default mode is "full" (RPC and P2P bind to all interfaces).
For validator or seed nodes, pass --mode validator or --mode seed so RPC and P2P bind to localhost only.`,
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
clientCtx := client.GetClientContextFromCmd(cmd)
cdc := clientCtx.Codec
Expand Down
Loading