Why Nostr? What is Njump?
2024-07-13 10:20:48
in reply to

PABLOF7z on Nostr: they are public by default so other people can now they should send the money using ...

they are public by default so other people can now they should send the money using those mints and they can choose to use mints that sender and receiver have in common to nut zap you

i.e. if I have a balance on mint A, B and C and you signal you use mint C clients can prioritize using balance from mint C.

I already wrote all this logic and will wrap it on an ndk-wallet adapter which will allow you to say

user = ndk.getUser("<niels-npub>")
user.zap(1000, "hello, niel!")

and it will determine:

* whether to use ecash balance to pay a lightning invoice (because you haven't signaled you want nuts)
* mint you want to receive to
* mint to send from
* etc, etc

when you send the payment you need to say in which mint it's in which also increases the signaling of how much money is going in/out of specific mints
Author Public Key
npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft