Commit Graph

4 Commits

Author SHA1 Message Date
Michilis
961380dd88 Fix fee calculation and improve token spendability detection
- Fix critical fee calculation bug: Now gets exact melt quote before creating invoice
- Improve spent token detection: Only marks as spent with clear indicators
- Add spent field to decode endpoint response (always boolean)
- Add informative root endpoint with API documentation
- Update documentation examples to use cashuB format
- Install bolt11 library for proper Lightning invoice verification
- Enhanced error handling and logging throughout

This fixes the issue where users lost sats due to fee estimation errors
and ensures accurate token spendability detection.
2025-07-15 17:41:57 +00:00
michilis
7370952308 Better error handling 2025-05-31 16:31:54 +02:00
michilis
877d472e7c Updates fix endpoints. 2025-05-31 15:30:07 +02:00
michilis
fc7927e1c8 Initial commit 2025-05-31 14:20:15 +02:00