What is Nostr?
Pedro Vicente
npub1f65…aq28
2023-08-13 06:53:19
in reply to nevent1q…0n82

Pedro Vicente on Nostr: Fabian Great write-up on MISSION.md "We don’t need to store our data on random ...

Fabian (npub1n0s…lahe) Great write-up on MISSION.md "We don’t need to store our data on random relays, and hope our contact list doesn’t get lost, or leak metadata to the public. We can store everything on our device". This is EXACTLY what I was thiking for my app. Have a small database like SQLite on the device and load that first. Them query relays for updates. Have a standard import/export format for Nostr that different clients can use. Have this format be an official NIP . This format could be as simple as a linear array of EVENTS in JSON format. This is what I use in my dev database, as you can see a "database" can be as simple as 100 lines of code, with functions to read(), save(), append() and request(), (from relays) melvincarvalho (npub1mel…5c24) jb55 (npub1xts…kk5s) fiatjaf (npub180c…h6w6) jack (npub1sg6…f63m) https://github.com/pedro-vicente/nostr_client_relay/blob/main/src/database.cc
Author Public Key
npub1f65y84223ldt8x4ytaslr8el77wvryu9xu8k5fedm2ql4hs2q54s7uaq28