GM!
We haven't proposed any new NIPs, and follow the existing NIPs save for some slight augmentations to the imeta tag and the usage of the novel 'encrypted' tag.
Fanfares does 3 things for you:
- provides the encryption key for your content
- verifies the zaps you receive meet your price threshold
- deliver the decryption key to verified buyers
Text-based events like notes and longform simply store the encrypted content as the first element of the 'encrypted' tag.
For all paywalled events,the .content property is always the preview or teaser of the encrypted content.
Media-based events like music/podcast/audiobooks/etc uses slightly augmented imeta tags that point to encrypted blossom files.
Once you have the decryption key, you can decrypt the text or fetch and decrypt the blossom file.
Right now, we don't have any spec for other clients integrating this functionality, but we want to work with people to develop this. Our goal is to integrate Fanfares unlock functionality with as many clients as possible.
Fanfares will soon be open/paid source so others can run their own instance to fully control those 3 functions I mentioned above without relying on us.
Happy to answer any more questions!
- @nprofile1q...
We haven't proposed any new NIPs, and follow the existing NIPs save for some slight augmentations to the imeta tag and the usage of the novel 'encrypted' tag.
Fanfares does 3 things for you:
- provides the encryption key for your content
- verifies the zaps you receive meet your price threshold
- deliver the decryption key to verified buyers
Text-based events like notes and longform simply store the encrypted content as the first element of the 'encrypted' tag.
For all paywalled events,the .content property is always the preview or teaser of the encrypted content.
Media-based events like music/podcast/audiobooks/etc uses slightly augmented imeta tags that point to encrypted blossom files.
Once you have the decryption key, you can decrypt the text or fetch and decrypt the blossom file.
Right now, we don't have any spec for other clients integrating this functionality, but we want to work with people to develop this. Our goal is to integrate Fanfares unlock functionality with as many clients as possible.
Fanfares will soon be open/paid source so others can run their own instance to fully control those 3 functions I mentioned above without relying on us.
Happy to answer any more questions!
- @nprofile1q...