Chain ID
Latest Version Tag
Hardware prerequisites
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:
100mbps network bandwidth
Preparing the server
Copy 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
Copy 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
Copy 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
Example :
name: dymension
server_name: dymd
version: v3.1.0
commit: b0e997d6b921666b7c4da4e121a87a2652ed0d2a
Copy 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
Copy dymd keys add OR dymd keys add --recover
Download Genesis:
Copy wget https://github.com/dymensionxyz/networks/raw/main/mainnet/dymension/genesis.json -O $HOME/.dymension/config/genesis.json
Download Addrbook:
Copy wget -O $HOME/.celestia-app/config/addrbook.json https://mainnet-files.itrocket.net/celestia/addrbook.json
Copy
sed -i -e "s|^seeds *=.*|seeds = \"400f3d9e30b69e78a7fb891f60d76fa3c73f0ecc@dymension.rpc.kjnodes.com:14659\"|" $HOME/.dymension/config/config.toml
Copy Set minimum gas price
Copy sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"20000000000adym\"|" $HOME/.dymension/config/app.toml
Set pruning
Copy 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
Copy 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
Copy sudo systemctl daemon-reload
sudo systemctl enable dymd
SnapShot Mainnet updated every 5 hours
Copy 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:
Copy dymd status
dymd status 2>&1 | jq .SyncInfo
Copy 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 ( Be careful when using this command, all your data will be deleted )
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
rm -rf $(which dymd)