Avatar
Joshr
93e174736c4719f80627854aca8b67efd0b59558c8ece267a8eccbbd2e7c5535
dev @ wavlake

My first sourdough loaf with rye flour #breadstr

Yep exactly, the point of the kind 1 was so that the zaps and comments would also show up in the "standard" nostr clients.

We aren't zapping or commenting on any of the replaceable events, so I don't think the a tag makes sense in this case.

I think we setup things correctly based on our chosen event architecture. The issue is our chosen event architecture may not be ideal! Check out the diagram in this article for more info on the architecture; https://zine.wavlake.com/how-we-built-wavman/

Excited to discuss and explore different options on this πŸ™‚

Replying to Avatar PABLOF7z

nostr:npub1j0shgumvguvlsp38s49v4zm8algtt92cerkwyeagan9m6tnu256s2eg9a7 continuing conversation here

it looks like you guys are double URI encoding zap requests

```

const encodedEvent = encodeURIComponent(event);

const url = encodeURI(

`${callback}?amount=${sats2millisats(

amount

)}&nostr=${encodedEvent}&lnurl=${lnurl}`

);

```

even when double encoding the zap requests to you, I get back a 500 error

also, you are tagging the `e` of the event, but it's a parameterized replaceable event, so you should be using the `a` tag

we were having issues with emojis breaking things, double encoding it seemed to fix that for us πŸ˜‚

Replying to Avatar PABLOF7z

nostr:npub1yfg0d955c2jrj2080ew7pa4xrtj7x7s7umt28wh0zurwmxgpyj9shwv6vg your 9734 is zapping the wrong id, should be using an `a` tag

{

"kind": 9734,

"content": "",

"pubkey": "fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52",

"created_at": 1682020029,

"tags": [

[

"relays",

"wss://relay.wavlake.com/"

],

[

"amount",

"100000"

],

[

"lnurl",

"https://www.wavlake.com/.well-known/lnurlp/zap"

],

[

"p",

"7759fb24cec56fc57550754ca8f6d2c60183da2537c8f38108fdf283b20a0e58"

],

[

"e",

"58e708a590b7d30037e63d5463ad97782ee8e05f6d2f3ae522e0bb7b0e990aed"

]

],

"id": "d22197c9f3a7efe032744da574bd234204cb329082547424fc97f9f973712f8d",

"sig": "6b2c17a747c00187b90c2401bf4c642c2e36654b8584381b827a984384d0a1b07cdc70adef2248a5199288d615ca0575cc9ec67b4106f437182c2a89054d8f12"

}

that `e` is wrong

In the wavman app, we set it up to zap the kind 1 event (non-replaceable). So when a user sends a zap to a track, it is sent directly to the kind 1 event and not to a person. The kind 1 event id is set the e tag in the zap.

There is also a kind 32123 (replaceable) metadata event, which is used to house all the track's data. The kind 32123 event is not being zapped by wavman (though we have the endpoint setup to accept zaps to this, albeit this is untested).

I'm interpreting NIP-57 to mean that a zap request MUST use an e tag set to the event id of the kind 1 event being zapped (since its not a person). Should the a tag be included in addition to the e tag?

Replying to Avatar Wavlake

We’d like to announce today the release of Wavman http://wavman.app an open-source music player built for Nostr, brought to you by Wavlake ⚑️🎡 Read more: http://zine.wavlake.com/introducing-wavman

πŸ‘ πŸ”₯

Beautiful day on peak 9 in Breckenridge πŸ‚

"We need to figure out how to make money in our sleep" said my Bitcoin skeptic friend last night. Bitcoin fixes this!

Can anyone speak to the commonalities between Usenet and Nostr?

Attempting to purple pill my dad and my uncle... My dad wants me to zap him 40 million sats 🀣

Oh my, I just clicked my fake username link and it brought me to strike.army where it looks like I can generate one! I guess I figured it out 🀣

#[0] Where do you find your LNurl in the strike app? Do you just construct it manually, as in username@strike.army?