lthn.io/start.sh
Claude afc955c7b9
feat(names): wallet health endpoint + pre-flight balance check
- GET /v1/names/health — registrar balance, registrations remaining, chain status
- Returns 503 when critically low (< 2 registrations)
- Pre-flight balance check in register endpoint rejects early if wallet empty
- Thresholds: low_funds < 10, critical < 2

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 02:52:34 +01:00

7 lines
167 B
Bash
Executable file

#!/bin/bash
cd /home/claude/Code/lthn/lthn.io-php
while true; do
php -S 0.0.0.0:8000 -t public
echo "PHP server crashed, restarting in 3s..."
sleep 3
done