TAKESHI
  • ⚙️Supported chains
  • MAINNET
    • Althea
      • Installation
      • Upgrade
      • State sync
      • Useful commands
    • Dymension
      • Installation
      • Upgrade
      • State sync
      • Useful commands
    • BeeZee
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
    • Konstellation
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
    • Chain4Energy
      • Installation
      • Upgrade
      • State sync
      • Useful commands
    • Gravity Bridge
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
    • Kichain
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
    • Provenance
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
    • Osmosis
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
    • Pylons
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
    • Quicksilver
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
    • Composable
      • Installation
      • Upgrade
      • State sync
      • Useful commands
  • TESTNET
    • Warden
      • Installation
      • Upgrade
      • State sync
      • Useful commands
    • Archway
      • Installation
      • Upgrade
      • State sync
      • Useful commands
    • Composable
      • Installation
      • Upgrade
      • State sync
      • Useful commands
    • Hypersign
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
    • Dymension
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
    • Quicksilver
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
    • Lava
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
    • Nibiru
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
    • Elys
      • Installation
      • Upgrade
      • State sync
      • Useful commands
    • Ojo
      • Installation
      • Upgrade
      • State sync
      • Useful commands
Powered by GitBook
On this page
  • Install dependencies
  • Download and build binaries
  • Create a service
  • Initialize the node
  • Start service and check the logs
  1. MAINNET
  2. Dymension

Installation

Setting up your validator node has never been so easy. Get your validator running in minutes by following step by step instructions.

PreviousDymensionNextUpgrade

Last updated 11 months ago

Chain ID: dymension_1100-1 | Latest Version Tag: v3.1.0

Install dependencies

Update system and install build tools

sudo apt -q update
sudo apt -qy install curl git jq lz4 
sudo apt -qy upgrade

Install Go

cd $HOME
ver="1.21.3"
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile

go version

Download and build binaries

# Clone project repository
cd $HOME
git clone https://github.com/dymensionxyz/dymension.git --branch v3.1.0
cd dymension
make install

#chek version
v3.1.0

Create a service

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

[Service]
User=$USER
ExecStart=$(which dymd) run start
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
Environment="DAEMON_HOME=$HOME/.dymension"
Environment="DAEMON_NAME=dymd"
Environment="UNSAFE_SKIP_BACKUP=true"

[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable dymd

Initialize the node

# Set node configuration
dymd config chain-id dymension_1100-1


# Initialize the node
dymd init node --chain-id dymension_1100-1

# Download genesis 
wget -O $HOME/.dymension/config/genesis.json "https://github.com/dymensionxyz/networks/raw/main/mainnet/dymension/genesis.json"

# Add seeds
sed -i -e "s|^seeds *=.*|seeds = \"284313184f63d9f06b218a67a0e2de126b64258d@seeds.silknodes.io:25155\"|" $HOME/.dymension/config/config.toml

# Set minimum gas price
sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"20000000000adym\"|" $HOME/.dymension/config/app.toml

# Set pruning
sed -i \
  -e 's|^pruning *=.*|pruning = "custom"|' \
  -e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "10000"|' \
  -e 's|^pruning-keep-every *=.*|pruning-keep-every = "0"|' \
  -e 's|^pruning-interval *=.*|pruning-interval = "19"|' \
  $HOME/.dymension/config/app.toml

# Set custom ports
sed -i -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:27658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:27657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:27060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:27656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":27660\"%" $HOME/.dymension/config/config.toml
sed -i -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:27317\"%; s%^address = \":8080\"%address = \":27080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:27090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:27091\"%; s%^address = \"0.0.0.0:8545\"%address = \"0.0.0.0:27545\"%; s%^ws-address = \"0.0.0.0:8546\"%ws-address = \"0.0.0.0:27546\"%" $HOME/.dymension/config/app.toml

Start service and check the logs

sudo systemctl start dymd && sudo journalctl -u dymd -f --no-hostname -o cat