What is seid CLI?
Theseid CLI is the command-line tool to interact with Sei. It lets you manage wallets, send transactions, query network data, and perform validator operations.
Prerequisites
- Go 1.25.6 or later is required only when you build from source. For the exact requirement, read the
go.modfile at the release tag that you check out below, for examplev6.6.1. Prebuilt binaries have no prerequisites.
Installation
To installseid, find the version that you want on the sei-chain releases page. The table below lists the versions currently in use on Sei Mainnet and Sei Testnet.
- Prebuilt binary (recommended)
- Build from source
Each release attaches a statically linked
seid build for linux/amd64 with no
runtime dependencies:Prebuilt binaries are attached from
v6.6.1 onward. For earlier versions, build
from source. The binaries are linux/amd64 only and omit hardware Ledger support.
On other architectures, or if you sign with a Ledger device, build from source.If you previously installed
seid with make install, an older copy in
$(go env GOPATH)/bin can shadow /usr/local/bin/seid, depending on your PATH
order. which -a seid lists every copy.seid is installed correctly, run this command:
Troubleshooting installation
- To find your GOPATH, run
go env GOPATH. - Add these lines to your
~/.bashrcor~/.zshrcfile:
Command overview
seid supports all the commands that you need to interact with the chain. To list the available commands with a short description of each, run seid:
The
compact, latest_version, and prune maintenance commands were removed in v6.6.0. To read the latest memIAVL version (the former latest_version), use seidb memiavl-latest-version. min-retain-blocks in the base app.toml and ss-keep-recent under [state-store] control historical-data retention.Adding a wallet
To create a new wallet, use theseid keys command:
Replace
$NAME with the name that you want for this key. The command generates a seed phrase and stores the account in the CLI.Write down this seed phrase and store it in a safe place. Never share your seed phrase with anyone.
--recover flag:
EVM wallet compatibility
Understanding coin types
Sei supports two coin types:- Coin type 118 (default): Standard Cosmos address format
- Coin type 60: Ethereum-compatible address format for EVM wallets
Creating an EVM-compatible wallet
To create a new wallet that is compatible with EVM wallets such as MetaMask, run this command:evm_address is empty here because the CLI shows it only after the key first broadcasts a transaction or is associated on-chain. The 0x address is derived deterministically from the secp256k1 public key.Importing an existing EVM wallet
To import an existing wallet from MetaMask or another EVM wallet, run this command:To use the same address across EVM-compatible chains or to import from MetaMask, use coin type 60. For standard Cosmos operations, use the default coin type 118.
Managing wallets
To list all the wallets that you added to your local keyring, run this command:Deleting wallets
To delete a wallet or key, run this command:Uninstalling seid
To removeseid from your system, delete the binary from the location where you installed it: