-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Pubky Integration #1548
Comments
What would the extra metadata field do? It feels like if we had to use something like pubky, it would be to avoid using relay URLs with domain names and just connect to the relay's own key instead. So, I don't know what the extra NIP-24 field would be doing. |
I have implemented pubky in noskey which will allow you to generate a pubky from your nostr privkey noskey -p <privkey> Should work. Note: the pubky value is without any URI prefix as that is implied from the json key. It should not be possible to start putting pubky values into nostr profiles and beginning to use pubkey apps |
It has also been integrated into This is a big deal because it allows every npub to have a censorship-resistant domain, no more takedowns, no gatekeepers, and your data is stored across a resilient, battle-tested, massive network of nodes. $ nslookup -type=txt _npub.8xssyidksmiup9og9k47s41hy7zt71r74fm6zhoc3cuxj9qr7ray 66.78.40.76
Server: 66.78.40.76
Address: 66.78.40.76#53
Non-authoritative answer:
_npub.8xssyidksmiup9og9k47s41hy7zt71r74fm6zhoc3cuxj9qr7ray
text = "npub17zh5navmw7zrdmdfgm8khmeef0zrgyn4kjx4g2x6j0fkcyg7m8wqe3zmwj" |
This would be solved with: #1593 |
Just add it to metadata. People added dozens of fields to metadata before with no community synchronization or discussion. Metadata doesn't have a strictly defined set of keys. You can have it listed on NIP-24 if you want. |
That makes a lot of sense. However, I realized there’s some confusion around what pubky really is, which became clear while chatting with @DanConwayDev. Let me clarify: Pubky is actually two things: a system and a serialization.
|
Relays without DNS would definitely be an interesting use case. The benefit here is that if one server is taken down, the key can simply point to another server with minimal disruption—and no need to purchase or rely on a domain name, to run a relay. But the potential goes far beyond just DNS-less relays. Adding pubky unlocks a wide range of use cases, as mentioned in the comment above. For example, Ed25519 keys are also used in systems like Tor, which you might find interesting. This approach could enable greater flexibility and resilience in relay infrastructure while adding more possibilities for decentralized tooling. |
Propose an integration with the Pubky protocol, which has just launched.
There are many ways to do it, but the simplest that will work is to integrate with NIP-24
Clients already use and respect this. One line just needs to be added to the NIP text for a full integration.
Implementors can go ahead and implement this today. As deployments grow, the NIPs can reflect what is in use.
About pubky - Links taken from their official room
Some Pubky links to get started!
Blog post overview:
https://x.com/BitcoinErrorLog/status/1850442303921590754
AI Deep Dive Podcast - https://x.com/BitcoinErrorLog/status/1850067213442511107
https://pubky.org - all about the code
https://pubky.app - all about the app
https://synonym.to - all about the team
https://pubky.org/#demos - Pubky Demo Week, a new demo each day!
https://github.com/pubky
The text was updated successfully, but these errors were encountered: