Comdex Tools

The following tool downloads are for Comdex Mainnet.

Address Book

If your node is having problem connecting to peers, try using this address book.

Download address book

How to use address book

To use the address book. First stop your node, then download the addrbook.json file and copy to your node config folder. Detailed steps below.

sudo systemctl stop comdex
wget -O addrbook.json https://usw-snapshots.s3.us-west-2.amazonaws.com/comdex/addrbook.json
cp addrbook.json $HOME/.comdex/config/addrbook.json
sudo systemctl start comdex

Snapshot

TypeProtocol VersionSizeSnapshot FrequencyDownload URL
Pruned 100/0/19comdex v7.0.012 Gbdailysnapshot.tar.lz4

These snapshots currently are created every 24 hours or immediately as needed.

The download URL is a permalink. The link will remain the same even though the file will be updated. The permalink allows you to incorporate it into your node creation automation script.

To use our snapshot, you’ll need to match your node settings to our snapshot setting initially in order to start syncing. Once your node is synced to latest block height, you can then change your pruning setting to other settings you desire.

Pruning settings

To use our snapshot, change the following settings

app.toml – file located in your .comdex/config folder

pruning = “custom”
pruning-keep-recent = “100”
pruning-keep-every = “0”
pruning-interval = “19”

config.toml – file located in your .comdex/config folder

indexer = “null”

Note that the default indexer setting is “kv”.

How to use snapshot

To use our snapshot, follow the detailed steps below.

  1. Download the snapshot file
  2. Stop your service (or cosmovisor if you’re running cosmovisor)
  3. Reset your data folder. Be sure to backup your priv_validator_key.json and node_key.json files
  4. Extra snapshot file
  5. Optional step – Update file ownership as needed if it’s changed during file extraction
  6. Restart your service

See actual commands below. Comments for each step are the text following the # sign.

wget -O snapshot.tar.lz4 https://usw-snapshots.s3.us-west-2.amazonaws.com/comdex/snapshot.tar.lz4 #Download the file to your home folder
sudo systemctl stop comdex #Stop your service. If running cosmovisor, use sudo system stop cosmovisor here instead
comdex tendermint unsafe-reset-all –keep-addr-book #Reset your data folder. Make sure to back up your priv_validator_key.json file
lz4 -c -d snapshot.tar.lz4 | tar -x -C ~/.comdex #Extract snapshot
chown -R YOUR_USER:YOUR_GROUP ~/.comdex/data #Optional step. Update file ownership to your user:user-group as needed
sudo systemctl start comdex #Restart your service

Genesis File

This is a mirror of the team’s genesis file on the project’s github page. Be sure to check the file shasum hash.

Download genesis.json

Team’s github page