Skip to content

Instantly share code, notes, and snippets.

@framp
Created January 7, 2026 21:47
Show Gist options
  • Select an option

  • Save framp/2c9d640bc3e4d604bc20bfa5eca63f76 to your computer and use it in GitHub Desktop.

Select an option

Save framp/2c9d640bc3e4d604bc20bfa5eca63f76 to your computer and use it in GitHub Desktop.
while true; do
v=$(uv run btcli subnet burn-cost --network finney | grep -oE '[0-9]+\.[0-9]+')
echo "[$(date '+%Y-%m-%d %H:%M:%S')] Subnet burn cost: $v"
awk "BEGIN{exit !($v < 225)}" && paplay /usr/share/sounds/freedesktop/stereo/complete.oga
sleep 3600
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment