Community Tools & Services
Blacknodes contribution to
Blacknodes contribution to
Snapshot is updated every 6hours
wget https://files.blacknodes.net/celestia/celestia_mocha-4.tar.lz4 --inet4-only
lz4 -c -d celestia_mocha-4.tar.lz4 | tar -x -C $HOME/.celestia-app/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/celestia/addrbook.json --inet4-only
mv addrbook.json $HOME/.celestia-app/config/
This is copy of our genesis file
wget -O genesis.json https://files.blacknodes.net/celestia/genesis.json --inet4-only
mv genesis.json $HOME/.celestia-app/config/
https://celestia-testnet-api.blacknodes.net
https://celestia-testnet-rpc.blacknodes.net
celestia-testnet-grpc.blacknodes.net:17090
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 "celestia-Node" in prometheus file
sed -i '/scrape_configs:/a \
- job_name: "celestia-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/.celestia-app/config/config.toml
sudo systemctl restart celestia-appd.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://celestia-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
sudo systemctl stop celestia-appd
celestia-appd tendermint unsafe-reset-all --home ~/.celestia-app --keep-addr-book
peers="a2b735a3f7364ee82ba2dcf18be607101998444f@94.130.35.35:18656"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.celestia-app/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\"\"|" ~/.celestia-app/config/config.toml
sudo systemctl restart celestia-appd && sudo journalctl -u celestia-appd -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/Celestia/data/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.celestia-app/config/config.toml
Use our BlackNodes Peer to quick connect your node with the network
af73ecc4d2084643fe77657d260a07240872d91f@celestia-testnet.blacknodes.net:26656
Use our BlackNodes Full-Consensus-Node-RPC to connect with your DA bridge, full, and light nodes
consensus-full-mocha.blacknodes.net