I still don't get pubky/pkarr advantages over nostr, I have some dumb questions that might help me understand:

1- in the pkarr demo you can add key value pairs to you pkey, that is published to some resolver/node? How is that different from a nostr relay? Because we can also add any data to our profile metadata.

2- if I want to publish a "note", what do I do? Where do I publish it? Assuming i won't host anything myself.

3- related to 2, is there any format for the data?

CC: nostr:nprofile1qqsdulkdrc5hdf4dktl6taxmsxnasykghdnf32sqmnc7w6km2hhav3gpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszyrhwden5te0dehhxarj9ekk7mf0qy2hwumn8ghj7un9d3shjtnwdaehgu3wvfnj7yl8fqe nostr:nprofile1qqsfxrxw7y3h9hf0zczhelz57rdajse4mz63kn38xu3kkqx2kuv0ekgpz3mhxue69uhhyetvv9ujuerpd46hxtnfduq3vamnwvaz7tmzd96xxmmfdejhytnnda3kjctvqyvhwumn8ghj7erpwd5zumt0vd4kjmn809hh2tnrdaksrej4w0

Reply to this note

Please Login to reply.

Discussion

regarding #2: Pkarr is like DNS it in itself doesn't store data.

but users can point their Pkarr to where their hosting providers are. We also propose a specific API for and HTTP server not too different from WebDav to enable writing arbitrary files in users data stores. So typically a user will sign up to a homeserver, just like they sign up to Google drive for example, and point their pkarr to it. If the hosting provider is misbehaving, the user can point to another hosting provider since they have control over the keys.

Regarding #1 the demo app sends the signed packet to a relay that relays it to a large network of distributed hash table DHT. the only reason you send it to the relay, is because browsers don't support UDP, if you are using native app, that relay is not needed. But even in browser it is still better than Nostr relays, because all pkarr relays are equal, even if you run your own unknown pkarr relay, people will still find your data, because you all eventually publish the data to and query it from the DHT which is what is common and connect everyone, no need for both of us to write and read from common Nostr relays, so Pkarr relays are not cause for centralisation at all, they just support browsers temporarily until they eventually support Pkarr.

as for #3, the format is DNS packet encoding, we didn't reinvent this wheel, it is a very good encoding and very apt for this use case and allows us to leverage all DNS semantics and existing parsers in any language.

TY. I have a better understanding now.

This sounds pretty mich the same as the pears runtime a.k.a dat and what hyperswarm achieves with hyper-dht-relay to be honest.