Live data from Hacker News

Nostr is a stupid simple P2P protocol that works, built by builders

news.ycombinator.com

11–20 of 132 posts

Re: Nostr is a stupid simple P2P protocol that works, built by builders

#12
post #4

Not saying this is the future, but something like it is. All of the core decisions here are solid (pub key identities, signed events, dumb relays). There are still features that many apps will need such as tying multiple devices to an identity, abuse prevention for relay operators, etc.

“All of the core decisions here are solid (pub key identities…”

I agree, except for the bit about public keys as identities.

I think public key identities are a step in the right direction, but there’s still a gap between that and what the ultimate solution is going to wind up being.

We need to have some layer of indirection between user identities and public keys so that users can do things like rotate keys, have multiple keys, and recover their identities.

I don’t know what the right solution to that is; I think it’s an open problem and probably one of the most important ones to solve. Keybase probably came closest to a good solution, but it wasn’t decentralized.

Re: Nostr is a stupid simple P2P protocol that works, built by builders

#14
post #8
post #3

Cool! How do you discover users to follow on nostr?

Great question! Relays aren't involved in curation or discovery, so it fall on the client. You can request very broad subscriptions from relays! For example, here is a site that subscribes to everything, showing you a gods-eye view of events streaming into a relay: https://nostr.info/relays Events have different "kinds", so you can filter this based on the type of traffic you are looking for (like public posts or use…

Makes sense, thank you!

Re: Nostr is a stupid simple P2P protocol that works, built by builders

#15

So how does nostr propose to solve the problem where there is, in fact, quite a lot of content that you want to filter out, whether because it makes for a better experience for the people using this protocol to talk to each other, or because there are some pretty solid laws about things that various governments require people to filter out? https://abovethelaw.com/2022/11/hey-elon-let-me-help-you-spe... is a pretty d…

Yes this is the crux of any social media application. I don't know if there will ever be a perfect solution.

I like that nostr abstracts this problem away from the relays. Relays only focus on storing data and handling subscriptions. They can choose to censor and/or curate content if need be, but it's not their concern.

It's up to the client to come up with a solution, and that client can be a platform or a protocol of its own.

edit it also feels really great to work on that problem from the application layer. I can come up with a solution that isn't confined to the parent protocol.

Re: Nostr is a stupid simple P2P protocol that works, built by builders

#17
post #4

Not saying this is the future, but something like it is. All of the core decisions here are solid (pub key identities, signed events, dumb relays). There are still features that many apps will need such as tying multiple devices to an identity, abuse prevention for relay operators, etc.

“All of the core decisions here are solid (pub key identities…” I agree, except for the bit about public keys as identities. I think public key identities are a step in the right direction, but there’s still a gap between that and what the ultimate solution is going to wind up being. We need to have some layer of indirection between user identities and public keys so that users can do things like rotate keys, have mu…

Something like passkey?

Re: Nostr is a stupid simple P2P protocol that works, built by builders

#18
post #16

If everything goes through relays then is it really P2P? Why not even try to have a direct connection of any sort, such as WebRTC?

You can argue that it is not true P2P, since you rely on a public-facing intermediary.

A lot of p2p protocols cheat with relays, it is really hard to traverse nats otherwise.

Nostr can be used for peer discovery to bootstrap a direct p2p connection.

You could also use a client/relay hybrid application, similar to other p2p networks. That would be fun to build. :-)

Re: Nostr is a stupid simple P2P protocol that works, built by builders

#19
post #4

Not saying this is the future, but something like it is. All of the core decisions here are solid (pub key identities, signed events, dumb relays). There are still features that many apps will need such as tying multiple devices to an identity, abuse prevention for relay operators, etc.

“All of the core decisions here are solid (pub key identities…” I agree, except for the bit about public keys as identities. I think public key identities are a step in the right direction, but there’s still a gap between that and what the ultimate solution is going to wind up being. We need to have some layer of indirection between user identities and public keys so that users can do things like rotate keys, have mu…

My vote is for extended keys, something based off HD Wallets:

https://github.com/bitcoin/bips/blob/master/bip-0032.mediawi...

Easy rotation and recovery of individual keys, but you do have to protect your master seed.

Nostr also supports user verification through DNS hostnames.

https://github.com/nostr-protocol/nips/blob/master/05.md

Post reply on HN