Install a node
A Sei mainnet node from the latest snapshot: one command on the machine that will host it, then seid start.
Two variants. Without the state store (SS) — the default: current state only, for validators and nodes that follow the head; the installer sets ss-enable = false. With the state store (--with-ss, about 40 GB more) — for RPC nodes that answer historical queries: the snapshot carries about the last 100,000 blocks of history, copied after the snapshot height, and the installer sets ss-enable = true. Without a flag the installer asks on the terminal; an app.toml that already has ss-enable = true gets the variant with SS; with no terminal it takes the variant without SS.
Do not switch SS on later on a node restored without it: seid refuses to start (“Enabling SS store without state sync could cause data corruption”), and a state store copied from elsewhere would give wrong history. Install the variant you need.
One command
With options:
| --home DIR | node home, default ~/.sei. Without a config inside it, the script runs seid init and fetches the genesis. |
| --jobs N | parallel downloads, default 8. On a 1 Gbit/s line 8–16 saturate it. |
| --seid PATH | which binary to check the version of, default seid in PATH. |
| --with-ss | the variant with the state store, for an RPC node with historical queries (~40 GB more). |
| --no-ss | the variant without the state store, without asking. |
| --force-version | install even if your seid is a different version. Do not, unless you know why. |
data/priv_validator_state.json. It is not in the snapshot — it records the last height your key signed, and it protects you from double signing. When you move the old data/ aside, leave this file in data/ (or copy it back before seid start): the installer keeps it as is. If it is missing, the installer writes a new one at height 0 and warns you. Never run two nodes with the same priv_validator_key.json.What happens
- Checks. Linux x86_64, curl, zstd, tar, python3, sha256sum; your seid version against the manifest; free disk; an empty
data/state_commit. - Download. All parts at once. Each part's sha256 is checked while it streams; byte ranges are written straight to their place, small files unpack from tar — no archive is ever stored.
- Recompute. The SHA-256 hashes stripped from memIAVL
nodes/leavesare rebuilt with hashtool (its sha256 is in the manifest), and every tree root is compared with the snapshot's commit info. Any mismatch stops the script with “do not start the node on this data”. FlatKV (all EVM state since v6.7) uses a lattice hash and ships as is; the installer points itscurrentat the published snapshot, and on open seid rolls it back to the memIAVL version. - Configure.
ss-enable = false(ortrueandss-keep-recentfor the variant with SS) and[state-sync] snapshot-interval = 0in app.toml; persistent peers in config.toml; state sync off. An existingdata/priv_validator_state.jsonis kept; a new one is created only if there is none.
After seid start
First minutes. memIAVL replays the changelog shipped with the snapshot up to the published height — on our builder that took about five minutes. Then the node checks the full app_hash — memIAVL stores and FlatKV's evm_lattice — against the Tendermint state, which was written for exactly that height by a light-client bootstrap, and starts fetching blocks from peers.
Then. It catches up the blocks produced since the snapshot. Our own test node from the same kind of copy was at the head 318 s after start.
Upgrades. The manifest names the seid version the state was written with. After a network upgrade the next snapshot is written by the new binary; run that one.
What the tester printed when it ran this —
—
Every scheduled run
—One bar per scheduled run; height is the whole time from the command to the head, download included. Failures stay red and stay here.