bordalix on Nostr: BASIC SCHEME The recipient publishes their silent payment address, a single 32 byte ...
BASIC SCHEME
The recipient publishes their silent payment address, a single 32 byte public key:
X = x*G
The sender picks an input containing a public key:
I = i*G
The sender tweaks the silent payment address with the public key of their input:
X' = hash(i*X)*G + X
Since i*X == x*I (Diffie-Hellman Key Exchange), the recipient can detect the payment by calculating hash(x*I)*G + X for each input key I in the blockchain and seeing if it matches an output in the corresponding transaction.
via
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2022-March/020180.htmlPublished at
2024-05-16 12:51:13Event JSON
{
"id": "0e3742d9d684901dd2bd2946fef4a6486b6d576e74399696e02cdc707753b457",
"pubkey": "62cef883863022a4f1d60d54857c9d729650702c9fe227b0988c0b6e36c4bcce",
"created_at": 1715856673,
"kind": 1,
"tags": [
[
"e",
"1b18b39453cd24a36b38b0b206b46bee5fa5f80f6e5601d4ffac40d38cf2412e",
"wss://relay.primal.net",
"root"
],
[
"e",
"7a60d5df9db33773b5b3e70cef248141a4ad39c5321b91507ce18af1a3ba2b78",
"wss://relay.primal.net",
"reply"
],
[
"p",
"5b0e8da6fdfba663038690b37d216d8345a623cc33e111afd0f738ed7792bc54"
],
[
"p",
"bb2e4a9fbefe705cb792a7525513aa26a094c73260ed12205da0345dd806655b"
]
],
"content": "BASIC SCHEME\n\n\nThe recipient publishes their silent payment address, a single 32 byte public key:\nX = x*G\n\nThe sender picks an input containing a public key:\nI = i*G\n\nThe sender tweaks the silent payment address with the public key of their input:\nX' = hash(i*X)*G + X\n\nSince i*X == x*I (Diffie-Hellman Key Exchange), the recipient can detect the payment by calculating hash(x*I)*G + X for each input key I in the blockchain and seeing if it matches an output in the corresponding transaction.\n\nvia https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2022-March/020180.html",
"sig": "db434085f6a0d8ab1a4cc3ede5a5c41a71ead5c39d8b2ed3260749f8001fee2bf17db5d78eb8444c39c552f11de0beb60d084872f9cf6a5a69b69bf6cca0ad17"
}