⛓️StateSync/Snapshot
🔥Sge🔥
TESTNET
StateSync Sge Testnet
systemctl stop sged
SNAP_RPC=https://sge.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/.sge/config/config.toml
sged tendermint unsafe-reset-all --home /root/.sge
wget -O $HOME/.sge/config/addrbook.json "https://server-1.stavr.tech/Testnet/Sge/addrbook.json"
curl -o - -L https://server-3.stavr.tech/Testnet/Sge/wasm-sget.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.sge
sudo systemctl restart sged && journalctl -fu sged -o catSnapShot Testnet - updated every 5 hours
Useful Tools
🔥EXPLORER-M🔥: https://explorer.stavr.tech/Sge-Mainnet Indexer "ON"
🔥EXPLORER-T🔥: https://explorer.stavr.tech/Sge-Testnet Indexer "ON"
🔥API-M🔥: https://sge.api.m.stavr.tech
🔥API-T🔥: https://sge.api.t.stavr.tech
🔥RPC-M🔥: https://sge.rpc.m.stavr.tech Snapshot-interval = 300
🔥RPC-T🔥: https://sge.rpc.t.stavr.tech Snapshot-interval = 100
🔥gRPC-M🔥: sge.grpc.m.stavr.tech:543
🔥gRPC-T🔥: sge.grpc.t.stavr.tech:543
Seed-T
Addrbook-T
Genesis-T
Auto_install_script-T
Wasm-T
Last updated
Was this helpful?