STEP 1 Update your server to get the latest version
sudo apt update && sudo apt upgrade -y
Dymension is a home for easily deployable and lightning fast app-chains, called RollApps.
sudo apt update && sudo apt upgrade -y
sudo apt install git curl wget tar lz4 unzip jq build-essential pkg-config clang bsdmainutils make ncdu -y
Go is a programming language allowing each node of the Cosmos ecosystem to operate.
Go is a compiled and concurrent programming language inspired by C and Pascal.
This language was developed by Google from an initial concept by Robert Griesemer, Rob Pike and Ken Thompson.
cd $HOME
version="1.22.2"
wget "https://golang.org/dl/go$version.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$version.linux-amd64.tar.gz"
rm "go$version.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
Check GO version, it must return : go version go1.22.2 linux/amd64
go version
Top page
Here we will install the node for Dymension with this binary version : v3.1.0-alphab-mod
Please be sure to install the latest version one last minute version can be published ! Please check by yourself here...
cd $HOME
git clone https://github.com/dymensionxyz/dymension.git
cd dymension
git checkout v3.1.0-alphab-mod
make install
Check if the binary "dymd" version v3.1.0-alphab-mod has been correctly installed
dymd version
Top page
What does moniker mean?
A personal name or nickname. This name (moniker) will appear in the blockchain explorer.
SPACE in your moniker will create errors
DYMENSION_MONIKER="Replace_AVIAONE_by_your_name"
Top page
We are now ready to initialze the node
dymd init $DYMENSION_MONIKER --chain-id dymension_1100-1
Top page
Set minimum gas price
sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"20000000000adym\"|" $HOME/.dymension/config/app.toml
Download genesis
wget -O $HOME/.dymension/config/genesis.json "https://services.mainnet.dymension.aviaone.com/genesis.json"
Download addrbook
wget -O $HOME/.dymension/config/addrbook.json "https://services.mainnet.dymension.aviaone.com/addrbook.json"
Add Seeds
SEEDS="258f523c96efde50d5fe0a9faeea8a3e83be22ca@seed.mainnet.dymension.aviaone.com:10290,284313184f63d9f06b218a67a0e2de126b64258d@seeds.silknodes.io:25155"
sed -i -e "s|^seeds *=.*|seeds = \"$SEEDS\"|" $HOME/.dymension/config/config.toml
Change ports
Advanced users ONLY !
Clear Data
dymd tendermint unsafe-reset-all $HOME/.dymension --keep-addr-book
Top page
This will let you start and stop your node with /etc/systemd/system
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 enable dymd
sudo systemctl daemon-reload
This command will start your node
Do not use it now if you are going to use below : Snapshot | State Sync (because your node shouldn't start now... but after the Snapshot | State Sync)
sudo systemctl restart dymd && journalctl -u dymd -f --no-hostname -o cat
Top page
Please be sure to use the latest binary version : v3.1.0-alphab-mod
sed -i "/\[statesync\]/, /^enable =/ s/=.*/= false/;\
/^rpc_servers =/ s|=.*|= \"\"|;\
/^trust_height =/ s/=.*/= 0/;\
/^trust_hash =/ s/=.*/= \"\"/" $HOME/.dymension/config/config.toml
sudo systemctl stop dymd
SNAP_RPC="https://rpc-dymension.mzonder.com: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 "/\[statesync\]/, /^enable =/ s/=.*/= true/;\
/^rpc_servers =/ s|=.*|= \"$SNAP_RPC,$SNAP_RPC\"|;\
/^trust_height =/ s/=.*/= $BLOCK_HEIGHT/;\
/^trust_hash =/ s/=.*/= \"$TRUST_HASH\"/" $HOME/.dymension/config/config.toml
sudo systemctl stop dymd && dymd tendermint unsafe-reset-all --home $HOME/.dymension --keep-addr-book
sudo systemctl start dymd && journalctl -u dymd -f --no-hostname -o cat
Watch your logs and be patient it can take 5 minutes.... !!
With the command used just above, your node just started, now BE PATIENT your node has started to work and will need time to get synced on the last block.
First check your logs and have a look at what's going on !
You should see some output like this which confirm that your node is indexing blocks
### indexed block exents height=1300408 module=txindex
How to check if your node is already fully synced? ?
dymd status 2>&1 | jq .SyncInfo
The current block number is :1300408 and the last block app hash is :a37gvTzlDoiW8FeD1ibenrAZcTiwnk0vvblPGwW5IFE=
true mean syncing on the way, and true is NOT SYNCED
You will see an output with :
"catching_up": false
If you get true instead of false, please wait... it's not done yet, it's on the way...
true mean syncing on the way, and true is NOT SYNCED
The current block number is :1300408 and the last block app hash is :a37gvTzlDoiW8FeD1ibenrAZcTiwnk0vvblPGwW5IFE=
Top pageWhy it's better to get synced before to create or recover a wallet ?
Because when your wallet will be created or recovered, if you are not synced, you will not be able to check the balance !
Create Wallet
dymd keys add name_wallet
Recover Wallet
dymd keys add name_wallet --recover
Top page
Create your validator if you are not synced, you will get some troubles...
dymd tx staking create-validator \
--amount=1000000adym \
--pubkey=$(dymd tendermint show-validator) \
--moniker="YOUR_NICKNAME" \
--chain-id=dymension_1100-1 \
--commission-rate=0.05 \
--commission-max-rate=0.2 \
--commission-max-change-rate=0.02 \
--min-self-delegation=1 \
--website="https://your-website.com" \
--identity="keyBASE_id" \
--details="This is will be display in the blockchain explorer. Write here something about you"\
--gas-prices=0.1adym \
--gas-adjustment=1.5 \
--gas=auto \
--from=WRITE_HERE_YOUR_WALLET_ADDRESS
Top page
Congratulations, your made all the steps above necessary to setup the node for DYMENSION (chain-id=dymension_1100-1) with success and your node is already online now.
dymd q bank balances YOUR_WALLET_NUMBER
Must return false to get synced
dymd status 2>&1 | jq .SyncInfo
journalctl -u dymd -f --no-hostname -o cat
(In some case that's necessary to add "fees" or --gas=auto)
dymd tx gov vote 14 yes --from YOUR_WALLET_NUMBER --chain-id dymension_1100-1
(In some case that's necessary to add "fees" or --gas=auto)
dymd tx slashing unjail --chain-id=dymension_1100-1 --from YOUR_WALLET_NUMBER -y
sudo systemctl restart dymd && journalctl -u dymd -f --no-hostname -o cat
dymd q bank balances YOUR_WALLET_NUMBER
dymd keys add YOUR_WALLER_NAME
dymd keys add YOUR_WALLET_NUMBER --recover
dymd keys list
dymd keys delete YOUR_WALLET_NUMBER
(In some case that's necessary to add "fees" or --gas=auto)
dymd tx gov vote 14 yes --from YOUR_WALLET_NUMBER --chain-id dymension_1100-1
(In some case that's necessary to add "fees" or --gas=auto)
dymd tx gov vote 14 no --from YOUR_WALLET_NUMBER --chain-id dymension_1100-1
(In some case that's necessary to add "fees" or --gas=auto)
dymd tx gov vote 14 no_with_veto --from YOUR_WALLET_NUMBER --chain-id dymension_1100-1
(In some case that's necessary to add "fees" or --gas=auto)
dymd tx gov vote 14 abstain --from YOUR_WALLET_NUMBER --chain-id dymension_1100-1
(In some case that's necessary to add "fees" or --gas=auto)
dymd query gov proposals
(In some case that's necessary to add "fees" or --gas=auto)
dymd query gov proposal 14
(In some case that's necessary to adjust : "deposit" or "fees" or --gas=auto)
dymd tx gov submit-proposal \
--from YOUR_WALLET_NUMBER \
--chain-id dymension_1100-1 \
--deposit=100000000adym \
--type="Text" \
--title="Write here the title of your proposal for Dymension" \
--description="Describe here with details your proposal for Dymension" \
--fees=10000adym \
--gas=auto \
-y
(In some case that's necessary to add "fees" or --gas=auto)
dymd tx slashing unjail --chain-id=dymension_1100-1 --from YOUR_WALLET_NUMBER -y
dymd keys show YOUR_WALLET_NUMBER --bech val -a
dymd query staking validator YOUR_VALIDATOR_VALOPER --output json
dymd q staking validator $(dymd keys show YOUR_WALLET_NUMBER --bech val -a)
dymd query slashing signing-info $(dymd tendermint show-validator)
dymd status 2>&1 | jq .ValidatorInfo
dymd q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
dymd q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_UNBONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
dymd tx staking edit-validator \
--new-moniker="Replace AVIAONE by your name" \
--identity=YOUR_KEYBASE_ID \
--details="This is will be display in the blockchain explorer. Write here something about you" \
--chain-id=dymension_1100-1 \
--commission-rate=0.1 \
--from=YOUR_WALLET_NUMBER \
--gas-prices=0.1adym \
--gas-adjustment=1.5 \
--gas=auto \
-y
(NEVER DO IT if you are not already synced with the latest block)
dymd tx staking create-validator \
--amount=1000000adym \
--pubkey=$(dymension_1100-1 tendermint show-validator) \
--moniker="Replace AVIAONE by your name" \
--identity=YOUR_KEYBASE_ID \
--details="This is will be display in the blockchain explorer. Write here something about you" \
--chain-id=dymension_1100-1 \
--commission-rate=0.10 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1 \
--from=YOUR_WALLET_NUMBER \
--gas-prices=0.1adym \
--gas-adjustment=1.5 \
--gas=auto \
-y
(In some case that's necessary to add "fees" or --gas=auto)
dymd tx bank send WALLET_SENDER WALLET_RECEIVER 1000000adym --chain-id=dymension_1100-1
(In some case that's necessary to add "fees" or --gas=auto)
dymd tx staking delegate WALLET_NUMBER_WHERE_YOU_WANT_DELEGATE 1000000adym --from YOUR_WALLET_NUMBER --chain-id=dymension_1100-1
(In some case that's necessary to add "fees" or --gas=auto)
dymd tx staking delegate YOUR_VALIDATOR_NUMBER 1000000adym --from YOUR_WALLET_NUMBER --chain-id=dymension_1100-1
dymd tx distribution withdraw-all-rewards --from YOUR_WALLET_NUMBER
dymd tx distribution withdraw-rewards YOUR_VALIDATOR_NUMBER --from YOUR_WALLET_NUMBER --commission
Under contruction
Under contruction
Under contruction
sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0adym\"/" $HOME/.dymension/config/app.toml
sed -i -e 's|^indexer *=.*|indexer = "null"|' $HOME/.dymension/config/config.toml
sed -i -e 's|^indexer *=.*|indexer = "kv"|' $HOME/.dymension/config/config.toml
echo $(dymd tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.dymension/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
curl -sS https://rpc.mainnet.dymension.aviaone.com/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}'
YOU ARE GOING TO DELETE EVERYTHING WITHOUT ANY POSSIBILITY TO RECOVER, be sure that's really you are looking for...
BEFORE BE SURE TO SAVE $HOME/.dymension/config/priv_validator_key.json
This file $HOME/.dymension/config/priv_validator_key.json will let you create a new node with the same validator
cd $HOME
sudo systemctl stop dymd
sudo systemctl disable dymd
sudo rm /etc/systemd/system/dymd.service
sudo systemctl daemon-reload
rm -f $(which dymd)
rm -rf $HOME/.dymension
rm -rf $HOME/dymension
curl -sS https://rpc.mainnet.dymension.aviaone.com/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}'
PEERS="c600039ef70040740ae130d455768c509d173b12@85.10.200.232:23836,e1b058e5cfa2b836ddaa496b10911da62dcf182e@134.65.193.166:26656,73d55cb8271bb4f4d64205cbf1ff3788cb8bda1c@185.119.118.117:4000,404ba5aefbfeba7c04c878721b4f253129611223@188.40.89.163:28656,cb973c899ca82bd50ba8c64377988ba32e911dbc@142.132.248.34:20556,bdff67e45117e1198e92a6909728fefebbfada27@178.18.253.160:26656,51b6427668eda91cb925f8402ced74e2403805f6@65.109.92.240:17086,25c512bce1ddb1f694bb301ad013b92b385b9627@65.21.220.190:2000,947479fd6b0413b52895d92aeac2b1bc796842ff@135.181.134.148:23656,6fdf88fd6d5dd09d945fd067cb85c2161c2c8186@207.180.238.109:20556"
sed -i -e "s|^persistent_peers *=.*|persistent_peers = \"$PEERS\"|" $HOME/.dymension/config/config.toml
SEEDS="258f523c96efde50d5fe0a9faeea8a3e83be22ca@seed.mainnet.dymension.aviaone.com:10290,284313184f63d9f06b218a67a0e2de126b64258d@seeds.silknodes.io:25155"
sed -i -e "s|^seeds *=.*|seeds = \"$SEEDS\"|" $HOME/.dymension/config/config.toml
(updated every 4 hours)
curl -Ls https://services.mainnet.dymension.aviaone.com/addrbook.json > $HOME/.dymension/config/addrbook.json
(updated every 4 hours)
curl -Ls https://services.mainnet.dymension.aviaone.com/genesis.json > $HOME/.dymension/config/genesis.json
(updated every 24 hours)
File name : 2024-05-02.tar.gz
Please be sure to use the latest binary version.
One last minute version can be published ! Please check by yourself here... and compare with your node dymd version
sudo systemctl stop dymd
cp $HOME/.dymension/data/priv_validator_state.json $HOME/.dymension/priv_validator_state.json.backup
dymd tendermint unsafe-reset-all --home $HOME/.dymension --keep-addr-book
wget -c 2024-05-02.tar.gz -O - | tar -xz -C $HOME/.dymension
mv $HOME/.dymension/priv_validator_state.json.backup $HOME/.dymension/data/priv_validator_state.json
sudo systemctl start dymd && sudo journalctl -u dymd -f --no-hostname -o cat
Please be sure to use the latest binary version : v3.1.0-alphab-mod
sed -i "/\[statesync\]/, /^enable =/ s/=.*/= false/;\
/^rpc_servers =/ s|=.*|= \"\"|;\
/^trust_height =/ s/=.*/= 0/;\
/^trust_hash =/ s/=.*/= \"\"/" $HOME/.dymension/config/config.toml
sudo systemctl stop dymd
SNAP_RPC="https://rpc-dymension.mzonder.com: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 "/\[statesync\]/, /^enable =/ s/=.*/= true/;\
/^rpc_servers =/ s|=.*|= \"$SNAP_RPC,$SNAP_RPC\"|;\
/^trust_height =/ s/=.*/= $BLOCK_HEIGHT/;\
/^trust_hash =/ s/=.*/= \"$TRUST_HASH\"/" $HOME/.dymension/config/config.toml
sudo systemctl stop dymd && dymd tendermint unsafe-reset-all --home $HOME/.dymension --keep-addr-book
sudo systemctl start dymd && journalctl -u dymd -f --no-hostname -o cat
Watch your logs and be patient it can take 5 minutes.... !!
That's an easy process, just click and follow the instructions...it will be done in 10 seconds !
Our platform offers a secure link that allows you to effortlessly connect your KEPLR wallet. The process is quick and easy. Adding a new chain to your wallet is a standard procedure that doesn't involve any transaction. It simply requires your approval. To get started, click on the button below to add this chain to your wallet and start interacting with the blockchain.