πSEDA
The Modular Data Layer | SEDA is a new standard for modular data transport. Any data type, for all networks.
Info
Dependencies
# Update system
sudo apt update
sudo apt install -y curl git jq lz4 build-essential
# Install Go
sudo rm -rf /usr/local/go
curl -L https://go.dev/dl/go1.21.6.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile
source .bash_profile
Node Installation
# Clone project repository
cd && rm -rf seda-chain
git clone https://github.com/sedaprotocol/seda-chain
cd seda-chain
git checkout v0.1.1
make install
# Set CLI configuration
sedad config set client chain-id seda-1
sedad config set client keyring-backend file
sedad config set client node tcp://localhost:25857
# Initialize node
sedad init "Your_nodename" --chain-id seda-1
# Download genesis and addrbook files
wget https://raw.githubusercontent.com/Validator247/Seda-Protocol-mainnet-/main/addrbook.json -O addrbook.json
wget https://raw.githubusercontent.com/Validator247/Seda-Protocol-mainnet-/main/genesis.json -O genesis.json
# seeds
sed -i -e 's|^seeds *=.*|seeds = "[email protected]:26656,[email protected]:25856,[email protected]:16679,[email protected]:17359,[email protected]:25856,[email protected]:16679,ebc272824924ea1a27ea3183dd0b9ba713494f83@seda-mainnet-seed.autostake.com:26866,[email protected]:26656,ebc272824924ea1a27ea3183dd0b9ba713494f83@seda-mainnet-peer.autostake.com:26866"|' $HOME/.sedad/config/config.toml
# minimum gas
sed -i -e 's|^minimum-gas-prices *=.*|minimum-gas-prices = "10000000000aseda"|' $HOME/.sedad/config/app.toml
# pruning
sed -i \
-e 's|^pruning *=.*|pruning = "custom"|' \
-e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \
-e 's|^pruning-interval *=.*|pruning-interval = "17"|' \
$HOME/.sedad/config/app.toml
# ports
sed -i -e "s%:1317%:25817%; s%:8080%:25880%; s%:9090%:25890%; s%:9091%:25891%; s%:8545%:25845%; s%:8546%:25846%; s%:6065%:25865%" $HOME/.sedad/config/app.toml
sed -i -e "s%:26658%:25858%; s%:26657%:25857%; s%:6060%:25860%; s%:26656%:25856%; s%:26660%:25861%" $HOME/.sedad/config/config.toml
# Create a service
sudo tee /etc/systemd/system/sedad.service > /dev/null << EOF
[Unit]
Description=SEDA node service
After=network-online.target
[Service]
User=$USER
ExecStart=$(which sedad) start
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable sedad.service
# Start the service and check the logs
sudo systemctl start sedad.service
sudo journalctl -u sedad.service -f --no-hostname -o cat
Last updated