ciori on Nostr: Oh nice. Now I am trying to play with the NDKNip46Signer but I am not sure about ...
Oh nice.
Now I am trying to play with the NDKNip46Signer but I am not sure about this: if I want to sign in using the nip05 or npub string, does the remote user need to have advertised the relays in which it will "listen" for bunker connections? I am thinking about the scenario where I want to login on a desktop web page while I have Amber on mobile to sign requests. At least with nostrudel you have the whole bunker url with hex pubkey and the relay you want to use, and I am not sure how this translate in NDK.
Published at
2024-08-11 10:04:15Event JSON
{
"id": "fc55f030aacdb6a4da46505b6806fe3b3f21f9a8c510e4c65722772d20063153",
"pubkey": "bf03bdf659e463e31574aff7698cf83b4cd81ab17829c22f7d5ccf76faacdbbd",
"created_at": 1723370655,
"kind": 1,
"tags": [
[
"e",
"d169d9528645d43692d47660a34de3387df7dc278dc87f27c309d3753a59e688",
"wss://relay.wellorder.net/",
"root"
],
[
"e",
"fccc50651b851b94a441180e9e838ac425c380f334940f5f2015eb335dfbb53a",
"",
"reply"
],
[
"p",
"1739d937dc8c0c7370aa27585938c119e25c41f6c441a5d34c6d38503e3136ef",
"",
"mention"
]
],
"content": "Oh nice.\n\nNow I am trying to play with the NDKNip46Signer but I am not sure about this: if I want to sign in using the nip05 or npub string, does the remote user need to have advertised the relays in which it will \"listen\" for bunker connections? I am thinking about the scenario where I want to login on a desktop web page while I have Amber on mobile to sign requests. At least with nostrudel you have the whole bunker url with hex pubkey and the relay you want to use, and I am not sure how this translate in NDK.",
"sig": "dabdf2e7f87c34c039845a99d13d0e118d2cb15d11f4e40e8ff0b3717208d7bfbc428bf809887e5c14d07cb1291373f3877ff9fcefa2784a83f5ac662dfae576"
}