We’re working on an open communities spec at damus. one downside of lightning zaps is that they are not verifiable from random people, they are only verifiable if you trust the wallet that sent the zap.

I haven’t looked at the cashu zaps spec, but i wonder if you could you build a stacker-news like client where the community has their own cashu node? Then you could validate zaps against the community mint, enabling secure, Reddit-style top posts powered by ecash zaps.

Is this doable nostr:npub12rv5lskctqxxs2c8rf2zlzc7xx3qpvzs3w4etgemauy9thegr43sf485vg ? I guess the last ingredient is making sure the ecash wallet swaps the token for the community you are sending nuts to.

Maybe ya’ll are building something similar at chorus?

Reply to this note

Please Login to reply.

Discussion

This centralizes the entire zap flow to be not much better than stacker news and similar. All payments go through one server

Only for that community

so why don’t we make a zap attestation intermediary, or use preimage

how would that would work? preimages don’t help you validate a real payment…

you have an invoice committing to the zap via deschash, and a preimage to prove it was sent, completely trustless

well, what prevents me on a cashu mint from sending sats to my sock accounts and sending them back?

thats how zaps work already… the bolt11 could be fake so showing the preimage doesn’t mean anything, i thought you knew that.

I am just focusing on fixing zap validation, not zapwashing

then just validate it with the zap service npub? the receiving wallet publishes it so it’s trusted

if you cannot trust the receiver to not publish fake zaps, you cannot stop zapwashing.

and even then fake zaps can be filtered because they don’t come from real accounts

I think the point is with a token drawn on a mint at least you can be certain that x sats were drawn on y mint and locked to z pubkey. Which, while still game-able, is a level of certainty above what you can get with LN zaps.

i think i understand the misunderstanding? each community would hold the sats for the posts you make in that community. Similar to how stacker news works now. I don’t know how to validate post zaps otherwise.

nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s,

i really appreciate all you do for nostr, and freedom tech, and all of us.

thank you. 🙏

you must centralize locally if you want any sybil resistance. a federation is the least problematic centralization i guess

It’s the payment service the broadcasts the zap receipt. Don’t you have to trust the payment service not to send fake zap receipts as opposed to the wallet?

pardon my ignorance, but what you want to verify again?

i want to use zaps for ranking top posts in a reddit style community, you can’t use zaps for this now because people can create fake zaps. But if clients can validate an ecash zap against a mint that might be more reliable.

specialized mint emitting proofs of payments (and sacrificing privacy) might emit events or feed an oracle.

the oracle might be asked for attestation?

Thinking along the same lines. There'd have to be some way to link the cashu proofs to the pubkey that signed the event.

What do you mean by 'people can create fake zaps'?

it means what it means. You can’t use zaps for ranking because you can create a fake bolt11 that isn’t associated with a real lightning payment.

So someone could create a new post, create a fake wallet, and upvote their own post with random pubkeys.

Zaps are only useful when you trust your own wallet to not lie about zaps received.

What's stops people from self zapping to boost there post even if everything was verifiable?

might need algos to detect this

Yes! We're also thinking about giving every community their own mint. Cashu zaps are verifiable by checking the p2pk lock against receiver pubkeys + dleq proofs against mint pubkeys.

You could do this with a "pure" Lightning wallet even that generates nuts only at time of zapping.

I see

they're verifiable with dleq proofs