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
12 changes: 8 additions & 4 deletions content/node/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import Link from 'next/link';
<div id="binary-versions" className="w-full">
<h2 className="text-2xl font-bold text-neutral-800 dark:text-neutral-100 mb-4">Network Versions</h2>
<div className="overflow-hidden rounded-lg border border-neutral-200 dark:border-neutral-800">
<VersionTable showGenesis={true} />
<VersionTable showGenesis={false} />
</div>
</div>

Expand Down Expand Up @@ -252,6 +252,10 @@ For more information see [here](https://pkg.go.dev/cmd/go#hdr-GOPATH_environment
<div className="mb-4">
<h5 className="text-lg font-semibold text-neutral-800 dark:text-neutral-200 mb-3 mt-4">Initialize Chain Files</h5>

<Callout type="info">
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.
</Callout>

Peers can be found here -

- mainnet (pacific-1):
Expand All @@ -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 <your-moniker> --chain-id <chain-id> --mode validator
seid init <your-moniker> --chain-id <chain-id>

# Get genesis file
wget -O $HOME/.sei/config/genesis.json <genesis-file-url>
# Genesis is written automatically for known networks (mainnet and testnets); no download needed.

# Configure peers in config.toml.
PEERS="<comma-separated-peer-list>"
Expand Down
10 changes: 10 additions & 0 deletions content/node/validators.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 <moniker> --chain-id <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:
Expand Down
Loading