Thanks for the explanation, brother. Still there are so many...

npub1rttwjkwzjtm5mes46nrwtmzr6zm7cjgg54w7jw4z2f7yd29ar4dsk02pj2
hex
d61fce6cdb08b800e2ed028d0556ca9e6fb2bd6f8495734ef82e00e1081437f4nevent
nevent1qqsdv87wdnds3wqqutks9rg92m9fumajh4hcf9tnfmuzuq8ppq2r0aqprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgsp44hft8pf9a6duc2af3h9a3papdlvfyy22h0f8239ylzx4z736kc8089dgKind-1 (TextNote)
↳ 回复 事件不存在
5e08ee9b19742fb39a0b54e92f1312d98ab358d1517f11c37a7ad6a9f001a848...
Thanks for the explanation, brother. Still there are so many questions in my mind if you don't mind me asking. How can I be sure the user logging in my platform is the same one that registered? I mean, what if someone uses someone else's npub to login? My understanding of nostr protocol is small, from what I've read, if someone has your npub he can load all your posts, but can't post as you if he doesn't have your nsec. How can I certify it without asking for nsec? Does your code allow npub:password pair or only a nostr "signer" app? Regarding NIP-98, I see it was only a draft, none of the relays I use for example support it. Will I need to host a nostr relay that support NIP-98 for the users?
原始 JSON
{
"kind": 1,
"id": "d61fce6cdb08b800e2ed028d0556ca9e6fb2bd6f8495734ef82e00e1081437f4",
"pubkey": "1ad6e959c292f74de615d4c6e5ec43d0b7ec4908a55de93aa2527c46a8bd1d5b",
"created_at": 1788097349,
"tags": [
[
"alt",
"A short note: Thanks for the explanation, brother. Still there a..."
],
[
"e",
"ce657905a537acfd610d8f43200eef7aaf3097b9dce74dfbaef3221d77183488",
"wss://poster.place/relay",
"root",
"1ad6e959c292f74de615d4c6e5ec43d0b7ec4908a55de93aa2527c46a8bd1d5b"
],
[
"e",
"2a8e62e5e7a9d8ae3a69f5920b597a0f3b37b9eb537a5bc34c3153cae298a130",
"wss://poster.place/relay",
"",
"1ad6e959c292f74de615d4c6e5ec43d0b7ec4908a55de93aa2527c46a8bd1d5b"
],
[
"e",
"5e08ee9b19742fb39a0b54e92f1312d98ab358d1517f11c37a7ad6a9f001a848",
"wss://relay.primal.net/",
"reply",
"32637475ec0256fbd754571aeaa52c5454c9bd79fb7ac5b99f53b86cfcb9527a"
],
[
"p",
"1ad6e959c292f74de615d4c6e5ec43d0b7ec4908a55de93aa2527c46a8bd1d5b",
"wss://relay.damus.io/"
],
[
"p",
"1ad6e959c292f74de615d4c6e5ec43d0b7ec4908a55de93aa2527c46a8bd1d5b",
"wss://relay.damus.io/"
],
[
"p",
"32637475ec0256fbd754571aeaa52c5454c9bd79fb7ac5b99f53b86cfcb9527a",
"wss://ditto.pub/relay"
],
[
"client",
"Amethyst"
]
],
"content": "Thanks for the explanation, brother. Still there are so many questions in my mind if you don't mind me asking. How can I be sure the user logging in my platform is the same one that registered? I mean, what if someone uses someone else's npub to login? My understanding of nostr protocol is small, from what I've read, if someone has your npub he can load all your posts, but can't post as you if he doesn't have your nsec. How can I certify it without asking for nsec? Does your code allow npub:password pair or only a nostr \"signer\" app? Regarding NIP-98, I see it was only a draft, none of the relays I use for example support it. Will I need to host a nostr relay that support NIP-98 for the users?",
"sig": "3810217d23bb7f335c73b53e93626411fb2eac9f02d9929d324f21bc3ee5268a67ea67cb8ab006c226c77155cb5fb504f5167f5a5ffbcdd34983364d30d4ee47"
}