Defund Testnet-4 Tools

The following tool downloads are for Defund Private Testnet-4.

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 defund config folder. Detailed steps below.

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

Snapshot

TypeProtocol VersionSizeSnapshot FrequencyDownload URL
Pruned 100/0/19defundd v2.2.01 Gbevery 8 hrssnapshot.tar.lz4

These snapshots currently are created every 8 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 .defund/config folder

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

config.toml – file located in your .defund/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/defund/testnet4/snapshot.tar.lz4 #Download the file to your home folder
sudo systemctl stop defundd #Stop your service. If running cosmovisor, use sudo system stop cosmovisor here instead
defundd 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 ~/.defund #Extract snapshot
chown -R YOUR_USER:YOUR_GROUP ~/.defund/data #Optional step. Update file ownership to your user:user-group as needed
sudo systemctl start defundd #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