- LNURLcash: mint single notes directly when the mint rounds fees to whole
sats, recover lost direct-note funding, melt to the callback named in the
note's own withdraw info, and poll for settlement so redeems/reclaims
finish without waiting on the webhook. Read-only lookups use a pooled
client; every mutation stays on the no-keep-alive client.
- Webhook: expire replay markers only for payments without an invoice event,
so an event callback can never run twice.
- Tickets: on restart, enforce tickets that ran out while the bot was down
unless LNbits says the invoice was paid; drop stale ones without a ban.
- Telegram: register translated /faucet and /tipjar command aliases.
- i18n: load translations from one language list and log broken files.
- Config example: one entry per mint; ignore local docs/.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Splits and melts went to the withdraw link, but mints such as
mint.600.wtf take mutations at the callback named in the note's own
withdraw info (/w/cb). The mint answered 200 without a status, which
read as an unknown outcome and left minting stuck in recovery. The
fake mint now behaves the same way.
- Count the LNbits routing reserve (max 1 sat, 1%) in the balance check.
- Allow several comma separated mints in one url entry.
- Format the LNURLcash help like the other help menus.
- Fix int64 passed to %s in the claimed, reclaimed, redeem and view
messages.
- Reword the in-progress and insufficient-balance messages in every
language.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Pin btcec/v2 at v2.3.3: v2.3.4 changed ecdsa.SignCompact's signature and
lnd/keychain (via ln-decodepay) no longer compiles against it. The
lnurlcash package gets its Config with validation and an AES-256-GCM
cipher for note secrets at rest.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The admin API (ban, unban, mutex, DALL-E toggles, pprof) had no authentication. Every request now needs 'Authorization: Bearer <bot.admin_api_token>'. Without a configured token all requests are rejected.
(cherry picked from commit 3fb544687d8cd8563f1e4e1720de1ef832653457)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>