Skip to content

"art" #1

Closed Answered by cmdruid
ghost asked this question in Q&A
Apr 29, 2024 · 1 comment
Discussion options

You must be logged in to vote

No nips are needed besides NIP-1 really. The storage uses parameterized replaceable events and group encryption.

Basically you pick a secret phrase, sha256 hash it to get an encryption key, then hash the key again to get the 'd' tag to use for searching for the event. Anyone with the secret phrase can find the events via the 'd' tag, and know that they can decrypt them.

That's about it. You can subscribe to similar 'd' tags from multiple authors, and then just take the latest event to make it an (optimistic) collaborative data store between multiple clients.

Let me know if you have any further questions.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant