From 387ddb9dfb8d5018afdf0d790f31451f91bdc560 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 17 Jun 2023 22:22:39 -0500 Subject: [PATCH] Add nip78 docs --- docs/nip78.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/nip78.md diff --git a/docs/nip78.md b/docs/nip78.md new file mode 100644 index 00000000..043ec453 --- /dev/null +++ b/docs/nip78.md @@ -0,0 +1,7 @@ +# Ditto NIP-78 events + +[NIP-78](https://github.com/nostr-protocol/nips/blob/master/78.md) defines events of kind `30078` with a globally unique `d` tag. These events are queried by the `d` tag, which allows Ditto to store custom data on relays. Ditto uses reverse DNS names like `pub.ditto.` for `d` tags. + +## `pub.ditto.blocks` + +An encrypted array of blocked pubkeys, JSON stringified and encrypted with `nip07.encrypt`. \ No newline at end of file