تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

beaconchain

بواسطة thisisjeron

DevOps & Cloud
851التنزيلات وفق ما يذكره clawskills.sh
2النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Monitor Ethereum validator dashboard health on beaconcha.in via V2 API, focused on one-check-per-day status.

الوصف

ما الذي تفعله هذه المهارة

Runs a daily health check on an Ethereum validator dashboard using the beaconcha.in V2 API. Returns a single exit code and surfaces BeaconScore or missed duties only when something needs attention. Designed for low-anxiety operations where a healthy result stays quiet.

Returns a single exit code instead of requiring manual dashboard review, so validators only demand attention when the script actually flags a problem.

متى تستخدمها

  • Daily Ethereum validator health check via cron job
  • BeaconScore threshold alerting for a staking dashboard
  • Detecting missed attestations or penalties overnight
  • Reducing manual dashboard visits to a single exit-code signal
  • Triaging validator issues in automated monitoring pipelines

مثال على سير العمل

الإدخال

User asks: Check my validator dashboard health

الوكيل
  1. 1

    Run check_dashboard.py --json with BEACONCHAIN_API_KEY and BEACONCHAIN_DASHBOARD_ID set

  2. 2

    Read the exit code: 0 = good, 2 = bad, 1 = error

  3. 3

    If exit code is 0, respond with brief reassurance and no further detail

  4. 4

    If exit code is 2, report BeaconScore and which signal tripped (missed duties or penalty fallback)

  5. 5

    If exit code is 1, check API key validity, dashboard ID, and rate-limit permissions

الإخراج

BeaconScore 94/100, all validators healthy, no missed duties in the last 24h

المتطلبات

  • BEACONCHAIN_API_KEY environment variable
  • BEACONCHAIN_DASHBOARD_ID environment variable
  • beaconcha.in account to obtain API key and dashboard ID

التثبيت

clawhub install thisisjeron/beaconchain

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط