Community Tools & Services
Blacknodes contribution to
Blacknodes contribution to
Snapshot is updated every 6hours
wget https://files.blacknodes.net/seda/seda-1.tar.lz4 --inet4-only
lz4 -c -d seda-1.tar.lz4 | tar -x -C $HOME/.sedad/data
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://files.blacknodes.net/seda/addrbook.json --inet4-only
mv addrbook.json $HOME/.sedad/config/
This is copy of our genesis file
wget -O https://files.blacknodes.net/seda/genesis.json --inet4-only
mv genesis.json $HOME/.sedad/config/
https://seda-api.blacknodes.net
https://seda-rpc.blacknodes.net
seda-grpc.blacknodes.net:19090
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 "Seda-Node" in prometheus file
sed -i '/scrape_configs:/a \
- job_name: "Seda-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/.sedad/config/config.toml
sudo systemctl restart sedad.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://seda-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="d8483e560bea268ddf8c1176b44571f6c09b9535@sedamain.blacknodes.net:19656"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.sedad/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\"\"|" ~/.sedad/config/config.toml
sudo systemctl restart sedad && sudo journalctl -u sedad -f -o cat
N/A
Use our Live Peers list to quick connect your node with the network
Loading peers...
peers=$(curl -s https://services.blacknodes.net/Seda/data/sedapeers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.sedad/config/config.toml
Use our BlackNodes Peer to quick connect your node with the network
d8483e560bea268ddf8c1176b44571f6c09b9535@sedamain.blacknodes.net:19656