Upgrade proposal detected

Sei Atlantic 1 Sei Atlantic 1

A layer 1 blockchain with a built-in orderbook, enabling an entirely new echelon of DeFi products.

By combining both the orderbook infrastructure and the underlying chain, you can create brand new types of derivatives and options on Sei.

Installation (Ubuntu/Debian)

Install dependencies

sudo apt update
sudo apt install -y curl git jq lz4 build-essential
sudo rm -rf /usr/local/go
sudo curl -Ls https://go.dev/dl/go1.20.linux-amd64.tar.gz | sudo tar -C /usr/local -xz
tee -a $HOME/.profile > /dev/null << EOF
export PATH=$PATH:/usr/local/go/bin
EOF
source $HOME/.profile

Download/compile and install seid

cd $HOME
rm -rf sei-chain
git clone https://github.com/sei-protocol/sei-chain.git
cd sei-chain

# Compile version 1.2.2beta-postfix
git checkout 1.2.2beta-postfix
make build
mkdir -p $HOME/.sei/cosmovisor/genesis/bin
mv build/seid $HOME/.sei/cosmovisor/genesis/bin/

Install cosmovisor and service

curl -Ls https://github.com/cosmos/cosmos-sdk/releases/download/cosmovisor%2Fv1.3.0/cosmovisor-v1.3.0-linux-amd64.tar.gz | tar xz
chmod 755 cosmovisor
sudo mv cosmovisor /usr/bin/cosmovisor

sudo tee /etc/systemd/system/seid.service > /dev/null << EOF
[Unit]
Description=Sei Atlantic 1 Node Service
After=network-online.target
[Service]
User=$USER
ExecStart=/usr/bin/cosmovisor run start
Restart=on-failure
RestartSec=10
LimitNOFILE=8192
Environment="DAEMON_HOME=$HOME/.sei"
Environment="DAEMON_NAME=seid"
Environment="UNSAFE_SKIP_BACKUP=true"
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable seid

Initialize the node

MONIKER=""

ln -s $HOME/.sei/cosmovisor/genesis $HOME/.sei/cosmovisor/current
sudo ln -s $HOME/.sei/cosmovisor/current/bin/seid /usr/local/bin/seid
seid config chain-id atlantic-1
seid init $MONIKER --chain-id atlantic-1
curl -Ls https://atlantic-1-regenesis.s3.us-west-1.amazonaws.com/genesis.json > $HOME/.sei/config/genesis.json
sed -i -e "s|^seeds *=.*|seeds = \"[email protected]:30514,df1f6617ff5acdc85d9daa890300a57a9d956e5e@sei-atlantic-1.seed.rhinostake.com:16660\"|" $HOME/.sei/config/config.toml
tee $HOME/.sei/data/priv_validator_state.json > /dev/null << EOF
{
  "height": "0",
  "round": 0,
  "step": 0
}
EOF
sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0.0001usei\"|" $HOME/.sei/config/app.toml
sed -i -e "s|^pruning *=.*|pruning = \"custom\"|" $HOME/.sei/config/app.toml
sed -i -e "s|^pruning-keep-recent *=.*|pruning-keep-recent = \"3000\"|" $HOME/.sei/config/app.toml
sed -i -e "s|^pruning-keep-every *=.*|pruning-keep-every = \"0\"|" $HOME/.sei/config/app.toml
sed -i -e "s|^pruning-interval *=.*|pruning-interval = \"10\"|" $HOME/.sei/config/app.toml
sed -i -e "s|^snapshot-interval *=.*|snapshot-interval = \"1000\"|" $HOME/.sei/config/app.toml
sed -i -e "s|^snapshot-keep-recent *=.*|snapshot-keep-recent = \"2\"|" $HOME/.sei/config/app.toml

Start the service and check the log

sudo systemctl start seid
sudo journalctl -u seid -f --no-hostname -o cat