From 1a188f5555aa2982f65eaa285e241e10a3ad4bb2 Mon Sep 17 00:00:00 2001 From: Mojtaba Date: Wed, 18 Feb 2026 10:22:44 +0000 Subject: [PATCH] chore: update init command changes --- content/node/index.mdx | 12 ++++++++---- content/node/validators.mdx | 10 ++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/content/node/index.mdx b/content/node/index.mdx index 99ae50b7..820f0ffa 100644 --- a/content/node/index.mdx +++ b/content/node/index.mdx @@ -53,7 +53,7 @@ import Link from 'next/link';

Network Versions

- +
@@ -252,6 +252,10 @@ For more information see [here](https://pkg.go.dev/cmd/go#hdr-GOPATH_environment
Initialize Chain Files
+ +Default init mode is **full** (RPC/P2P bind to all interfaces). For **validator** or **seed** nodes, use `--mode validator` or `--mode seed` so RPC and P2P bind to localhost only. See the [Validator Operations Guide](/node/validators) for the full validator init example. + + Peers can be found here - - mainnet (pacific-1): @@ -267,11 +271,11 @@ PEERS="b2664ccaa84a04b67683093fefb802b172ead6d1@sei-a2-rpc.p2p.brocha.in:30612,b ``` ```bash copy -# Initialize node +# Initialize node (default mode is full: RPC/P2P bind to all interfaces) +# For validator nodes, use: seid init --chain-id --mode validator seid init --chain-id -# Get genesis file -wget -O $HOME/.sei/config/genesis.json +# Genesis is written automatically for known networks (mainnet and testnets); no download needed. # Configure peers in config.toml. PEERS="" diff --git a/content/node/validators.mdx b/content/node/validators.mdx index 3fd3f399..ef82b88e 100644 --- a/content/node/validators.mdx +++ b/content/node/validators.mdx @@ -22,6 +22,16 @@ A validator in the Sei network serves several critical functions. As a validator ## Initial Setup +### Initialize node + +Before key management and registration, initialize your node with validator mode so that RPC and P2P bind to localhost (recommended for validator security): + +```bash copy +seid init --chain-id --mode validator +``` + +The default init mode is **full**, which binds RPC and P2P to all interfaces (`0.0.0.0`). For validator (and seed) nodes, use `--mode validator` or `--mode seed` so that RPC and P2P listen on localhost only. Genesis is written automatically for known networks; no separate download is required. + ### Key Management The security of your validator begins with proper key management. Your validator requires several distinct keys: