mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 00:45:53 -05:00
writing function in prose
This commit is contained in:
parent
a396b62fe9
commit
394c77bb11
4
59.md
4
59.md
|
@ -34,7 +34,7 @@ A `seal` is a `kind:13` event that wraps a `rumor` and is signed with the sender
|
|||
{
|
||||
"id": "<id>",
|
||||
"pubkey": "<real author's pubkey>",
|
||||
"created_at": now() or randomTimeUpTo2DaysInThePast(),
|
||||
"created_at": "<now or random time up to 2 days in the past>",
|
||||
"kind": 13,
|
||||
"tags": [],
|
||||
"content": nip44Encrypt(rumor, "<recipient pubkey>", "<author's private key>"),
|
||||
|
@ -58,7 +58,7 @@ A `gift wrap` event is a `kind:1059` event that wraps any other event. `tags` SH
|
|||
{
|
||||
"id": "<id>",
|
||||
"pubkey": "<random, one-time-use pubkey>",
|
||||
"created_at": now() or randomTimeUpTo2DaysInThePast(),
|
||||
"created_at": "<now or random time up to 2 days in the past>",
|
||||
"kind": 1059,
|
||||
"tags": [["p", "<recipient pubkey>", "<relay>"]],
|
||||
"content": nip44Encrypt(event, "<recipient pubkey>", "<random private key>"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user