Can I just say I love this project very much! Thank you for creating it. I'm migrating to it and rewriting almost all my app to be more coco-first. These are just suggestions of things where I've gotten stuck and been forced to rethink my usage of the library. 1. Can we add some status field to `SendHistoryEntry` & `ReceiveHistoryEntry`? It seems like I need to use `proofService` otherwise but I think that's a private field, I just got a bit stuck on this. 2. Maybe add `token` to `ReceiveHistoryEntry`? I know it's not super needed but its nice to show the user which token the redemption is for. 3. Could we add some field to HistoryEntry for npc receives from `coco-cashu-plugin-npc` so that I can know thats where the payment came from? 4. I found `cashu-kym` pretty useful to and I think it might belong in `coco`. 5. I'm having a weird thing happen where the state goes from PENDING->ISSUED->PAID->ISSUED. It seems to incorrectly revert to ISSUED (when minting). It could be some poor configuration on my side but I attached a video to help demonstrate whats going on.

Replies (3)

This is super valuable thank you! I’ll track these on GitHub and tag you once I figure something out :)
“ISSUED” is the final state of a mint quote. Pending: payment has not been received by the mint Paid: payment has been received by the mint Issues: wallet redeemed the quote So the final state being issued is correct. Are you sure you are seeing the issued state before the paid state? The updates are not done in a state machine, so this could be the case / a bug. I just want to make sure that we are on the same page