Using OP_CHECKMULTISIG to Simulate OP_CHECKSIGFROMSTACK

0 replies 424 views
v3ct0r365Member
Posts: 11 · Reputation: 41
#1Sep 12, 2023, 03:42 PM
Has anyone thought about using OP_CHECKMULTISIG to mimic OP_CHECKSIGFROMSTACK? I'm thinking like a 2-of-2 multisig setup where you provide two signatures and just need to find one public key that can validate both at the same time. So, normally OP_CHECKMULTISIG works a certain way, but what if we tweak it? If we can ensure that the z-value matches for both signatures, we could choose (r,s) pairs in a way that if the right public key is supplied, it would act like a signature for a specific message. Seems interesting, right?
2 Reply Quote Share

Related topics