Seda node install guide
October 21st, 2024

Here's a concise guide to install a Seda node:

Prerequisites

  • 4 CPU cores

  • 32GB RAM

  • 1TB SSD

  • Ubuntu 22.04

  • Sudo account on server

Installation Steps

1. Install Dependencies

sudo apt update
sudo apt upgrade -y
sudo apt install git build-essential curl jq -y

2. Install Go

sudo rm -rf /usr/local/go
wget https://golang.org/dl/go1.22.4.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.22.4.linux-amd64.tar.gz
rm go1.22.4.linux-amd64.tar.gz

Add Go to PATH:

echo "export GOROOT=/usr/local/go" >> ~/.profile
echo "export GOPATH=$HOME/go" >> ~/.profile
echo "export GO111MODULE=on" >> ~/.profile
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.profile
source ~/.profile

3. Install Seda Binary

git clone https://github.com/sedaprotocol/seda-chain seda
cd seda
git checkout v0.1.1
make install

4. Initialize Node

Replace YOUR_MONIKER with your chosen node name:

MONIKER="YOUR_MONIKER"
sedad init $MONIKER --chain-id seda-1

5. Download Genesis File

wget https://raw.githubusercontent.com/sedaprotocol/seda-networks/main/mainnet/genesis.json -O $HOME/.sedad/config/genesis.json

6. Configure Peers

sed -i "s/^seeds =.*/seeds = \"[email protected]:17359\"/g" $HOME/.sedad/config/config.toml

7. Create Systemd Service

sudo tee /etc/systemd/system/sedad.service > /dev/null <<EOF
[Unit]
Description=sedad node service
After=network-online.target

[Service]
User=$USER
ExecStart=$(which sedad) start
Restart=on-failure
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF

sudo systemctl enable sedad.service

8. Start the Node

sudo systemctl start sedad.service

9. Monitor Logs

journalctl -u sedad -f

Additional Steps

  • To become a validator, refer to the validator setup guide

  • Configure firewall rules for enhanced security

  • Consider using Cosmovisor for automatic upgrades[1][2][3]

This guide provides a basic node setup. For more advanced configurations or to run a validator node, consult the official Seda documentation.

Citations: [1] https://docs.keepitstaked.com/seda/node-installation [2] https://www.polkachu.com/testnets/seda/installation [3] https://services.lavenderfive.com/testnet/seda/installation [4] https://docs.seda.xyz/home/for-node-operators/seda-testnet/operating-and-running-a-node [5] https://docs.seda.xyz/home/for-node-operators/seda-mainnet/operating-and-running-a-node [6] https://genznodes.dev/resources/install/seda [7] https://app.nodejumper.io/seda/installation [8] https://www.polkachu.com/testnets/seda

Subscribe to @Nelson
Receive the latest updates directly to your inbox.
Mint this entry as an NFT to add it to your collection.
Verification
This entry has been permanently stored onchain and signed by its creator.
More from @Nelson

Skeleton

Skeleton

Skeleton