cmd on Nostr: I believe you can have both privacy and a provably spendable output, by extending ...
I believe you can have both privacy and a provably spendable output, by extending P2TR a little bit.
Part 1: Preimage.
Part 2: Internal pubkey.
Script Output: Hash the preimage, and use it to tweak the pubkey. This key goes in the script, similar to taproot.
When relaying: Provide the hash + internal pubkey + signature for proof of validity.
When spending: Provide the preimage + internal pubkey + signature for proof of custody.
By requiring the pre-image for spending, you also make it relatively quantum resistant (similar to p2pkh).
The downside is that it costs slightly more to spend, since you must publish the preimage in addition to the pubkey and signature
Published at
2025-05-05 01:06:14Event JSON
{
"id": "10296e107e40c78ac93053a2c57e12cd1acfa0c091fe21ebe2a22c262eec9529",
"pubkey": "4229c21f0101abc3ba45233e176e975fa9e671bb18a6722bdf7726ba25445ff9",
"created_at": 1746407174,
"kind": 1,
"tags": [],
"content": "I believe you can have both privacy and a provably spendable output, by extending P2TR a little bit.\n\nPart 1: Preimage.\nPart 2: Internal pubkey.\n\nScript Output: Hash the preimage, and use it to tweak the pubkey. This key goes in the script, similar to taproot.\n\nWhen relaying: Provide the hash + internal pubkey + signature for proof of validity.\n\nWhen spending: Provide the preimage + internal pubkey + signature for proof of custody.\n\nBy requiring the pre-image for spending, you also make it relatively quantum resistant (similar to p2pkh).\n\nThe downside is that it costs slightly more to spend, since you must publish the preimage in addition to the pubkey and signature\n\n",
"sig": "e2110cd46e093dd8f86209352f022971eabe2b27c94f5c62b1ac6f8ca7d794694029cc0b3a8f15cf5b57a57ceacffd1c8b8c00f2985c988365f6c26d6b4e326c"
}