Skip to content

scripts: add validator automation tools - #31

Open
erhnysr wants to merge 3 commits into
RepublicAI:mainfrom
erhnysr:scripts/validator-automation-tools
Open

erhnysr wants to merge 3 commits into
RepublicAI:mainfrom
erhnysr:scripts/validator-automation-tools

Conversation

@erhnysr

@erhnysr erhnysr commented Mar 12, 2026

Copy link
Copy Markdown

Summary

Adds 4 production-ready automation scripts to the scripts/ directory.

Scripts Added

full-auto.sh

Complete job automation script that handles the full compute workflow:

  • Submits jobs to the chain
  • Runs GPU inference via Docker
  • Applies bech32 address bug fix automatically
  • Submits results back to the chain
  • Thermal protection (75/80/85°C thresholds)
  • Network health check with auto-retry
  • Watchdog-compatible design

watchdog.sh

Monitors full-auto.sh and automatically restarts it if it crashes or stops. Ensures 24/7 operation without manual intervention.

unjail.sh

Monitors validator jail status every 5 minutes and automatically sends unjail transaction when needed.

monitor.sh

Real-time dashboard showing:

  • Node sync status and block height
  • Validator status (bonded/jailed/tokens)
  • GPU temperature and utilization
  • Recent job activity
  • Process health check

Tested On

  • Ubuntu 24.04 LTS + WSL2
  • NVIDIA RTX 4050 Laptop GPU
  • Republic AI v0.3.0

Author

@erhnysr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant