> 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/selfchain-t/statesync-snapshot.md).

# StateSync/Snapshot

## &#x20;                                          🔥Selfchain🔥

## &#x20;                                             TESTNET

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

## StateSync Selfchain Testnet

```bash
SOOON
```

## SnapShot Testnet - updated every 5 hours

{% hint style="success" %}
<https://server-1.stavr.tech/Testnet/Selfchain/>
{% endhint %}

```sh
cd $HOME
apt install lz4
sudo systemctl stop selfchaind
cp $HOME/.selfchain/data/priv_validator_state.json $HOME/.selfchain/priv_validator_state.json.backup
rm -rf $HOME/.selfchain/data
LATEST_SNAPSHOT=$(curl -s https://server-1.stavr.tech/Testnet/Selfchain/ | grep -oE 'self-snap-[0-9]+\.tar\.lz4' | while read SNAPSHOT; do HEIGHT=$(curl -s "https://server-1.stavr.tech/Testnet/Selfchain/${SNAPSHOT%.tar.lz4}-info.txt" | awk '/Block height:/ {print $3}'); echo "$SNAPSHOT $HEIGHT"; done | sort -k2 -nr | head -n 1 | awk '{print $1}')
curl -o - -L https://server-1.stavr.tech/Testnet/Selfchain/$LATEST_SNAPSHOT | lz4 -c -d - | tar -x -C $HOME/.selfchain
mv $HOME/.selfchain/priv_validator_state.json.backup $HOME/.selfchain/data/priv_validator_state.json
wget -O $HOME/.selfchain/config/addrbook.json "https://server-1.stavr.tech/Testnet/Selfchain/addrbook.json"
sudo systemctl restart selfchaind && journalctl -fu selfchaind -n100 -ocat
```

## Useful Tools

🔥EXPLORER-T🔥: <https://explorer.stavr.tech/Selfchain-testnet> `Indexer "ON"`\
🔥API-T🔥: <https://selfchain.api.t.stavr.tech>

* &#x20;Addrbook-T

```python
wget -O $HOME/.selfchain/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Selfchain/addrbook.json"
```

* Genesis-T

```bash
wget -L -O $HOME/.selfchain/config/genesis.json "https://server-1.stavr.tech/Testnet/Selfchain/genesis.json"
```

* Auto\_install\_script-T

```bash
wget -O $HOME/.selfchain/config/addrbook.json "https://server-1.stavr.tech/Testnet/Selfchain/addrbook.json"
```

## 🔥[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>
