stokragon on Nostr: たしかにid以外は任意とありました ...
たしかにid以外は任意とありました
eventからidとってきたのをそのまま入れてNostrTools.nip19.neventEncode(id)みたいにしたら
Error: hex string expected, got undefinedがでてしまって…
Published at
2024-11-08 17:20:20Event JSON
{
"id": "87c1132ed1ccc3b636a40a15c3e01dbcef0e01c320eb2588d98cb4ff53b03fc7",
"pubkey": "cbcb0e0b602ec3a9adfc6956bfbe3e2bc12379ee13bf8505ce45f1c831d2e52a",
"created_at": 1731086420,
"kind": 1,
"tags": [
[
"e",
"fe90cc1cb340f2525462e8f7f0cec203e753d20547a6930051ae5fed941ed990",
"",
"root"
],
[
"e",
"f004f9b2324d9630dcb6d5907b1934f03ead88ed2d66be2b8fbd7d456151c01f",
"",
"reply"
],
[
"p",
"96203d66276e3214ea93b6c78a577c3c9a7279f9ee7e51b22f3b8c17643a819c"
],
[
"p",
"cbcb0e0b602ec3a9adfc6956bfbe3e2bc12379ee13bf8505ce45f1c831d2e52a"
]
],
"content": "たしかにid以外は任意とありました\neventからidとってきたのをそのまま入れてNostrTools.nip19.neventEncode(id)みたいにしたら\nError: hex string expected, got undefinedがでてしまって…",
"sig": "a571de74d2d8e13aaf27544880562d5ce614705a0a7186b413994518ab6472e51d9d3c0fdfffda9e57c02e4a9e235fd7b275599c66fa6bef476344ae684be2b4"
}