Silent Payments are clever: you create a shared secret (ecdh) from a utxo and a public silent payment address. Then you simply add (tweak) this shared secret into this silent address.

The receiver then scans the entire utxo set, looking for any payments to this silent payment address tweaked with the shared secret from all taproot/pubkey inputs.

For onchain zaps, you can skip the scanning process and just send a giftwrap with the txid and the receiver can verify that you sent it and control the utxo just by knowledge of this shared secret.

To generate the shared secret from the sender side, you need the inputs private key multiplied by the silent address pubkey.

On the receiver side, you multiply the silent address secret key by the input’s pubkey.

This gives you the same shared secret which you can use on both sender and receiver side to validate the onchain zap.

The nice thing about leveraging silent payments is that the receiver doesn’t have to use nostr, they could just be using a silent payments wallet to receive the zap.

On the nostr side, all you would need is a silent payment address in your profile. Heck you could even use the users pubkey itself as a key as a less secure silent address fallback if they don’t have one in their profile.

Reply to this note

Please Login to reply.

Discussion

Not sure I got the point ! - like what is the purpose ??

A way to send onchain bitcoin privately to any nostr profile. Onchain zaps are a bonus if we want to display this txn (privately) in clients

Fwiw, I really like this idea

Very interesting

Silent payments lets you publish a static payment address, and no observer can see any payments made to it. You need the private key to see your payments. This means no more address reuse, no more having to generate new addresses for payments. No more looking up wallet balances on block explorers. Huge UX and privacy boost for Bitcoin.

What are we going to name an onchain zap!?

Should be a ROAR or something 🤣

So we have lightning Zap…seems like a thunder Clap would follow…hahahahaha-I crack myself up sometimes! Something tells me that the Clap might be catching!!! Oh shit I did it again!

I vote for BOOM

Silent payments, coinjoin, and browser wallets are really making darkwallet just look like it was 10 years too early.

isn't that all irrelevant if we expect more bitcoin usage thus higher onchain fees?

Adds Privacy.

onchain payments will never be irrelevant

Fees go up and fees go down.

On-chain will always be relevant, even if expensive, otherwise what are we even doing here?

Bookmarked so that I read it later with a larger attention span.

I think I get it a bit more now thanks to this. What do you mean Nostr npubs are less secure?

Silent onchain zaps

nostr:note1pxsvspdh3rcuwke35y3htjuta0es83n70lc8w4azwuazz45n33gq6makzc

what you mean with onchain zaps?

You can build a rendez vous point that only 2 parties know about => send messages without anyone knowing and leaking metadata . Then address book. Then we win

So it’s a taproot wallet on the backend?

The view must be insane from the rarified air where you “live”. I will be on the lookout when this technology is available and usable to a troglodyte like myself🦖. Keep doin what you do!✌️

I might need diagrams to understand this

Agree with others in the thread, a visual diagram would be very helpful to people who learn differently! Sounds great though!