Skip to content
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

NIP-05: bob@trustroots.org #4

Open
3 tasks
guaka opened this issue Dec 18, 2023 · 2 comments
Open
3 tasks

NIP-05: bob@trustroots.org #4

guaka opened this issue Dec 18, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@guaka
Copy link
Contributor

guaka commented Dec 18, 2023

Seems easy to implement early 2024:

UPDATE: better provide nsecs for everyone right away

probably add another section here, replace ELSEWHERE with NOSTR:
image
(and NOSTR can even link to a page with apps that can use this)

@guaka
Copy link
Contributor Author

guaka commented Apr 10, 2024

I'd like to try to set up a NIP-05 team@trustroots.org for this npub https://primal.net/p/npub1lt6a968lk4h6yqduqnxcha628cudulgy8xk607c4xyxn6d6w6kcsmgp8hj

I used https://nostrtool.com/ to get the hex code:

faf5d2e8ffb56fa201bc04cd8bf74a3e38de7d0439ada7fb15310d3d374ed5b1

Now if we put a static file containing { "names": { "team": "faf5d2e8ffb56fa201bc04cd8bf74a3e38de7d0439ada7fb15310d3d374ed5b1" } } at https://www.trustroots.org/.well-known/nostr.json it should work, it returns the same if ?name=team is added.

@chmac
Copy link
Member

chmac commented Apr 10, 2024

Maybe returning the same npub for nostr.json?name=foo is a lil tricky?

Maybe for the collective we could try to add a profile field for npub. Then we could add an API endpoint that resolves usernames into npubs and returns the appropriate JSON. Seems like quite a small change to the current codebase, but would open up nip05 options. Would lay the groundwork for simple trust verifications and so on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants