Panthea EU Docs
Search
K

Desmos (DSM)

Snapshot (Max. 4 hours old)

sudo systemctl stop desmosd
cp $HOME/.desmos/data/priv_validator_state.json $HOME/.desmos/priv_validator_state.json.backup
rm -rf $HOME/.desmos/data
curl -o - -L https://valhalla.panthea.eu/snapshots/desmos-snapshot.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.desmos
mv $HOME/.desmos/priv_validator_state.json.backup $HOME/.desmos/data/priv_validator_state.json
sudo systemctl start desmosd

Wasm only (Max. 4 hours old)

rm -rf $HOME/.desmos/wasm
curl -o - -L https://valhalla.panthea.eu/snapshots/desmos-wasm.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.desmos/

State Sync

SNAP_RPC="https://desmos-rpc.panthea.eu:443"
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 500)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" $HOME/.desmos/config/config.toml
sudo systemctl stop desmosd
cp $HOME/.desmos/data/priv_validator_state.json $HOME/.desmos/priv_validator_state.json.backup
desmos tendermint unsafe-reset-all --keep-addr-book --home "$HOME/.desmos"
mv $HOME/.desmos/priv_validator_state.json.backup $HOME/.desmos/data/priv_validator_state.json
sudo systemctl start desmosd

Addrbook (Updated every hour)

curl -Ls https://valhalla.panthea.eu/addrbooks/desmos/addrbook.json > $HOME/.desmos/config/addrbook.json

Genesis file

curl -Ls https://valhalla.panthea.eu/genesis/desmos/genesis.json > $HOME/.desmos/config/genesis.json

Persistent Peer

Seed Node

gRPC Endpoint

desmos-grpc.panthea.eu:16730

RPC Endpoint

REST/API Endpoint

Last modified 20d ago