eth-validator-stats
Watch your Ethereum validators from a tiny self-hosted CLI. It talks to your beacon node (no third-party telemetry) and pushes alerts straight to your phone via ntfy.
| operational alert — missed attestations | your push history in the ntfy app | ✓ proposed block (positive event) |
Install in 60 seconds
# Auto-detects .deb / .rpm / pipx and installs the right one (Linux & macOS).
curl -fsSL https://raw.githubusercontent.com/Workharu/eth-validator-stats/main/scripts/install.sh | sudo bash
# Interactive wizard: probes your beacon node, generates an ntfy topic, scans a QR for your phone.
sudo eth-validator-stats init
# Sanity-check the last snapshot
eth-validator-stats status
That's it. On .deb / .rpm installs, init also starts a systemd service that polls every 60 seconds.
evsis a 3-character alias foreth-validator-stats—evs status,evs check --missed 3, etc.
How notifications work
Your phone subscribes to a private ntfy.sh topic that only you know. The CLI POSTs to that topic; ntfy pushes to your phone. The init wizard generates a random topic name, prints a QR you scan with the ntfy mobile app (iOS / Android), and you're done.
Verify the pipe before you trust it:
eth-validator-stats simulate slashed # urgent push (bypasses Do-Not-Disturb)
eth-validator-stats simulate missed # normal-priority push
You should see them on your phone within a second.
What you get pushed
- Health —
OFFLINE,MISSED ATTESTATIONS,withdrawal,MONITOR BLIND/MONITOR RECOVERED - Proposals —
proposing soon,✓ proposed,✗ missed proposal - Lifecycle —
ACTIVATED,SLASHED(urgent),EXIT INITIATED,EXITED,WITHDRAWAL READY - Liveness — daily
MONITOR ALIVEso silence means something. Want sub-5-minute detection? Setalerts.heartbeat_urlto a free healthchecks.io URL.
One push per event, deduplicated per-validator with a configurable cooldown. Full reference (thresholds, env vars, every flag) is in docs/USAGE.md.
And a status table you can pull on-demand:
Validators
┏━━━━━━━━┳━━━━━━━━┳════════════════┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┓
┃ idx ┃ label ┃ status ┃ balance (ETH) ┃ last 5 atts ┃
┡━━━━━━━━╇━━━━━━━━╇════════════════╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━┩
│ 123456 │ home-1 │ active_ongoing │ 32.0182 │ ● ● ● ● ● │
│ 234567 │ home-2 │ active_ongoing │ 32.0177 │ ● · ● ● ● │
└────────┴────────┴────────────────┴───────────────┴─────────────┘
● attested, · missed, ? not yet observed.
Commands
evs status # last snapshot (read-only; --refresh to poll first)
evs watch # loop forever (what the systemd service runs)
evs check --missed 3 # one-shot for cron — exits 2 if any alert fires
evs validators add 12345 --label home-1
evs validators list --status
evs validators rm home-1
evs simulate <event> # test the push pipe end-to-end
evs info # probe your beacon node's API
Configuration
init writes a config.yml. Edit it directly anytime — validators add/list/rm is a convenience for skipping YAML.
beacon_node_url: http://localhost:3500
validators:
- { index: 123456, label: home-1 }
- { pubkey: "0xb1d2...", label: home-2 }
alerts:
ntfy_topic: https://ntfy.sh/eth-vstats-9f8e7d6c5b4a
cooldown_minutes: 30
missed_attestations_threshold: 2
Full annotated example: config.yml.example. Lookup order: $ETH_VALIDATOR_STATS_CONFIG → /etc/eth-validator-stats/config.yml → ~/.config/eth-validator-stats/config.yml. First match wins.
When you upgrade and the schema grows, the CLI appends new keys (commented out, with defaults) to your existing config.yml so you can see what's available. Drop # config-sync: off anywhere in the file to opt out.
Install paths (manual)
The curl one-liner above covers most setups. Pick a path explicitly if you prefer:
Debian / Ubuntu — .deb
Debian 12+ / Ubuntu 22.04+ (also 24.04). The .deb bundles its own Python — no PPAs.
# Latest .deb at https://github.com/Workharu/eth-validator-stats/releases/latest
sudo apt install -y ./eth-validator-stats_0.6.1-1_amd64.deb
sudo eth-validator-stats init --system
sudo systemctl status eth-validator-stats
Use apt install ./path.deb (not dpkg -i) so deps like adduser resolve. Files: /opt/eth-validator-stats/, symlinks in /usr/bin/, config + state at /etc/eth-validator-stats/ and /var/lib/eth-validator-stats/. apt remove keeps user data; apt purge wipes everything.
Fedora / RHEL / Rocky / Alma 9+ — .rpm
sudo dnf install ./eth-validator-stats-0.6.1-1.fc40.x86_64.rpm
sudo eth-validator-stats init --system
sudo systemctl status eth-validator-stats
Same paths and semantics as the .deb. dnf remove keeps config + state.
macOS / hosts without .deb or .rpm — pipx
# Install pipx first if needed: apt|dnf install pipx, or `brew install pipx` on macOS.
pipx install eth-validator-stats
eth-validator-stats init # per-user config at ~/.config/eth-validator-stats/
For systemd integration on Linux without the distro packages:
sudo eth-validator-stats install-service # system-scope unit
eth-validator-stats install-service --user # or per-user, no sudo
sudo eth-validator-stats init --system # writes config + starts service
Upgrade: pipx install --force eth-validator-stats. Uninstall: sudo eth-validator-stats uninstall-service --purge && pipx uninstall eth-validator-stats.
From source (development)
git clone https://github.com/Workharu/eth-validator-stats
cd eth-validator-stats
uv sync
uv run eth-validator-stats status
uv run pytest -q
See packaging/linux/README.md for running the source build as a systemd unit.
More
COMPATIBILITY.md— beacon clients tested (Prysm / Lighthouse / Teku / Nimbus / Lodestar)docs/USAGE.md— every flag, env var, and alert option in fullCHANGELOG.md— releasesSECURITY.md— report a vulnerabilityCONTRIBUTING.md— dev setup and PR workflow
Acknowledgments
Push notifications are delivered by ntfy.sh — a free, open-source, Apache-2.0-licensed pub-sub system. This project wouldn't be the same without it.
License
MIT — see LICENSE.
Metadata
Release files for eth-validator-stats 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eth_validator_stats-0.6.1.tar.gz | 937.7 kB | With provenance | Details for eth_validator_stats-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eth_validator_stats-0.6.1-py3-none-any.whl | Python 3 | none | any | Details for eth_validator_stats-0.6.1-py3-none-any.whl |
Total release size: 991.8 kB
Release files / eth_validator_stats-0.6.1.tar.gz
| Download URL | eth_validator_stats-0.6.1.tar.gz |
|---|---|
| Size | 937.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a00370d54869f11b79064040ff03900d6a884226c6fb8d93a82b5cddd9a01342
|
|
BLAKE2b-256 checksum How to use checksums |
2f214007d5367269cf0d8a3204d48169491ff8460bfdc5fdf22cf18d5ea89fef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 30, 2026.
Transparency logRelease files / eth_validator_stats-0.6.1-py3-none-any.whl
| Download URL | eth_validator_stats-0.6.1-py3-none-any.whl |
|---|---|
| Size | 54.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58f018a984e9faa52c7dde3171be304eaf7ba74d23dfaa5f0a489f2374ac6ec8
|
|
BLAKE2b-256 checksum How to use checksums |
efe0887e813da30130055a3b9c658a82f52cea3578616174ec2fca2753b39eff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 30, 2026.
Transparency logSecurity for eth-validator-stats 0.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for eth_validator_stats-0.6.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.