#!/usr/bin/env bash set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" source "$SCRIPT_DIR/_common.sh" : "${MERKLE_RUN_DIR:=}" : "${RFC3161_DIR:=}" : "${ETH_RUN_DIR:=}" : "${ETH_RPC_URL:=}" : "${BTC_RUN_DIR:=}" : "${BTC_NETWORK:=testnet}" main() { root_hex="$(grep '^root_hex=' "$MERKLE_RUN_DIR/ROOT.txt" | head -n1 | cut -d= -f2 || true)" echo "[PLAN] $(date -Iseconds) Proof Verifier" echo "[PLAN] Merkle run: $MERKLE_RUN_DIR" echo "[PLAN] root_hex: ${root_hex:-?}" echo "[PLAN] RFC3161: ${RFC3161_DIR:-}" echo "[PLAN] ETH: ${ETH_RUN_DIR:-}" echo "[PLAN] BTC: ${BTC_RUN_DIR:-} (network=$BTC_NETWORK)" echo "[PLAN] Next: ./scripts/11_verify.sh" } main "$@"