Hey Nostriches,
Looing for help! What's the best way to Zap a url?
As part of https://nostr-components.web.app, we are building a zap buttons, that can be embedded in any website.
Think each wordpress post (or any url), gets a zap button.
Looking for some thoughts on what's the right way to do this?
- Nip-57 says add a #e tag to tag to a event, rather than a person. (Says nothing about external URL) Combine this with Nip-73 event, that refers to the url using #i tag and #k tag (web)
So for first zap to a URL, I create a Nip-73 event with the url in #i tag and zap to that event.
-
As Nip-24 suggest, just add a #r tag directly to the Zap event (kind: 9734) Looks much simpler.
-
Or is there any better way?
Thanks!
Tagging (/spamming) people for reach :-)
#asknostr #needhelp