Global Feed Post Login
Replying to Avatar Egge

Everything has changed. And it will be a breaking change, so the transition will be hella fun.

The most notable change is that npubcash no longer mints proofs for it's users. Instead it creates locked mint quotes and keeps the quote id. Users can then "withdraw" the quote ids and mint proofs themselves.

This is a massive change that trickles down to amazing other benefits, like not needing a lightning backend no more to run npubcash. While v1 required providers to have a Blink API account, npubcash v2 has no dependencies other than postgres.

Other changes include:

- Users can choose their own mint

- Usernames are purchased through Cashu 402 (no lightning backend needed)

- There is no longer a concept of balance state. The server will keep all your paid quotes forever. So if loose some of the quotes, you can always replay the request and get it back.

The goal is to make npubcash so easy to deploy that many people can run an instance. Clients will hopefully no longer hardcode the npubcash domain, so that users can choose their own provider.

Avatar
Niel Liesmons 8mo ago

Oh my :eyes:

Where can I learn about "locked mint quotes"?

Reply to this note

Please Login to reply.

Discussion

Avatar
Egge 8mo ago

There you go sir: https://github.com/cashubtc/nuts/blob/main/20.md

Thread collapsed