Global
2 replies
⚙️
Login
Rizful.com's avatar
Rizful.com admin@rizful.com 6 months ago
@Cody also -- This should hopefully be straightforward to implement for Nostr client developers, and would greatly improve the UX for users who use NWC in your apps....
↑ Parent
Login to reply

Replies (2)

Cody's avatar
Cody cody@jumble.social 6 months ago
I’m using bitcoin-connect, how should I add the metadata?
1 replies ↓
Rizful.com's avatar
Rizful.com admin@rizful.com 6 months ago
I think to implement this in a client, you need to look at both of these pages...
GitHub
Standardized NIP-47 metadata for payer/payee in `list_transactions`? · Issue #1843 · nostr-protocol/nips
We are implementing a wallet view with a list of transactions from NWC wallets, by using this standard call: https://github.com/nostr-protocol/nips...
GitHub
feat: add metadata to NIP-47 make_invoice and payment commands by rolznz · Pull Request #2063 · nostr-protocol/nips
Closes #1843 This PR allows storing metadata to give more context for sent/received payments, for example to display zaps, payment or recipient dat...
And then look again right here:
GitHub
nips/47.md at master · nostr-protocol/nips
Nostr Implementation Possibilities. Contribute to nostr-protocol/nips development by creating an account on GitHub.
... look at that `metadata` field .... and then look here :
GitHub
nips/47.md at master · nostr-protocol/nips
Nostr Implementation Possibilities. Contribute to nostr-protocol/nips development by creating an account on GitHub.
.. specifically at this part: ``` "nostr": { "pubkey": "string", "tags": [], // ... }, // NIP-57 (Nostr Zaps) ```

Generated: 08:40:18 · Zero-JS Hypermedia Browser

↑