#!/usr/bin/env bash
# Run all VMID 5000 deployment checks: explorer frontend, Blockscout API, Snap site.
# Usage: ./verify-vmid5000-all.sh [BASE_URL]
#   BASE_URL defaults to https://explorer.d-bis.org

set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
BASE_URL="${1:-https://explorer.d-bis.org}"

echo "=============================================="
echo "VMID 5000 – full verification"
echo "BASE_URL=$BASE_URL"
echo "=============================================="
echo ""

bash "$SCRIPT_DIR/verify-explorer-api-access.sh" "$BASE_URL"
