⛓️StateSync/Snapshot
🔥Side Protocol🔥
TESTNET
StateSync Side Testnet
systemctl stop sided
SNAP_RPC=https://side.rpc.t.stavr.tech:443
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \
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.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\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.side/config/config.toml
sided tendermint unsafe-reset-all --home /root/.side
wget -O $HOME/.side/config/addrbook.json "https://server-1.stavr.tech/Testnet/Side/addrbook.json"
curl -o - -L https://side-t.wasm.stavr.tech/wasm-side.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.side
sudo systemctl restart sided && journalctl -fu sided -o catSnapShot Testnet - updated every 5 hours
Useful Tools
🔥EXPLORER-T🔥: https://explorer.stavr.tech/Side-Testnet Indexer "ON"
🔥API-T🔥: https://side.api.t.stavr.tech
🔥RPC-T🔥: https://side.rpc.t.stavr.tech Snapshot-interval = 1000
🔥gRPC-T🔥: side.grpc.t.stavr.tech:9917
Seed-T
Addrbook-T
Genesis-T
WASM-T
Auto_install_script-T
Last updated
Was this helpful?