mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Add nip78 docs
This commit is contained in:
parent
164e7259e0
commit
387ddb9dfb
1 changed files with 7 additions and 0 deletions
7
docs/nip78.md
Normal file
7
docs/nip78.md
Normal file
|
|
@ -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.<thing>` for `d` tags.
|
||||
|
||||
## `pub.ditto.blocks`
|
||||
|
||||
An encrypted array of blocked pubkeys, JSON stringified and encrypted with `nip07.encrypt`.
|
||||
Loading…
Add table
Reference in a new issue