What is seid CLI?
Theseid CLI is the command-line tool for interacting with the Sei blockchain. It allows you to manage wallets, send transactions, query network data, and perform validator operations.
Prerequisites
- Go 1.23+: Installation instructions are available here.
Installation
To install seid, locate the version you wish to use on the sei-chain releases page. A list of the currently used versions on mainnet and testnet are displayed right below. Then, execute the following commands with the version that you picked:Troubleshooting Installation
- Use
go env GOPATHto find your GOPATH - Add the following lines to your
~/.bashrcor~/.zshrc:
Command Overview
Seid supports all the commands you need to interact with the chain. To see a list of available commands and explanations of what they do, run seid:Adding a Wallet
You can create a new wallet using the seid keys command:Please replace
$NAME with the name you would like to use for this key. This will generate a seed phrase and store the account in the CLI for use.Important: Write this mnemonic down 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’s compatible with EVM wallets like MetaMask:evm_address is shown as empty here because it’s only displayed after the key first broadcasts a transaction or is associated on-chain. The 0x address is deterministically derived from the secp256k1 public key.Importing an Existing EVM Wallet
To import an existing wallet from MetaMask or other EVM wallets:Use coin type 60 when you want to use the same address across EVM-compatible chains or import from MetaMask. Use the default coin type 118 for standard Cosmos operations.
Managing Wallets
To see your local wallets, you can run:Deleting Wallets
To delete a wallet/key, you can use the following command:Uninstalling seid
If you need to removeseid from your system, you can delete the binary from your $GOPATH/bin directory: