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
Published at
2024-07-13 10:20:48Event JSON
{
"id": "f82ac4f701615add394b4649bb615a935f09da9daa09addcc69b29f1451aca98",
"pubkey": "fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52",
"created_at": 1720858848,
"kind": 1,
"tags": [
[
"e",
"66d92b0535f75399d6b7853a52d74c0ce27620fefa5578c4399a255885c994b0",
"wss://relay.primal.net",
"root"
],
[
"e",
"05eedc6098d09fa14d7c483f7b0bbbb4b0b482868ed8433b0ef2a65e59540fb6",
"wss://relay.primal.net",
"reply"
],
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52",
"",
"mention"
],
[
"p",
"3f770d65d3a764a9c5cb503ae123e62ec7598ad035d836e2a810f3877a745b24",
"",
"mention"
],
[
"p",
"a9434ee165ed01b286becfc2771ef1705d3537d051b387288898cc00d5c885be"
]
],
"content": "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\n\ni.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.\n\nI already wrote all this logic and will wrap it on an ndk-wallet adapter which will allow you to say\n\nuser = ndk.getUser(\"\u003cniels-npub\u003e\")\nuser.zap(1000, \"hello, niel!\")\n\nand it will determine:\n\n* whether to use ecash balance to pay a lightning invoice (because you haven't signaled you want nuts)\n* mint you want to receive to\n* mint to send from\n* etc, etc\n\nwhen 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",
"sig": "08ae13a32993e4faebe004233e6604365716515ae1a64758174b8932e5837602cced2d710756818d72075fa54900c2cb3b091e2d29a70395fc88c273a11c6268"
}