Event JSON
{
"id": "db37312fcffbd31026911e31b19a83ce92bed0831bb9fb3130bf4badf32ac9a9",
"pubkey": "df67f9a7e41125745cbe7acfbdcd03691780c643df7bad70f5d2108f2d4fc200",
"created_at": 1716648735,
"kind": 1,
"tags": [
[
"e",
"854193578f6b30db12bd160e8455cb5a3d08dd2ad8e6512b20ccbb916fb78b99",
"",
"root"
],
[
"e",
"2588609003cff6c872357e538f2bf9b40a7b3ba2e878fa8cf36daa2b964c5af7",
"",
"reply"
],
[
"p",
"dd664d5e4016433a8cd69f005ae1480804351789b59de5af06276de65633d319"
],
[
"p",
"3f770d65d3a764a9c5cb503ae123e62ec7598ad035d836e2a810f3877a745b24"
],
[
"p",
"89e14be49ed0073da83b678279cd29ba5ad86cf000b6a3d1a4c3dc4aa4fdd02c"
],
[
"p",
"52b4a076bcbbbdc3a1aefa3735816cf74993b1b8db202b01c883c58be7fad8bd"
],
[
"p",
"fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1"
],
[
"p",
"70122128273bdc07af9be7725fa5c4bc0fc146866bec38d44360dc4bc6cc18b9"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
],
[
"p",
"8fb140b4e8ddef97ce4b821d247278a1a4353362623f64021484b372f948000c"
],
[
"p",
"df67f9a7e41125745cbe7acfbdcd03691780c643df7bad70f5d2108f2d4fc200"
],
[
"client",
"Nostur",
"31990:9be0be0fc079548233231614e4e1efc9f28b0db398011efeecf05fe570e5dd33:1685868693432"
]
],
"content": "It’s a one way hash. Verifying an event involves taking the entire event json (minus signature and id) as received and running it through the hashing algo with the npub. If the output hash is the same as event id, then these are run through another algo to match with the signature.\n\nhttps://github.com/nbd-wtf/nostr-tools/blob/master/pure.ts",
"sig": "f94c96e7116e7689bd7f7a41e3b9a80efd40d8ecfd00a3078c3d254459868ff6b4e4344c2a4a964c351ff45a5c309e43f185d76c587df977f2ee2a877160751d"
}