Community Tools & Services
Blacknodes contribution to
Blacknodes contribution to
Follow these steps to quickly install and set up your Story node:
wget https://files4.blacknodes.net/story-testnet/story-node-installer.sh
chmod +x story-node-installer.sh
./story-node-installer.sh
After completion, you can view logs using:
For Story logs:
sudo journalctl -u story -f
For Geth logs:
sudo journalctl -u story-geth -f
Snapshot is updated every 6hours
Latest Snapshot available is at height 1162174 (55.13 GB)
wget https://files4.blacknodes.net/story-testnet/odyssey_1162174.tar.lz4 --inet4-only
lz4 -c -d odyssey_1162174.tar.lz4 | tar -x -C $HOME/.story/story/data
Latest Snapshot available is at height 1162173 (41.41 GB)
Snapshot is updated every 6 hours
wget https://files4.blacknodes.net/story-testnet/story-geth_1162173.tar.lz4 --inet4-only
lz4 -c -d story-geth_1162173.tar.lz4 | tar -x -C $HOME/.story/geth/odyssey/geth/chaindata
Latest Snapshot available is at height 1162174 (112.21 GB)
Snapshot is updated every 6 hours
wget https://files5.blacknodes.net/story-testnet/odyssey_1162174.tar.lz4 --inet4-only
lz4 -c -d odyssey_1162174.tar.lz4 | tar -x -C $HOME/.story/story/data
Latest Snapshot available is at height 1249754 (557.74 GB)
Snapshot is updated every 6 hours
wget https://files5.blacknodes.net/story-testnet/story-geth_1249754.tar.lz4 --inet4-only
lz4 -c -d story-geth_1249754.tar.lz4 | tar -x -C $HOME/.story/geth/odyssey/geth/chaindata
https://story-testnet-evm-rpc.blacknodes.net
The Addrbook is updated everyday. If you are not getting peers you can Stop your node, download and replace your addrbook.json with the steps below, and restart your node.
wget -O addrbook.json https://files4.blacknodes.net/story-testnet/addrbook.json --inet4-only
mv addrbook.json $HOME/.story/story/config/
This is copy of our genesis file
wget -O genesis.json https://files4.blacknodes.net/story-testnet/genesis.json --inet4-only
mv genesis.json $HOME/.story/story/config/
https://story-testnet-api.blacknodes.net
https://story-testnet-rpc.blacknodes.net
https://story-testnet-evm-rpc.blacknodes.net
wss://ws-story-testnet-evm-rpc.blacknodes.net
Install Monitoring Tools(Prometheus and Grafana using this script)
wget https://raw.githubusercontent.com/blacknodes/Scripts/main/install-monitoring-tools.sh
sudo chmod +x install-monitoring-tools.sh
./install-monitoring-tools.sh
Add Job "Story-Node" in prometheus file
sed -i '/scrape_configs:/a \
- job_name: "Story-Node"\
static_configs:\
- targets: ["localhost:26660"]' /opt/prometheus/prometheus.yml
Set prometheus to true in config.toml file And Restart the node and prometheus
sed -i '/prometheus =/s/false/true/' /root/.story/story/config/config.toml
sudo systemctl restart story-testnet.service
sudo systemctl restart prometheus.service
Make Sure to enable port 3000
sudo ufw allow 3000
Go To http://yourip:3000
Add New DataSource Prometheus
Set Alert
Use this metric for alert(You can also use other metrics too, we recommend this one if you are a validator)
increase(cometbft_consensus_validator_last_signed_height[5m])
Set Threshold (is below 15) and change type from range to instant
Add Notification Channel (Here we will use telegram )
Use https://t.me/BotFather to create your notification bot and https://t.me/userinfobot to check your Telegram ID.
Add new Contact point, paste your bot api token and telegram id there
Now you'll receive an alert in your telegram bot whenever your node will stop or get out of the active set!
Use this StateSync method to synchronize your node within 10minutes
SNAP_RPC=https://story-testnet-rpc.blacknodes.net:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
peers="c5d5626a9da3a3ff7dc65c5b973b758a1a9ee13b@65.108.229.11:53656"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.story/story/config/config.toml
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\"\"|" ~/.story/story/config/config.toml
sudo systemctl restart story-testnet && sudo journalctl -u story-testnet -f -o cat
Use our Live Peers list to quick connect your node with the network
Loading peers...
peers=$(curl -s https://services.blacknodes.net/Story-Testnet/data/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.story/story/config/config.toml
Use our BlackNodes Peer to quick connect your node with the network
71309253367714ccb24ecc38c9c8edf54e05ffd2@65.108.229.11:53656