-
Notifications
You must be signed in to change notification settings - Fork 6
docs: restore prebuilt seid binary install option (v6.6.1 ships binaries) #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,32 +12,64 @@ | |
|
|
||
| ## Prerequisites | ||
|
|
||
| - Go 1.23+: Installation instructions are available [here](https://go.dev/doc/install). | ||
| - Go 1.23+ (build from source only): Installation instructions are available [here](https://go.dev/doc/install). The prebuilt binary has no prerequisites. | ||
|
|
||
| ## Installation | ||
|
|
||
| To install seid, locate the version you wish to use on the [sei-chain releases page](https://github.com/sei-protocol/sei-chain/releases). A list of the currently used versions on mainnet and testnet are displayed right below. | ||
| To install `seid`, locate the version you wish to use on the [sei-chain releases page](https://github.com/sei-protocol/sei-chain/releases). A list of the currently used versions on mainnet and testnet are displayed right below. | ||
|
|
||
| <VersionTable /> | ||
|
|
||
| Then, execute the following commands with the version that you picked: | ||
|
|
||
| ```bash | ||
| git clone https://github.com/sei-protocol/sei-chain | ||
| cd sei-chain | ||
| git checkout [VERSION] | ||
| make install | ||
| ``` | ||
|
|
||
| You can verify that seid was installed correctly by running: | ||
| <Tabs> | ||
| <Tab title="Prebuilt binary (recommended)"> | ||
| Each release attaches a statically linked `seid` build for `linux/amd64` with no | ||
| runtime dependencies: | ||
|
|
||
| ```bash | ||
| VERSION=<version-tag> # e.g. v6.6.1 — see the version table above | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [suggestion] Since you already give the concrete value in the trailing comment, a working default costs nothing and makes the whole block runnable as-is: VERSION=v6.6.1 # pick your version from the table aboveSame pattern at Noting the counter-argument: |
||
| FILE=sei-chain_${VERSION#v}_linux_x86_64.tar.gz # asset filenames omit the leading v | ||
|
|
||
| curl -fLO https://github.com/sei-protocol/sei-chain/releases/download/${VERSION}/${FILE} | ||
| curl -fLO https://github.com/sei-protocol/sei-chain/releases/download/${VERSION}/checksums.txt | ||
|
|
||
| # Verify integrity before trusting the binary; extract and install only if it passes | ||
| sha256sum -c checksums.txt --ignore-missing \ | ||
| && tar -xzf ${FILE} seid \ | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [suggestion] Worth confirming against the actual v6.6.1 asset. If the layout is ever uncertain, |
||
| && sudo install -m 0755 seid /usr/local/bin/seid | ||
| ``` | ||
|
|
||
| <Info> | ||
| Prebuilt binaries are attached from `v6.6.1` onward — for earlier versions, build | ||
| from source. They are `linux/amd64` only and omit hardware Ledger support. On | ||
| other architectures, or if you sign with a Ledger device, build from source. | ||
| </Info> | ||
|
|
||
| <Note> | ||
| Previously installed 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. | ||
| </Note> | ||
| </Tab> | ||
|
|
||
| <Tab title="Build from source"> | ||
| ```bash | ||
| git clone https://github.com/sei-protocol/sei-chain | ||
| cd sei-chain | ||
| git checkout <version-tag> | ||
| make install | ||
| ``` | ||
| </Tab> | ||
| </Tabs> | ||
|
|
||
| You can verify that `seid` was installed correctly by running: | ||
|
|
||
| ```bash | ||
| seid version | ||
| ``` | ||
|
|
||
| ## Troubleshooting Installation | ||
|
|
||
| <Warning>If you encounter an error like `command not found: seid`, you may need to set your GOPATH environment variable.</Warning> | ||
| <Warning>If you built from source and encounter an error like `command not found: seid`, you may need to set your GOPATH environment variable.</Warning> | ||
|
|
||
| - Use `go env GOPATH` to find your GOPATH | ||
| - Add the following lines to your `~/.bashrc` or `~/.zshrc`: | ||
|
|
@@ -49,7 +81,7 @@ | |
|
|
||
| For more information see [here](https://pkg.go.dev/cmd/go#hdr-GOPATH_environment_variable). | ||
|
|
||
| ## 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: | ||
|
|
||
|
|
@@ -97,7 +129,7 @@ | |
| Use "seid [command] --help" for more information about a command. | ||
| ``` | ||
|
|
||
| ## Adding a Wallet | ||
|
|
||
| You can create a new wallet using the seid keys command: | ||
|
|
||
|
|
@@ -148,16 +180,16 @@ | |
| mnemonic: "" | ||
| ``` | ||
|
|
||
| ## 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: | ||
|
|
||
|
|
@@ -184,7 +216,7 @@ | |
|
|
||
| <Info>`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.</Info> | ||
|
|
||
| ### Importing an Existing EVM Wallet | ||
|
|
||
| To import an existing wallet from MetaMask or other EVM wallets: | ||
|
|
||
|
|
@@ -210,7 +242,7 @@ | |
|
|
||
| <Info>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.</Info> | ||
|
|
||
| ## Managing Wallets | ||
|
|
||
| To see your local wallets, you can run: | ||
|
|
||
|
|
@@ -249,7 +281,7 @@ | |
|
|
||
| to see details about a specific wallet. | ||
|
|
||
| ## Deleting Wallets | ||
|
|
||
| To delete a wallet/key, you can use the following command: | ||
|
|
||
|
|
@@ -268,8 +300,12 @@ | |
|
|
||
| ## Uninstalling seid | ||
|
|
||
| If you need to remove `seid` from your system, you can delete the binary from your `$GOPATH/bin` directory: | ||
| If you need to remove `seid` from your system, delete the binary from wherever it was installed: | ||
|
|
||
| ```bash | ||
| # Prebuilt binary install | ||
| sudo rm /usr/local/bin/seid | ||
|
|
||
| # Build-from-source install | ||
| rm $(go env GOPATH)/bin/seid | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [nit] These two Quoting and guarding fixes it, and matches the safer form you already use in # Build-from-source install
rm -f "$(go env GOPATH)/bin/seid"Splitting into two blocks, or a comment noting these are alternatives rather than a sequence, would help too. |
||
| ``` | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,13 +19,13 @@ | |
| <Card horizontal title="Archive Nodes" icon="database" /> | ||
| </CardGroup> | ||
|
|
||
| ## Network Versions | ||
|
|
||
| <VersionTable /> | ||
|
|
||
| _Live binary versions, genesis, and seed peers — see the [technical reference](/node/technical-reference)._ | ||
|
|
||
| ## Hardware Requirements | ||
|
|
||
| | Component | Required | | ||
| | --------- | ------------------------------------------------------ | | ||
|
|
@@ -34,7 +34,7 @@ | |
| | Storage | 2 TB NVMe SSD (high IOPS required) | | ||
| | Network | 2 Gbps with low latency | | ||
|
|
||
| ## Installation & Setup Steps | ||
|
|
||
| <Steps> | ||
|
|
||
|
|
@@ -47,13 +47,13 @@ | |
| sudo apt update && sudo apt upgrade -y | ||
| ``` | ||
|
|
||
| ###### 2. Install Essential Packages | ||
|
|
||
| ```bash | ||
| sudo apt install make gcc git jq chrony curl lz4 wget tar build-essential -y | ||
| ``` | ||
|
|
||
| ###### 3. Synchronize System Time | ||
|
|
||
| ```bash | ||
| sudo timedatectl set-timezone UTC | ||
|
|
@@ -61,11 +61,14 @@ | |
| timedatectl | ||
| ``` | ||
|
|
||
| ##### Install Go | ||
|
|
||
| Only needed if you build `seid` from source — the prebuilt binary and Docker | ||
| install paths in the next step don't require Go. | ||
|
|
||
| Suggested Version: Go 1.24.x (required for seid v6.3+) | ||
|
|
||
| ###### Installation Steps | ||
|
|
||
| ```bash | ||
| # Check for existing Go installation | ||
|
|
@@ -85,51 +88,93 @@ | |
| </Step> | ||
|
|
||
| <Step title="Install Sei"> | ||
| ##### Install Sei Binary | ||
|
|
||
| ```bash | ||
| # Clone repository and install | ||
| git clone https://github.com/sei-protocol/sei-chain.git | ||
| cd sei-chain | ||
| git checkout <version-tag> # Replace with specific version | ||
| make install | ||
|
|
||
| # Verify installation | ||
| seid version | ||
| ``` | ||
|
|
||
| See Network Versions table above for current recommended version. | ||
|
|
||
| <Accordion title="Alternative: Docker Image"> | ||
| Official Docker images are available at GitHub Container Registry. | ||
|
|
||
| ```bash | ||
| # Pull the latest version | ||
| docker pull ghcr.io/sei-protocol/sei:latest | ||
|
|
||
| # Or pull a specific version (recommended) | ||
| docker pull ghcr.io/sei-protocol/sei:v6.3.1 | ||
| ``` | ||
|
|
||
| Available architectures: linux/amd64 and linux/arm64. | ||
| </Accordion> | ||
|
|
||
| <Info> | ||
| If you encounter an error like `command not found: seid`, you may need to set your GOPATH environment variable. | ||
|
|
||
| Add the following to your `~/.bashrc` or `~/.zshrc`: | ||
|
|
||
| ```bash | ||
| export GOPATH=$(go env GOPATH) | ||
| export PATH=$PATH:$GOPATH/bin | ||
| ``` | ||
|
|
||
| Then reload your shell with `source ~/.bashrc` or `source ~/.zshrc`. | ||
|
|
||
| For more information see [here](https://pkg.go.dev/cmd/go#hdr-GOPATH_environment_variable). | ||
| </Info> | ||
| ##### Install the `seid` binary | ||
|
|
||
| See the Network Versions table above for the current recommended version. | ||
|
|
||
| <Tabs> | ||
| <Tab title="Prebuilt binary (recommended)"> | ||
| Each release attaches a statically linked `seid` build for `linux/amd64` with no | ||
| runtime dependencies: no Go toolchain and no shared libraries to install. | ||
|
|
||
| ```bash | ||
| VERSION=<version-tag> # e.g. v6.6.1 — see the Network Versions table above | ||
| FILE=sei-chain_${VERSION#v}_linux_x86_64.tar.gz # asset filenames omit the leading v | ||
|
|
||
| curl -fLO https://github.com/sei-protocol/sei-chain/releases/download/${VERSION}/${FILE} | ||
| curl -fLO https://github.com/sei-protocol/sei-chain/releases/download/${VERSION}/checksums.txt | ||
|
|
||
| # Verify integrity before trusting the binary; extract and install only if it passes | ||
| sha256sum -c checksums.txt --ignore-missing \ | ||
| && tar -xzf ${FILE} seid \ | ||
| && sudo install -m 0755 seid /usr/local/bin/seid | ||
|
|
||
| # Verify installation | ||
| seid version | ||
| ``` | ||
|
|
||
| <Info> | ||
| Prebuilt binaries are attached from `v6.6.1` onward — for earlier versions, build | ||
| from source or use Docker. They are `linux/amd64` only, omit hardware Ledger | ||
| support, and don't include the optional | ||
| [RocksDB state-store backend](/node/rocksdb-backend). On other architectures, or | ||
| if you sign with a Ledger device, build from source or use Docker; a | ||
| RocksDB-enabled `seid` must be built from source. | ||
| </Info> | ||
|
|
||
| <Note> | ||
| Switching from a previous `make install` build? Remove the old copy | ||
| (`rm -f "$(go env GOPATH)/bin/seid"`) or make sure your service unit points at | ||
| `/usr/local/bin/seid` — `which -a seid` lists every copy on your `PATH`. | ||
| </Note> | ||
| </Tab> | ||
|
|
||
| <Tab title="Build from source"> | ||
| Requires Go and a C toolchain (see the Environment Setup step above). | ||
|
|
||
| ```bash | ||
| # Clone repository and install | ||
| git clone https://github.com/sei-protocol/sei-chain.git | ||
| cd sei-chain | ||
| git checkout <version-tag> # Replace with specific version | ||
| make install | ||
|
|
||
| # Verify installation | ||
| seid version | ||
| ``` | ||
|
|
||
| <Info> | ||
| If you encounter an error like `command not found: seid`, you may need to set your GOPATH environment variable. | ||
|
|
||
| Add the following to your `~/.bashrc` or `~/.zshrc`: | ||
|
|
||
| ```bash | ||
| export GOPATH=$(go env GOPATH) | ||
| export PATH=$PATH:$GOPATH/bin | ||
| ``` | ||
|
|
||
| Then reload your shell with `source ~/.bashrc` or `source ~/.zshrc`. | ||
|
|
||
| For more information see [here](https://pkg.go.dev/cmd/go#hdr-GOPATH_environment_variable). | ||
| </Info> | ||
| </Tab> | ||
|
|
||
| <Tab title="Docker"> | ||
| Official Docker images are available at GitHub Container Registry. | ||
|
|
||
| ```bash | ||
| # Pull the latest version | ||
| docker pull ghcr.io/sei-protocol/sei:latest | ||
|
|
||
| # Or pull a specific version (recommended) | ||
| docker pull ghcr.io/sei-protocol/sei:v6.3.1 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [nit] This Docker example still pins |
||
| ``` | ||
|
|
||
| Available architectures: linux/amd64 and linux/arm64. | ||
| </Tab> | ||
| </Tabs> | ||
|
|
||
| ##### Initialize Chain Files | ||
|
|
||
| <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.</Info> | ||
|
|
||
|
|
@@ -157,7 +202,7 @@ | |
| sed -i 's/persistent-peers = .*/persistent-peers = "'$PEERS'"/' ~/.sei/config/config.toml | ||
| ``` | ||
|
|
||
| ##### Configure App Settings | ||
|
|
||
| ```bash | ||
| # Set minimum gas price (recommended; helps prevent spam transactions) | ||
|
|
@@ -187,7 +232,7 @@ | |
|
|
||
| <Accordion title="Advanced Configuration"> | ||
|
|
||
| #### Archive Node Setup | ||
|
|
||
| An archive node maintains the complete historical record of the chain. This requires disabling state sync and starting with a pre-existing database using a "snapshot". | ||
|
|
||
|
|
@@ -201,7 +246,7 @@ | |
|
|
||
| **2. Configure Archive Node Peers** — To sync from the height your snapshot was created at, you need peers retaining a large amount of historical blocks. The node will require specific peers during initial sync, which can be changed at a later time. | ||
|
|
||
| #### Mempool Configuration | ||
|
|
||
| For optimal transaction handling and resource management, it is recommended to update the mempool settings in your `config.toml` file. | ||
|
|
||
|
|
@@ -289,7 +334,7 @@ | |
| sudo systemctl start seid | ||
| ``` | ||
|
|
||
| ##### Monitoring & Troubleshooting | ||
|
|
||
| Check your node's status with these commands: | ||
|
|
||
|
|
@@ -325,9 +370,9 @@ | |
|
|
||
| [View Complete Node Setup Guide](/node/node-operators) | ||
|
|
||
| ## Node Resources | ||
|
|
||
| ### Node Setup | ||
|
|
||
| <CardGroup cols={3}> | ||
| <Card horizontal title="Node Operations Guide" icon="server" href="/node/node-operators"> | ||
|
|
@@ -341,7 +386,7 @@ | |
| </Card> | ||
| </CardGroup> | ||
|
|
||
| ### Advanced Operations | ||
|
|
||
| <CardGroup cols={3}> | ||
| <Card horizontal title="Configuration & Monitoring" icon="gauge-simple-high" href="/node/advanced-config-monitoring"> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[suggestion] "Each release attaches a statically linked
seidbuild" contradicts the<Info>twelve lines down, which says prebuilt binaries are attached fromv6.6.1onward. A reader on the recommended tab hits the unconditional claim first and may try it against an older tag — the exact 404 that #45 was reverting to avoid.Suggest scoping the lead sentence, e.g. "Releases from
v6.6.1onward attach a statically linkedseidbuild forlinux/amd64…". Same sentence atnode/index.mdx:97.