X PrimeFlow

Celestia

Celestia
Chain ID: mocha-4
Block Height:
Network Status: Connecting
Explorer

bridge node reference for Celestia Mocha testnet

Official documentation

Read-only diagnostics

These checks do not install, initialize, restart, upgrade or delete services or nodes.

SERVICE="celestia-bridge"
STORE="$HOME/.celestia-bridge-mocha-4"

command -v celestia >/dev/null || { echo "celestia binary is not installed" >&2; exit 1; }
celestia version
sudo systemctl status "$SERVICE" --no-pager || true
sudo journalctl -u "$SERVICE" -n 100 --no-pager
celestia header sync-state --node.store "$STORE"

Published bridge snapshot metadata

Reversible decommission

This stops and disables the service, then moves the complete node store to a retained timestamped path. Nothing is removed.

set -euo pipefail

SERVICE="celestia-bridge"
STORE="$HOME/.celestia-bridge-mocha-4"
STAMP=$(date -u +%Y%m%dT%H%M%SZ)
RETIRED_STORE="$STORE.retired.$STAMP"
NODE_STOPPED=0
STORE_MOVED=0

rollback() {
  trap - ERR INT TERM
  if [ "$STORE_MOVED" -eq 1 ]; then mv "$RETIRED_STORE" "$STORE"; fi
  if [ "$NODE_STOPPED" -eq 1 ]; then sudo systemctl start "$SERVICE" || true; fi
  exit 1
}
trap rollback ERR INT TERM

test -d "$STORE"
test ! -e "$RETIRED_STORE"
sudo systemctl stop "$SERVICE"
NODE_STOPPED=1
mv "$STORE" "$RETIRED_STORE"
STORE_MOVED=1
sudo systemctl disable "$SERVICE"

trap - ERR INT TERM
NODE_STOPPED=0
STORE_MOVED=0
echo "Node store retained at $RETIRED_STORE. No keys, data, binary or service file were deleted."