πDymension
Dymension is a network of fast modular blockchains known as RollApps, and this documentation is its primary resource.
Make sure you have the latest Go build and system components installed
Install Cosmovisor
go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/[email protected]Install Node
git clone https://github.com/dymensionxyz/dymension.git dymension
cd dymension
git checkout v3.1.0
make installInitialize Node
dymd init YOUR_MONIKER --chain-id dymension_1100-1Download Genesis
wget -O genesis.json https://snapshots.polkachu.com/genesis/dymension/genesis.json --inet4-only
mv genesis.json ~/.dymension/configConfigure Seed
sed -i 's/seeds = ""/seeds = "[email protected]:20556"/' ~/.dymension/config/config.tomlConfigure Cosmovisor Folder
# Create Cosmovisor Folders
mkdir -p ~/.dymension/cosmovisor/genesis/bin
mkdir -p ~/.dymension/cosmovisor/upgrades
# Load Node Binary into Cosmovisor Folder
cp ~/go/bin/dymd ~/.dymension/cosmovisor/genesis/binCreate Service File
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 dymdDownload Snapshot
Install lz4 if needed
sudo apt update
sudo apt install snapd -y
sudo snap install lz4Download the snapshot
curl -o - -L https://snapshots.polkachu.com/snapshots/dymension/dymension_1170907.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.dymensionLaunch Node
sudo systemctl restart dymd
journalctl -u dymd -f -o catWallet & Validator
Add new key
dymd keys add walletRecover existing key
dymd keys add wallet --recoverCreate Validator
dymd tx staking create-validator \
--amount 1000000adym \
--commission-max-change-rate "0.05" \
--commission-max-rate "0.10" \
--commission-rate "0.05" \
--min-self-delegation "1" \
--pubkey=$(dymd tendermint show-validator) \
--moniker 'Your_nodename' \
--website "Your_website" \
--identity "your_keybase" \
--details "I Love Validator247" \
--security-contact "Your_mail" \
--chain-id dymension_1100-1 \
--gas auto --gas-prices 20000000000adym \
--gas-adjustment 1.6 \
--from wallet -yDONE
Last updated