Bitcoin Forum
May 22, 2024, 05:35:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Spending "OP_SHA256 OP_CHECKSIG" as a TapScript  (Read 44 times)
stwenhao (OP)
Member
**
Offline Offline

Activity: 65
Merit: 84


View Profile
December 31, 2023, 12:55:37 PM
 #1

Do you know, how to spend "OP_SHA256 OP_CHECKSIG" TapScript? Is it spendable at all?

As far as I understand, it requires "<signature> <message>" as an input. And then, the hash of the message could be converted into x-value of the public key. However, after reading CAT and Schnorr Tricks I, it seems it could be possible, if the "<message>" would contain for example "HASH(G||G||txdata)".

Also, because any "<signature>" is just a combination of "<r,s>" values, it could be a combination of "<r1+r2,s1+s2>". Which means, it may be possible to create separate signatures upfront, and then join them in this way, just by tweaking some values. What do you think? Do you have any ideas, how to spend that TapScript?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!