Along with android, search, and zaps on target for the notedeck beta release… giftwrap support in nostrdb is finally on my radar. Having giftwrap support in the local relay means it will treat unwrapped events like normal events (with no signature). This will enable you to query these notes like any other note in nostrdb.

Private thread replies? Easy. Private likes ? Easy. Private anything? Soon.

Reply to this note

Please Login to reply.

Discussion

Let's go!

This means that Nostrdb would - or already does - sync from relay(s) and eventually also unwraps messages? So that when that is setup and running I can just query Nostrdb in clear, rather than having to deal with a bunch of messaging NIPs myself?

nostrdb doesn’t do networking, you just dump events into it using any relay model you want. It would need some mechanism to unwrap. I think i will make it a callback that asks for decryption keys for a pubkey.

Another approach is to unwrap it yourself and enable a mode of ingestion for unsigned notes. I think i would want nostrdb to do it because its somewhat technical and I want nostrdb to handle complicated thing.

Then to top it off i would just need to add a term to filters that explicitly asks for unsigned things, since I wouldn’t want to have then mixed in with regular results