Creating the event id based on the digest of the following is the core genius of #nostr. In one fell swoop, binding together the author, semantics and content, the digest of which is uniquely identified for time immemorial.
[
0,
<pubkey, as a lowercase hex string>,
<created_at, as a number>,
<kind, as a number>,
<tags, as an array of arrays of non-null strings>,
<content, as a string>
]
Login to reply