# Installation

| Chain ID          | Latest Version Tag |
| ----------------- | ------------------ |
| dymension\_1100-1 | v3.1.0             |

### Hardware prerequisites[​](https://docs.dymension.xyz/validate/dymension/overview#hardware-prerequisites) <a href="#hardware-prerequisites" id="hardware-prerequisites"></a>

To prepare for the upcoming testnet and network upgrades the Dymension validators and full nodes should be prepared with the following minimum recommended hardware requirements:

* 8 cores
* 1TB of NVME disk storage
* 64gb of memory (RAM)
* 100mbps network bandwidth<br>

&#x20;**Preparing the server**<br>

```
sudo apt update && sudo apt upgrade -y 
sudo apt install curl lz4 tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y
```

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
```

```
cd $HOME 
git clone https://github.com/dymensionxyz/dymension.git 
cd dymension 
git checkout v3.1.0 
make install
```

Verify that the Dymension full node is installed correctly<br>

```
dymd version --long
```

**Example**:<br>

> name: dymension \
> server\_name: dymd \
> version: v3.1.0 \
> commit: b0e997d6b921666b7c4da4e121a87a2652ed0d2a

```
dymd init mynode --chain-id=dymension_1100-1 
dymd config chain-id dymension_1100-1
```

Create Wallet, to restore exexuting wallet, use the flag recover

```
dymd keys add OR dymd keys add --recover
```

Download Genesis:

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

Download Addrbook:

> ```bash
> wget -O $HOME/.celestia-app/config/addrbook.json https://mainnet-files.itrocket.net/celestia/addrbook.json
> ```

> ```
> Add seeds
> ```
>
> ```
>
> sed -i -e "s|^seeds *=.*|seeds = \"400f3d9e30b69e78a7fb891f60d76fa3c73f0ecc@dymension.rpc.kjnodes.com:14659\"|" $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
> ```
>
> <br>
>
> **Set pruning**

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

Create systemd&#x20;

```
sudo tee /etc/systemd/system/dymd.service > /dev/null <<EOF 
[Unit] 
Description=DYMENSION\n 
After=network.target 
[Service] 
Type=simple 
User=$USER
 ExecStart=$(which dymd) start 
Restart=on-failure 
RestartSec=10 
LimitNOFILE=65535 
[Install] 
WantedBy=multi-user.target 
EOF
```

```
sudo systemctl daemon-reload 
sudo systemctl enable dymd
```

**SnapShot Mainnet updated every 5 hours**

```
cd $HOME apt install lz4 
sudo systemctl stop dymd 
cp $HOME/.dymension/data/priv_validator_state.json $HOME/.dymension/priv_validator_state.json.backup 
rm -rf $HOME/.dymension/data 
curl -o - -L https://dymension-m.snapshot.stavr.tech/dymension-snap.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.dymension --strip-components 2 
mv $HOME/.dymension/priv_validator_state.json.backup $HOME/.dymension/data/priv_validator_state.json 
wget -O $HOME/.dymension/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Dymension/addrbook.json" 
sudo systemctl restart dymd && journalctl -u dymd -f -o cat
```

Check Sync, If catching up = false maybe create validator:

```
dymd status
dymd status 2>&1 | jq .SyncInfo
```

```
dymd tx staking create-validator
--commission-rate 0.1
--commission-max-rate 0.2
--commission-max-change-rate 0.2
--min-self-delegation "1000000"
--amount 1000000000000000000adym
--pubkey $(dymd tendermint show-validator)
--from
--gas 350000
--fees 7000000000000000adym
--moniker="Your Validator"
--chain-id="dymension_1100-1"
--identity=""
--website=""
--details="" -y
```

Delete Node ( <mark style="color:red;">Be careful when using this command, all your data will be deleted</mark>)<br>

> sudo systemctl stop dymd \
> sudo systemctl disable dymd \
> rm /etc/systemd/system/dymd.service \
> sudo systemctl daemon-reload cd $HOME \
> rm -rf dymension \
> rm -rf .dymension\
> &#x20;rm -rf $(which dymd)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://services.luckyresearch.org/lucky-research-services/mainet/dymension/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
