Files
routstrd/src/daemon/wallet
redshift 2cdd8d745b feat(wallet): add wallet mints remove with asset warnings
Add `routstrd wallet mints remove <url-or-index>` plus the daemon
plumbing behind it:

- GET /wallet/mints/removal-info reads local state (held sats including
  reserved proofs, pending mint quotes, in-flight melts, default flag)
  so the check works even when the mint is offline.
- DELETE /wallet/mints removes a mint, refusing to remove the last one.
- The CLI warns and asks for confirmation only when the mint still holds
  funds or pending quotes; an empty mint is removed without a prompt.
- Removed mints are recorded in the wallet config and skipped by
  trusted-mint seeding, so a removed shipped mint does not reappear on
  restart. Adding it back clears the marker.
- `wallet mints list` now renders a numbered list (with `--json` for the
  raw response).

Proofs are intentionally left in place: deleting a mint never burns
sats, and re-adding the mint restores access to them.
2026-10-04 20:49:43 +08:00
..