cashubtc / nuts

Cashu protocol specifications https://cashubtc.github.io/nuts/
MIT License
152 stars 52 forks source link

NUT-06: Add wallet, mint notes for multiple mint URLs #186

Open ok300 opened 2 weeks ago

ok300 commented 2 weeks ago

Adding multiple Mint URLs (#62, #175) introduces new protocol risks, mentioned at https://github.com/cashubtc/nuts/issues/62#issuecomment-2453029252

The main ones are:

The risk in both cases is that of unusable tokens, e.g. when the token has an outdated mint URL and the wallet is not aware of the other mint URLs.

This PR addresses ways in which this can be avoided.