> For the complete documentation index, see [llms.txt](https://stavr-team.gitbook.io/nodes-guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stavr-team.gitbook.io/nodes-guides/testnets/story-network/statesync-snapshot.md).

# StateSync/Snapshot

## &#x20;                                                     🔥Story🔥

## &#x20;                                                     TESTNET

## [Node installation instructions](https://stavr-team.gitbook.io/nodes-guides/testnets/story-network/node-installation)

## StateSync Story Testnet

```bash
SOOON
```

## SnapShot Testnet - updated every 12 hours

{% hint style="success" %} <mark style="color:orange;">**You can check the size and time of snapshot creation with this command**</mark>\
`curl -sI https://story.snapshot.stavr.tech/story-snap.tar.lz4 | grep "last" && curl -sI https://story.snapshot.stavr.tech/story-snap.tar.lz4 | grep content-length | awk '{printf "%.2f GB\n", $2/1024/1024/1024}'`\
\
`curl -sI https://story.snapshot.stavr.tech/story_geth-snap.tar.lz4 | grep "last" && curl -sI https://story.snapshot.stavr.tech/story_geth-snap.tar.lz4 | grep content-length | awk '{printf "%.2f GB\n", $2/1024/1024/1024}'`
{% endhint %}

```sh
cd $HOME
snap install lz4
sudo systemctl stop story story-geth
cp $HOME/.story/story/data/priv_validator_state.json $HOME/.story/story/priv_validator_state.json.backup
rm -rf $HOME/.story/story/data
rm -rf $HOME/.story/geth/odyssey/geth/chaindata
curl -o - -L https://story.snapshot.stavr.tech/story-snap.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.story/story/
curl -o - -L https://story.snapshot.stavr.tech/story_geth-snap.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.story/geth/odyssey/geth/
mv $HOME/.story/story/priv_validator_state.json.backup $HOME/.story/story/data/priv_validator_state.json
wget -O $HOME/.story/story/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Story/addrbook.json"
sudo systemctl restart story-geth
sudo systemctl restart story && sudo journalctl -fu story -ocat
```

## SnapShot Testnet Archive (updated every 2 days)

{% hint style="success" %} <mark style="color:orange;">**You can check the size and time of snapshot creation with this command**</mark> \
`curl -sI https://story-archive.snapshot.stavr.tech/story-snap.tar.lz4 | grep "last" && curl -sI https://story-archive.snapshot.stavr.tech/story-snap.tar.lz4 | grep content-length | awk '{printf "%.2f GB\n", $2/1024/1024/1024}'`\
\
`curl -sI https://story-archive.snapshot.stavr.tech/story_geth-snap.tar.lz4 | grep "last" && curl -sI https://story-archive.snapshot.stavr.tech/story_geth-snap.tar.lz4 | grep content-length | awk '{printf "%.2f GB\n", $2/1024/1024/1024}'`
{% endhint %}

```bash
cd $HOME
snap install lz4
sudo systemctl stop story story-geth
cp $HOME/.story/story/data/priv_validator_state.json $HOME/.story/story/priv_validator_state.json.backup
rm -rf $HOME/.story/story/data 
rm -rf $HOME/.story/geth/odyssey/geth/chaindata
curl -o - -L https://story-archive.snapshot.stavr.tech/story-snap.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.story/story/
curl -o - -L https://story-archive.snapshot.stavr.tech/story_geth-snap.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.story/geth/odyssey/geth/
mv $HOME/.story/story/priv_validator_state.json.backup $HOME/.story/story/data/priv_validator_state.json
wget -O $HOME/.story/story/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Story/addrbook.json"
sudo systemctl restart story-geth
sudo systemctl restart story && sudo journalctl -fu story -ocat
```

### Live Peers (upd every 2h)

```bash
PEERS_URL="https://story-archive.snapshot.stavr.tech/peers-scan.txt"
update_peers() {
PEERS=$(curl -s $PEERS_URL | sed -n 's/^PEERS="\([^"]*\)"$/\1/p')
if [ -n "$PEERS" ]; then
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.story/story/config/config.toml
echo -e "🔥Peers updated successfully 🔥"
else
echo "Failed to get peer data. Check the URL or try again later."
fi
}
update_peers
```

## Useful Tools

🔥API-T🔥: [**https://story.api.t.stavr.tech**](https://story.api.t.stavr.tech)\
🔥RPC-T🔥: [**https://story.rpc.t.stavr.tech**](https://story.rpc.t.stavr.tech)

&#x20;                               **ARCHIVE NODE**

* **rpc archive:** [**https://story.rpc-archive.t.stavr.tech:443**](https://story.rpc-archive.t.stavr.tech:443)

* **api archive:** [**https://story.api-archive.t.stavr.tech:443**](https://story.api-archive.t.stavr.tech:443)

* **grpc archive** [**https://story.grpc-archive.t.stavr.tech:443**](https://story.grpc-archive.t.stavr.tech:443)

* **evm-json:** [**https://story.evm.t.stavr.tech:443**](https://story.evm.t.stavr.tech:443)

* **wss archive: wss\://story.rpc-archive.t.stavr.tech/websocket**

* &#x20;Addrbook-T (upd every 2h)

```python
wget -O $HOME/.story/story/config/addrbook.json "https://story-archive.snapshot.stavr.tech/addrbook.json"
```

* Genesis

```bash
wget -O $HOME/.story/story/config/genesis.json "https://raw.githubusercontent.com/111STAVR111/props/main/Story/genesis.json"
```

* Auto\_install\_script-T

```bash
source <(curl -s https://raw.githubusercontent.com/111STAVR111/props/main/Story/storyt)
```

## 🔥[Decentralization Info](https://github.com/obajay/StateSync-snapshots/tree/main/Projects/Dymension/Decentralization)🔥

<details>

<summary>RPC Scanning</summary>

### We scan nodes in real time every 4 hours. And we provide the final result of RPC endpoints. We cannot influence the operation of these nodes in any way.

```python
If Voting Power is higher than 0 --> then the Node is a validator of the network and may be subject to attack and be a potential threat to the chain.
```

```python
We marked such validators with a red symbol
```

</details>
