The following tool downloads are for Defund Private Testnet-4.
- Address book download – addrbook.json (updated weekly)
- Chain database snapshot – snapshot.tar.lz4 (updated 3x daily)
- Genesis file download – genesis.json
If your node is having problem connecting to peers, try using this 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
|Type||Protocol Version||Size||Snapshot Frequency||Download URL|
|Pruned 100/0/19||defundd v2.2.0||1 Gb||every 8 hrs||snapshot.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.
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.
- Download the snapshot file
- Stop your service (or cosmovisor if you’re running cosmovisor)
- Reset your data folder. Be sure to backup your priv_validator_key.json and node_key.json files
- Extra snapshot file
- Optional step – Update file ownership as needed if it’s changed during file extraction
- 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
This is a mirror of the team’s genesis file on the project’s github page. Be sure to check the file shasum hash.