What are the biggest differences vs V1?

Reply to this note

Please Login to reply.

Discussion

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.

We'll be using the locking quote model in Hashpool. It's a good design. 🤙

Oh my :eyes:

Where can I learn about "locked mint quotes"?

Does that mean that my npub.cash lightning Address becomes less special? 🤣

Whoa impressive

There is a 2 instead of a 1 after the V.