Community Tools & Services
Blacknodes contribution to
Blacknodes contribution to
Snapshot is updated every 6hours
Latest Snapshot available is at height 8720703 (104.86 GB)
wget https://files2.blacknodes.net/berachain-v2/bartio-beacon-80084_8720703.tar.lz4 --inet4-only
lz4 -c -d bartio-beacon-80084_8720703.tar.lz4 | tar -x -C $HOME/.beacond/data
Snapshot is updated every 24 hours
Latest Snapshot available is at height 7744522 (5337.36 GB)
wget https://berafiles.blacknodes.net/berachain-geth/bartio_geth_archived_7744522.tar.lz4 --inet4-only
lz4 -c -d bartio_geth_archived_7744522.tar.lz4 | tar -x -C $HOME/.ethereum/data/geth
Snapshot is updated every 24hrs hours
Latest Snapshot available is at height 8718859 (496.44 GB)
wget https://berafiles.blacknodes.net/berachain-v2/bartio-beacon-80084_8718859.tar.lz4 --inet4-only
lz4 -c -d bartio-beacon-80084_8718859.tar.lz4 | tar -x -C $HOME/.beacond/data
https://berachain-v2-el-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://files2.blacknodes.net/berachain-v2/addrbook.json --inet4-only
mv addrbook.json $HOME/.beacond/config/
This is copy of our genesis file
wget -O genesis.json https://files2.blacknodes.net/berachain-v2/genesis.json --inet4-only
mv genesis.json $HOME/.beacond/config/
https://berachain-v2-testnet-api.blacknodes.net
https://berachain-v2-testnet-rpc.blacknodes.net
berachain-v2-testnet-grpc.blacknodes.net:30090
https://berachain-v2-testnet-evm-rpc.blacknodes.net
wss://ws-berachain-v2-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 "berachain-Node" in prometheus file
sed -i '/scrape_configs:/a \
- job_name: "berachain-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/.beacond/config/config.toml
sudo systemctl restart beacond.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://berachain-v2-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="50b375cbe808830799557047bd38b914b4328cb5@berachain-v2-testnet.blacknodes.net:30656"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.beacond/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\"\"|" ~/.beacond/config/config.toml
sudo systemctl restart beacond && sudo journalctl -u beacond -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/Berachain-V2/data/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.beacond/config/config.toml
Use our BlackNodes Peer to quick connect your node with the network
50b375cbe808830799557047bd38b914b4328cb5@berachain-v2-testnet.blacknodes.net:30656