chore: add nip70 tag to signed events in meta.json

This commit is contained in:
daniyal 2024-07-10 14:30:14 +05:00
parent 7df6ab8c84
commit d5c45902b8

View File

@ -79,7 +79,7 @@ export const signEventForMetaFile = async (
kind: 27235, // Event type for meta file
content: content, // content for event
created_at: Math.floor(Date.now() / 1000), // Current timestamp
tags: []
tags: [['-']] // For understanding why "-" tag is used here see: https://github.com/nostr-protocol/nips/blob/protected-events-tag/70.md
}
// Sign the event