Peers, Seeds, Live Peers, Addrbook

peers:

2f372238bf86835e8ad68c0db12351833c40e8ad@story-testnet-peer.itrocket.net:26656

seeds:

51ff395354c13fab493a03268249a74860b5f9cc@story-testnet-seed.itrocket.net:26656

live peers: (0 active)

PEERS="2f372238bf86835e8ad68c0db12351833c40e8ad@story-testnet-peer.itrocket.net:26656"
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.story/story/config/config.toml

peers scanner:

PEERS="2f372238bf86835e8ad68c0db12351833c40e8ad@story-testnet-rpc.itrocket.net:26656,d5519e378247dfb61dfe90652d1fe3e2b3005a5b@story-testnet.rpc.kjnodes.com:26656,[email protected]:26656,d0adad9344de86d8cde2ba65d07dbab0680d56dd@story-testnet-cosmos-rpc.crouton.digital:29856,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:27136,[email protected]:15656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:30656,[email protected]:26656,[email protected]:42656,[email protected]:26656,[email protected]:19656,[email protected]:17656,[email protected]:26656,[email protected]:26656"
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.story/story/config/config.toml

addrbook: (upd 1h)

wget -O $HOME/.story/story/config/addrbook.json https://server-3.itrocket.net/testnet/story/addrbook.json

genesis:

wget -O $HOME/.story/story/config/genesis.json https://server-3.itrocket.net/testnet/story/genesis.json

enode:

geth --exec 'admin.addPeer("enode://499267340ce74fd95b56181b219fc1097b138156c961a38cce608cbd8e22dc02214644997a6fc84c49023e59a70d52ee10c3c40007bd1ccca06267d708fc4aeb@story-testnet-enode.itrocket.net:30301")' attach ~/.story/geth/iliad/geth.ipc
sudo systemctl restart story-geth && sudo journalctl -u story-geth -f

Auto Snapshot (AutoSnap)

Shows snapshots, estimates download time, and monitors sync status after snapshot installation.All in one script. Simple & Convenient.
source <(curl -s https://itrocket.net/api/testnet/story/autosnap/)

Snapshot (pruned)

## Snapshot is not available yet

Archive Snapshot

## Archive snapshot is not available yet

State Sync

If you don't want to wait for a long synchronization you can use:

cd $HOME
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
mkdir $HOME/.story/story/data
mv $HOME/.story/story/priv_validator_state.json.backup $HOME/.story/story/data/priv_validator_state.json

peers="2f372238bf86835e8ad68c0db12351833c40e8ad@story-testnet-peer.itrocket.net:26656"  
SNAP_RPC="https://story-testnet-rpc.itrocket.net:443"

sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.story/story/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 && sleep 2

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/.story/story/config/config.toml

sudo systemctl restart story story-geth && sudo journalctl -u story -f

Wasm

Sorry, this project does not support WebAssembly.