- RPC / full nodes: these nodes are generally used to query data or to interact with the chain. They keep some state, but not all state since genesis. The default settings run an RPC / full node.
-
Archive / full nodes: these nodes keep the full state of the chain from genesis. They generally need large disks (at least 10 TB). To enable this type of node, set
min-retain-blocks=0andpruning="nothing"in yourapp.toml. Also setss-keep-recent = 0under[state-store]so that the SeiDB state store keeps every version. -
State sync nodes: these nodes serve snapshot data that other nodes use to bootstrap onto the chain. To enable this type of node, set a non-zero
snapshot-intervalunder[state-sync]inapp.toml. Theenable=truesetting under[statesync]inconfig.tomldoes the opposite: it makes a node bootstrap from the snapshots of other nodes. -
Validator nodes: these nodes propose and sign blocks to secure the chain. To enable this type of node, set
mode=validatorinconfig.toml. Because Sei uses proof of stake, you must have enough delegation to join the active set.
Commonly used ports
Theseid binary uses these TCP ports. Change their settings to match your environment.
26656: The default port for P2P communication. This port is used to communicate with other nodes. It must be open for the node to join a network.26657: The default port for the RPC interface. This port is used to send queries and transactions, so it must be open to serve queries fromseid.1317: The default port for HTTP RESTful requests to theseidAPI server. Applications and services can use it to interact with theseidinstance through RPC.9090: The default port for gRPC communication. This port is used for high-performance communication with the node.8545: The default port for EVM HTTP RPC. This port is used for Ethereum JSON-RPC calls. It must be open if you want to interact with EVM-compatible applications. Thefrozen-rpc-routerbinary also listens on127.0.0.1:8545by default. If you run the router on the same host as a live node, move one of them to a different port. The linked example keeps the router on8545and moves the two co-located nodes to9545and9546.8546: The default port for EVM WebSocket RPC. EVM applications that need WebSocket connections use this port for real-time communication.26660: The default port for the Prometheus database, which you can use to monitor the environment. In the default configuration, this port is not open.
$HOME/.sei/config/config.toml and $HOME/.sei/config/app.toml.