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
π
View quoted note β
jb55
_@jb55.com
npub1xtsc...kk5s
I made damus, npubs, and zaps β‘οΈ
Independent bitcoin core and lightning dev.
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,
finished adding giftwrap support to nostril. you can now create private notes of any kind via cli!
View quoted note β
View quoted note βWe met with the council. They are pleased with the progress of the other stuff.
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 π
View quoted note β
i donβt think high throughput and efficient processing of private nostr data is compatible with the async signer model.
in nostrdb we have ndb_add_key which pushes private keys to the ingester threads so that they can efficiently unwrap giftwraps with optimal performance.
I canβt imagine how this would work with a remote signer doing decryption.
should probably think of some good UX for this. maybe the user can switch to "private mode" and all iteractions are giftwrapped by default
View quoted note β
seriously how is this not a thing!? @Vitor Pamplona @fiatjaf is noone doing giftwrap stuff?
View quoted note β