balance-management
✓Verified·Scanned 2/18/2026
Manage Routstr balance by checking balance, creating Lightning invoices for top-up, and checking invoice payment status
from clawhub.ai·v2294a8c·4.9 KB·0 installs
Scanned from 1.0.0 at 2294a8c · Transparency log ↗
$ vett add clawhub.ai/sh1ftred/balance-management
What I do
- Check current Routstr API balance (in sats and BTC)
- Display usage statistics (total spent, total requests)
- Create Lightning invoices for top-up payments
- Check payment status of existing invoices
- Top up balance using Cashu tokens
When to use me
Use this when you need to:
- Check your current Routstr account balance
- Top up your Routstr account by creating a Lightning invoice
- Verify if a previously created invoice has been paid
How to use me
The shell scripts read API configuration from ~/.openclaw/openclaw.json:
check_balance.sh- Run with no arguments to display current balance and usagecreate_invoice.sh <amount_sats>- Create invoice for specified amount in satoshisinvoice_status.sh <invoice_id>- Check payment status of an invoicetopup_cashu.sh <cashu_token>- Top up balance using a Cashu token
All amounts are displayed in both satoshis and BTC for convenience.