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

Support all encodings, especially naddr. #64

Open
SilberWitch opened this issue Oct 15, 2024 · 0 comments
Open

Support all encodings, especially naddr. #64

SilberWitch opened this issue Oct 15, 2024 · 0 comments

Comments

@SilberWitch
Copy link

Title says it all. ☺️

Would like to be able to derive naddr from something similar to the nak command, with n number of relay hints:
nak encode naddr -d 1728392447948 --author fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1 --kind 30023 --relay ws://localhost:8080 --relay wss://theforest.nostr1.com

which gives me:
naddr1qqxnzdej8qenjv35xsmnjdpcqyfhwue69uhkcmmrv9kxsmmnwsarsvpcxqq35amnwvaz7tm5dpjkvmmjv4ehgtnwdaehgu339e3k7mgzyr7jprhgeregx7q2j4fgjmjgy0xfm34l63pqvwyf2acsd9q0mynuzqcyqqq823cmhhd4e

I have a longform-note generator and I currently use nak over shell, to get naddr, which is sort of messy.
(just added the nak code, so that you have an easy test case)

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

No branches or pull requests

1 participant