Right. I am confused about Zapping a track if that track doesn't have an npub associated with it. I see an artistnpub being returned from the API, but some tracks don't seem to have them.
Discussion
I guess I just don't zap those tracks?
On wavlake you can sign up with email and password.
In which case you get a custodial wallet "your name" wavlake . Com or something like that
You do, but that zaps go to nostr:npub1wavlkfxwc4hu2a2sw4x23akjccqc8k39xly08qgglheg8vs2pevq592dmq and then 90% of the zap gets forwarded to the artist from Wavlake. Wavlake takes 10% as a service fee.
You have to construct the nostr event address pointer
nostr:npub18ams6ewn5aj2n3wt2qawzglx9mr4nzksxhvrdc4gzrecw7n5tvjqctp424 I can just do it for you this weekend if your Google bot is too dumb to figure it out 😂
I'll push the code to GitHub tomorrow. But I'm also getting an appId from Josh. He said that's how I should it? 👀
You get a cut if you use that. So instead of 10% going to Wavlake, they share some of that with you. I don’t think it’s used in zaps though. It’s only for the normal lightning tips afaik.
Here’s how I use it. The link to my code is wrong in their blog post.