Paying out change is nice. Does the client need to trust that the server will refund change? I assume so.

What if the payer doesn't have cashu tokens to begin with? For example, the user pays via lightning... can I give them cashu change even if they don't own any themselves? The change can be credits for my platform that they may use in their next request...

But if that is the case, their wallet needs to know how to recycle the change into future payments...

It's getting complicated fast.

If ecash was widespread tech this all seems feasible, but because it isn't such a solution would only appeal to a very narrow audience for now. Isn't that correct?

So basically, this schema could only work for payers which have the infrastructure to process the cashutokens to begin with. They need to have some cashu handliny library on their client side, right?

Lastly, the latency issue still exists. If Cashu payments have all of the same checks that lightning payments do than the time delay is gonna suck. But maybe they don't?

Thanks for reading my stream of thought.

Reply to this note

Please Login to reply.

Discussion

Cashu is much faster. It can be minted by paying a lightning invoice. But we don't have to theorize, there's athenut for search and another project for cashu based ai based on openrouter. Both are open source, so you can just use the code today.

Where can I pay a lightning invoice to to get bearer key that I can use on routstr?

Bearer key? Lightning invoice?

Your request, granted:

https://www.modulo.network/category/all-products

cool product, but no that is not what I'm asking for.

👍🏻

Thanks—when I hear someone say ‘bearer bitcoin’ my ears perk up. Needless to say I am watching cashu with interest.

Use nutshell as a library.

You want a mint call.

I'm asking from the perspective of a normal non-dev user who just knows how to send lightning invoices. I don't want to have to install libraries and do function calls.

How does a normie use routstr when the normy only knows how to send lightning invoices?

If you can do API calls to access this, you can do one more to mint a token. Also, minibits or cashu.me will mint you tokens in exchange for lightning invoice in a normie friendly way.

If you are a normie, you need a user interface that someone builds for you and shows you the invoice. Athenut does this in a nice way, you don't even see tokens, only the invoice.

But please don't be a normie. If you can use AI, you can use the library. Learn. Normies will have a very hard time in what's coming at them. The normie way leads to a Disneyland themed gulag. You should expect more of yourself and for yourself.