Services for Desmos Testnet
Endpoints
- API https://api-testnet-desmos.sr20de.xyz
- RPC https://rpc-testnet-desmos.sr20de.xyz
- GRPS: https://grpc-testnet-desmos.sr20de.xyz
Peers
1 |
fcf8207fb84a7238089bd0cd8db994e0af9016b6@139.162.136.24:26656,dd21fbee750217f6ab7f5b4e174a0b12e416b08c@213.136.81.75:26656,10253208a575d9a04bdf6b63daec0ec0877c9302@23.88.102.228:26656,8066ad0de4d026e2e6c80fbd7271f23d4e0df603@207.180.224.215:35656,daefd89d6142c5ac65424298a0f8ef2aa2f12830@5.161.206.6:26756,1d9cc23eedb2d812d30d99ed12d5c5f21ff40c23@45.33.57.69:26656,570044847766ad842263fde3ea59fa91fb2cbd04@207.180.204.112:26656,0f0b0316758f50ff90299ae22c10729b71296d70@193.203.15.177:26656,4659ab47eef540e99c3ee4009ecbe3fbf4e3eaff@172.104.155.160:26656,078449cc36f056fb56a0dd9896bde84b0c867558@108.61.171.229:26656,ba654f21af3ef9a149daec5125e3ea7a57ec7ca5@139.162.125.74:26656,eb3b2e0cee15e88e7d90e2a9c90a4c243ca88ffc@149.102.157.5:26156,8a109c83c8188be1353b03c10ecfe6998b9bb179@24.144.80.59:26656,7fd4ab41d1a2c6788d103f88394ac83db68396db@23.226.3.96:26656,9799298e45a555813bf2f1e93120c647a37b77c3@135.181.211.97:26664,071763f98150140c94f96d2244d8663354455b1c@162.55.171.213:26656,8abe918bc346ad84dd2dab77e5f94e9bc4da0237@192.46.230.248:26656,c7e0048ef93ef43d1da48be1de3973b2ac15e9cc@103.180.28.93:26656,f097471fa940fc5844c77012251d0101f4abc4ac@65.21.152.138:26656,b0624bf59815c06a9c089f4911210043d0d45b1e@89.116.27.24:26756,8b6026dc4023991a7768f812d7d5b71e30444f2d@65.108.131.190:22956,be3db0fe5ee7f764902dbcc75126a2e082cbf00c@172.105.122.103:26656,5def03368defcc963f2b258eb306f1facfd2f340@23.88.53.28:30656,fcf8207fb84a7238089bd0cd8db994e0af9016b6@139.162.136.24:26656,dd21fbee750217f6ab7f5b4e174a0b12e416b08c@213.136.81.75:26656,10253208a575d9a04bdf6b63daec0ec0877c9302@23.88.102.228:26656 |
State-sync
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
sudo systemctl stop desmosd desmos tendermint unsafe-reset-all --home $HOME/.desmos --keep-addr-book SNAP_RPC="https://rpc-testnet-desmos.sr20de.xyz:443" LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height) BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)) 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 's|^enable *=.*|enable = true|' $HOME/.desmos/config/config.toml sed -i 's|^rpc_servers *=.*|rpc_servers = "'$SNAP_RPC,$SNAP_RPC'"|' $HOME/.desmos/config/config.toml sed -i 's|^trust_height *=.*|trust_height = '$BLOCK_HEIGHT'|' $HOME/.desmos/config/config.toml sed -i 's|^trust_hash *=.*|trust_hash = "'$TRUST_HASH'"|' $HOME/.desmos/config/config.toml #Delete wasm and download wasm only rm -rf $HOME/.desmos/wasm curl -o - -L https://snapshots2.sr20de.xyz/desmos/wasm_testnet_latest.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.desmos/ sudo systemctl restart desmosd && journalctl -u desmosd -f -o cat |
Snapshot
Stop Node and Reset Data
1 2 3 4 5 |
sudo systemctl stop desmosd cp $HOME/.desmos/data/priv_validator_state.json $HOME/.desmos/priv_validator_state.json.backup rm -rf $HOME/.desmos/data rm -rf $HOME/.desmos/wasm desmos tendermint unsafe-reset-all --home ~/.desmos --keep-addr-book |
Download Snapshot
1 2 3 |
curl -o - -L https://snapshots2.sr20de.xyz/desmos/desmos_testnet_latest.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 |
Start node
1 |
sudo systemctl restart desmosd && journalctl -u desmosd -f -o cat |
WASM
1 2 3 |
rm -rf $HOME/.desmos/wasm curl -o - -L https://snapshots2.sr20de.xyz/desmos/wasm_testnet_latest.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.desmos/ |