HunterBeast on Nostr: It's kinda thinking about it backwards... Basically, there's the scriptPubKey and the ...
It's kinda thinking about it backwards... Basically, there's the scriptPubKey and the witness... The scriptPubKey contains a SegWit v1 opcode for Taproot plus a 32 byte x-only public key. This is the address you send funds to. Then, to spend them, you have to sign a transaction, then include the 64 byte Schnorr signature in the witness to verify you own the private keys to that address. The efficiency gain here is that the 32 byte public key doesn't need to be included in the witness also (that would cost 8.25 bytes with the 4x witness discount-- 32 / 4 = 8, 1 byte for OP_PUSHBYTES32)
Published at
2025-02-21 06:03:16Event JSON
{
"id": "d5a924d3911a7c9dc14aad9510966d720044a1d05989165e371403e172c2f101",
"pubkey": "000000000332c7831d9c5a99f183afc2813a6f69a16edda7f6fc0ed8110566e6",
"created_at": 1740117796,
"kind": 1,
"tags": [
[
"e",
"a88086f5607ab7ecf6ac5a6c4c7fb576152dcf3fcb280c824226647106153f27",
"",
"root"
],
[
"e",
"b02cca2913e51788eeb35768f685a6e34f3d0477e7266e2b9605ce7fc22be170",
"",
"reply"
],
[
"p",
"0d97beae567fcec9c6574f1c6ef6126ea969d4992c3198e51c0fac52c5274a14"
],
[
"p",
"34fd28a49f15200674a31d0f1a1556d2fc2588ae3ea74831fd0efb0406df3b78"
]
],
"content": "It's kinda thinking about it backwards... Basically, there's the scriptPubKey and the witness... The scriptPubKey contains a SegWit v1 opcode for Taproot plus a 32 byte x-only public key. This is the address you send funds to. Then, to spend them, you have to sign a transaction, then include the 64 byte Schnorr signature in the witness to verify you own the private keys to that address. The efficiency gain here is that the 32 byte public key doesn't need to be included in the witness also (that would cost 8.25 bytes with the 4x witness discount-- 32 / 4 = 8, 1 byte for OP_PUSHBYTES32)",
"sig": "f562e91180d1645782dfe7a9d8ad71d1a6312d51e2eed638110753473153b1f47fe2692c45a85261aa27083ebc9c40ab05150fe3a695e1e557935c1d417aeca2"
}