Skip to content

Conversation

ekzyis
Copy link

@ekzyis ekzyis commented Jul 30, 2025

Hellouuu, nak is great but it did not support nip47 so I changed that.

Now it at least supports fetching the info event (kind 13194).

When I have time, I will add more support!

@fiatjaf
Copy link
Owner

fiatjaf commented Jul 30, 2025

Thank you, but sorry. I cannot maintain this as I don't know anything about NIP-47.

Maybe it's a good idea for the future, but for now I can't merge it.

@fiatjaf
Copy link
Owner

fiatjaf commented Jul 30, 2025

Would it be possible to have an API like this?

nak nwc 'nostr+walletconnect://...' balance
nak nwc 'nostr+walletconnect://...' pay
nak nwc 'nostr+walletconnect://...' invoice

@fiatjaf
Copy link
Owner

fiatjaf commented Jul 30, 2025

This should be added to the upstream library first, and nak should be used as the testbed for that.

What providers support NWC?

@ekzyis
Copy link
Author

ekzyis commented Jul 30, 2025

Thank you, but sorry. I cannot maintain this as I don't know anything about NIP-47.

Maybe it's a good idea for the future, but for now I can't merge it.

No worries, was just an offer and that others can see that there is nip47 support in my fork when they search for "nip47" in this repository. Feel free to close this PR whenever you want!

Would it be possible to have an API like this?

Ohh, that looks nice, thank you

This should be added to the upstream library first, and nak should be used as the testbed for that.

Yes, makes sense, will move the code upstream when I'm done writing the code inside nak first

But do you mean with upstream fiatjaf.com/nostr which is what you're using in nak or go-nostr (upstream of upstream)?

What providers support NWC?

https://nwc.dev/ has a list at the bottom:

2025-07-30-235245_1920x1080_scrot

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

Successfully merging this pull request may close these issues.

2 participants