indeed. with first class giftwrap support in nostrdb we effectively get nip17 DMs for free. nip17 DMs are just a giftwrapped kind 14, so anyone sending a DM to damus ios/android/notedeck or airchat will just work. we only have to query for kind 14 locally to show them.
nostr:note1jchk4ttk7q0fyntdv82ln7u22vzkja3eay3fdw89zq3ghyfphltsyja9ws
jb55
_@jb55.com
npub1xtsc...kk5s
I made damus, npubs, and zaps ⚡️
Independent bitcoin core and lightning dev.
Notes (8)
clogwarts: you’re a plumber harry
wrapping gifts 🎁
https://jb55.com/s/wrapping-gifts.mp4
ingesting 10,000 giftwraps into nostrdb on 4x Intel i7 2.80GHz cores takes 3 seconds
quiver> time ./ndb import --add-key $JB55_SEC giftwraps.json
real 0m3.039s
🚀
nostr:note1jlgay2e9a0k5gy9rvknl56klcw8vqq0r07wcq2kg3ds978tp8nqsnzvz0h
giftwraps are a way to encrypt any nostr note to someone completely privately without anyone seeing that you sent it. no metadata leakage!
I just finised first class giftwrap support in #nostrdb! this means damus ios, android, and notedeck will be getting private note support.
here's a nerdy tech demo that shows how it works:
cheers,
https://jb55.com/s/nostrdb-giftwraps.mp4
finished adding giftwrap support to nostril. you can now create private notes of any kind via cli!
nostr:note1cf22e3lfdfrskzngzd330c9legvkjmqmputgw7eaphdqtc84a5cqq3dyp7
nostr:note1cf22e3lfdfrskzngzd330c9legvkjmqmputgw7eaphdqtc84a5cqq3dyp7We met with the council. They are pleased with the progress of the other stuff.
https://jb55.com/s/nostrich-irl.mp4
this is why I built notedeck. it should be easy for anyone to spin up micro nostr apps with a few lines of code, just like the original web, but built on nostr not http.
next version will have private nostr data support built right into the browser, so you don't have to deal with the complexities of implementing giftwraps yourself. let the browser do the work for you!
this is building on top of the current features provided by the notedeck browser:
- offline first apps by default
- multicast for local note syncing on wifi
- multi account
- nwc wallet
- multi app switching
- widget toolkit for rendering any type of note
you don't have to worry about implementing any of this stuff when building nostr apps, its just browser apis.
the biggest challenge in making this a reality is proper sandboxing and a dynamic scripting language for spinning up apps like you can in a browser, but without needing a server to host the app!
bullish on the other stuff 👀
nostr:note1utuqn7vzju8u6l68hlz7rhydrmhv3tqfzkaqetmmcpuas9tlfzhscnd65e