release #111
@ -79,7 +79,7 @@ export const signEventForMetaFile = async (
|
|||||||
kind: 27235, // Event type for meta file
|
kind: 27235, // Event type for meta file
|
||||||
content: content, // content for event
|
content: content, // content for event
|
||||||
created_at: Math.floor(Date.now() / 1000), // Current timestamp
|
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
|
// Sign the event
|
||||||
|
Loading…
Reference in New Issue
Block a user