jb55 on Nostr: the more I think about it the less I think so. ecash adds complexity which is just ...
the more I think about it the less I think so. ecash adds complexity which is just not necessary.
the simplest thing I can think of is SHA2(nsec + "lnzap") as your deterministic, anonymous token (or any random 32 bytes of data). then you can just use that token for all requests.
Published at
2025-03-30 19:52:44Event JSON
{
"id": "1bdfac096f3c451ba5362bb5776be98c89c89e529ffabeb840d37b196997f07e",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1743364364,
"kind": 1,
"tags": [
[
"client",
"Damus Notedeck"
],
[
"e",
"a9eaf7ce0f793e78e5411735ac8074922a5bcf42d2603816bf52569dcaa4e0ab",
"",
"root"
],
[
"e",
"7ed1acc421b60956c74957d091d85f81d27e901b8038a801b73cafc0e62437e0",
"",
"reply"
],
[
"p",
"71df211931d26ee41121d295bd43cbc7e382505e333b5c13d4016ced9542d9d7"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "the more I think about it the less I think so. ecash adds complexity which is just not necessary.\n\nthe simplest thing I can think of is SHA2(nsec + \"lnzap\") as your deterministic, anonymous token (or any random 32 bytes of data). then you can just use that token for all requests.",
"sig": "dae3f85308ec01095787daf04b22d04502296fb9d337e337360d77ae32aee938218e0166ea8fdf06e06379c613e54a20214217fdb420d64c6c72dd95eda16c92"
}