Join Nostr
2025-05-27 10:03:37 UTC

saiy2k on Nostr: Hey Nostriches, Looing for help! What's the best way to Zap a url? As part of , we ...

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?

1. 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.

2. As Nip-24 suggest, just add a #r tag directly to the Zap event (kind: 9734) Looks much simpler.

3. Or is there any better way?

Thanks!

Tagging (/spamming) people for reach :-)



#asknostr #needhelp