⛓️StateSync/Snapshot

🔥Airchains🔥

TESTNET

StateSync Airchains Testnet

SNAP_RPC=https://airchains.rpc.t.stavr.tech:443
cp $HOME/.junctiond/data/priv_validator_state.json $HOME/.junctiond/priv_validator_state.json.backup
sed -i -e "/seeds =/ s/= .*/= \"$SEEDS\"/"  $HOME/.junctiond/config/config.toml
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/.junctiond/config/config.toml
junctiond tendermint unsafe-reset-all --home $HOME/.junctiond--keep-addr-book
mv $HOME/.junctiond/priv_validator_state.json.backup $HOME/.junctiond/data/priv_validator_state.json
wget -O $HOME/.junctiond/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Airchains/addrbook.json"
sudo systemctl restart junctiond && journalctl -fu junctiond -o cat

SnapShot Testnet - updated every 5 hours

Useful Tools

🔥EXPLORER-T🔥: https://explorer.stavr.tech/Airchains-Testnet/ Indexer "ON" 🔥API-T🔥: https://airchains.api.t.stavr.tech 🔥RPC-T🔥: https://airchains.rpc.t.stavr.tech Snapshot-interval = 1000 🔥gRPC-T🔥: airchains.grpc.t.stavr.tech:152

  • Peer-T

  • Addrbook-T

  • Genesis-T

  • Auto_install_script-T

RPC Scanning

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.

Last updated

Was this helpful?