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

feat: add basic nip47 methods #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

rolznz
Copy link

@rolznz rolznz commented Mar 9, 2025

Adds most of the basic NIP-47 methods (get_info, make_invoice, pay_invoice, lookup_invoice, list_transactions, get_balance).

Some are missing (get_budget, pay_keysend, multi_* methods). Subscribing to notifications is not supported yet.

Only NIP-44 encryption is supported.

If you like to try, here's a NWC connection secret:

nostr+walletconnect://a9c68ebd5be8f0b0b9677a9da2ab03fe5223f348155f3e86d0f4f8e308957735?relay=wss://relay.getalby.com/v1&secret=bba28eca062f16e27a80bae6ab956a066086edad7ace5f488b58aa404d41a22f

@rolznz
Copy link
Author

rolznz commented Mar 18, 2025

@fiatjaf are you open to accepting this PR? anything I can change? do you only accept contributions via NIP-34?

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.

1 participant