Mainnet

Chain ID: dymension_1100-1 | Node Version: v3.1.0

Auto-compound, NodeStake will pay the gas fees

Node Installation Guide

Update system and install build tools

sudo apt update

sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y

Install Go

rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.20.5.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version

Install Node

cd $HOME

rm -rf dymension

git clone https://github.com/dymensionxyz/dymension.git

cd dymension

git checkout v3.1.0

make install

dymd version

Initialize Node

Replace NodeName with your own moniker.

dymd init NodeName --chain-id=dymension_1100-1

Download Genesis

curl -Ls https://ss.dymension.nodestake.org/genesis.json > $HOME/.dymension/config/genesis.json 

Download addrbook

curl -Ls https://ss.dymension.nodestake.org/addrbook.json > $HOME/.dymension/config/addrbook.json

Create Service

sudo tee /etc/systemd/system/dymd.service > /dev/null <<EOF
[Unit]
Description=dymd Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which dymd) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable dymd

Download Snapshot(optional)

SNAP_NAME=$(curl -s https://ss.dymension.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss.dymension.nodestake.org/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.dymension

Launch Node

sudo systemctl restart dymd
journalctl -u dymd -f

If you have any questions, please reach out to our Discord

 

https://rpc.dymension.nodestake.org

 

https://api.dymension.nodestake.org

 

https://grpc.dymension.nodestake.org:443

Chain Name: Dymension
RPC: https://jsonrpc.dymension.nodestake.org/
Chain ID: 1100
Symbol: DYM
Explorer: 

https://ss.dymension.nodestake.org/genesis.json

Download Genesis File

curl -Ls https://ss.dymension.nodestake.org/genesis.json > $HOME/.dymension/config/genesis.json 

45bffa41836302b06310af67f012500cc0d1da31@rpc.dymension.nodestake.org:666

Set Seed Node

seed="45bffa41836302b06310af67f012500cc0d1da31@rpc.dymension.nodestake.org:666"
sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.dymension/config/config.toml

Restart Node

sudo systemctl restart dymd
journalctl -u dymd -f

https://ss.dymension.nodestake.org/addrbook.json

Download Addrbook

curl -Ls https://ss.dymension.nodestake.org/addrbook.json > $HOME/.dymension/config/addrbook.json 

Restart Node

sudo systemctl restart dymd
journalctl -u dymd -f

Set Peers

peers=$(curl -s https://ss.dymension.nodestake.org/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.dymension/config/config.toml

Restart Node

sudo systemctl restart dymd
journalctl -u dymd -f

Stop Node And Reset

sudo systemctl stop dymd

dymd tendermint unsafe-reset-all --home ~/.dymension/ --keep-addr-book

Configure State Sync

SNAP_RPC="https://rpc.dymension.nodestake.org:443"

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \

BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \

TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

 

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \

s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \

s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \

s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" ~/.dymension/config/config.toml

more ~/.dymension/config/config.toml | grep 'rpc_servers'

more ~/.dymension/config/config.toml | grep 'trust_height'

more ~/.dymension/config/config.toml | grep 'trust_hash'

Restart Node

sudo systemctl restart dymd
journalctl -u dymd -f

We make the node snapshot every day

Install lz4

sudo apt update

sudo apt-get install snapd lz4 -y

Stop Node and Reset Date

sudo systemctl stop dymd

cp $HOME/.dymension/data/priv_validator_state.json $HOME/.dymension/priv_validator_state.json.backup

rm -rf $HOME/.dymension/data

dymd tendermint unsafe-reset-all --home ~/.dymension/ --keep-addr-book

Download Snapshot

SNAP_NAME=$(curl -s https://ss.dymension.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss.dymension.nodestake.org/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.dymension

mv $HOME/.dymension/priv_validator_state.json.backup $HOME/.dymension/data/priv_validator_state.json

Restart Node

sudo systemctl restart dymd
journalctl -u dymd -f

Get old Snapshots

If you have any questions, please reach out to our Discord

We make the node snapshot every week

Install lz4

sudo apt update

sudo apt-get install snapd lz4 -y

Stop Node and Reset Date

sudo systemctl stop dymd

cp $HOME/.dymension/data/priv_validator_state.json $HOME/.dymension/priv_validator_state.json.backup

rm -rf $HOME/.dymension/data

dymd tendermint unsafe-reset-all --home ~/.dymension/ --keep-addr-book

Download Snapshot

SNAP_NAME=$(curl -s https://ss.archive.dymension.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss.archive.dymension.nodestake.org/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.dymension

mv $HOME/.dymension/priv_validator_state.json.backup $HOME/.dymension/data/priv_validator_state.json

Restart Node

sudo systemctl restart dymd
journalctl -u dymd -f

If you have any questions, please reach out to our Discord

 

https://rpc.archive.dymension.nodestake.org

https://jsonrpc.archive.dymension.nodestake.org

https://api.archive.dymension.nodestake.org

https://grpc.archive.dymension.nodestake.org:443

 

Testnet

Chain ID: froopyland_100-1 | Node Version: v2.0.0-alpha.8

Node Installation Guide

Update system and install build tools

sudo apt update

sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y

Install Go

rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.20.5.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version

Install Node

cd $HOME

rm -rf dymension

git clone https://github.com/dymensionxyz/dymension.git

cd dymension

git checkout v2.0.0-alpha.8

make install

dymd version

Initialize Node

Replace NodeName with your own moniker.

dymd init NodeName --chain-id=froopyland_100-1

Download Genesis

curl -Ls https://ss-t.dymension.nodestake.org/genesis.json > $HOME/.dymension/config/genesis.json 

Download addrbook

curl -Ls https://ss-t.dymension.nodestake.org/addrbook.json > $HOME/.dymension/config/addrbook.json

Create Service

sudo tee /etc/systemd/system/dymd.service > /dev/null <<EOF
[Unit]
Description=dymd Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which dymd) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable dymd

Download Snapshot(optional)

SNAP_NAME=$(curl -s https://ss-t.dymension.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss-t.dymension.nodestake.org/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.dymension

Launch Node

sudo systemctl restart dymd
journalctl -u dymd -f

If you have any questions, please reach out to our Discord

 

https://rpc-t.dymension.nodestake.org

 

https://api-t.dymension.nodestake.org

 

https://grpc-t.dymension.nodestake.org:443

https://ss-t.dymension.nodestake.org/genesis.json

Download Genesis File

curl -Ls https://ss-t.dymension.nodestake.org/genesis.json > $HOME/.dymension/config/genesis.json 

https://ss-t.dymension.nodestake.org/addrbook.json

Download Addrbook

curl -Ls https://ss-t.dymension.nodestake.org/addrbook.json > $HOME/.dymension/config/addrbook.json 

Restart Node

sudo systemctl restart dymd
journalctl -u dymd -f

4c0a5fa13fb8905a24f4614a353bde7015df0420@rpc-t.dymension.nodestake.org:666

Set Seed Node

seed="4c0a5fa13fb8905a24f4614a353bde7015df0420@rpc-t.dymension.nodestake.org:666"
sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.dymension/config/config.toml

Restart Node

sudo systemctl restart dymd
journalctl -u dymd -f

Set Peers

peers=$(curl -s https://ss-t.dymension.nodestake.org/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.dymension/config/config.toml

Restart Node

sudo systemctl restart dymd
journalctl -u dymd -f

Stop Node And Reset

sudo systemctl stop dymd

dymd tendermint unsafe-reset-all --home ~/.dymension/ --keep-addr-book

Configure State Sync

SNAP_RPC="https://rpc-t.dymension.nodestake.org:443"

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \

BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \

TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

 

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \

s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \

s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \

s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" ~/.dymension/config/config.toml

more ~/.dymension/config/config.toml | grep 'rpc_servers'

more ~/.dymension/config/config.toml | grep 'trust_height'

more ~/.dymension/config/config.toml | grep 'trust_hash'

Download Wasm

rm -rf ~/.evmosd/wasm

curl -o - -L https://ss-t.evmos.nodestake.top/wasm.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.evmosd

Restart Node

sudo systemctl restart dymd
journalctl -u dymd -f

We make the node snapshot every 12h

Install lz4

sudo apt update

sudo apt-get install snapd lz4 -y

Off State Sync

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.dymension/config/config.toml

Stop Node and Reset Date

sudo systemctl stop dymension

cp $HOME/.dymension/data/priv_validator_state.json $HOME/.dymension/priv_validator_state.json.backup

rm -rf $HOME/.dymension/data

dymension tendermint unsafe-reset-all --home ~/.dymension/ --keep-addr-book

Download Snapshot

SNAP_NAME=$(curl -s https://ss-t.dymension.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss-t.dymension.nodestake.org/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.dymension

mv $HOME/.dymension/priv_validator_state.json.backup $HOME/.dymension/data/priv_validator_state.json

Restart Node

sudo systemctl restart dymension
journalctl -u dymension -f

If you have any questions, please reach out to our Discord