• About
  • FAQ
  • Earn Bitcoin while Surfing the net
  • Buy & Sell Crypto on Paxful
Newsletter
Approx Foundation
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
Approx Foundation
No Result
View All Result
Home Bitcoin

transactions – MULTISIG locking script without certain order of signatures

Moussa by Moussa
April 1, 2025
in Bitcoin
0
peer discovery – how to obtain the IP addresses of nodes for mining pools?
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


I need to create and broadcast a MULTISIG transaction to the test network. OP_CHECKMULTISIG is to be used. I need a locking script that requires my public key and 1 of other 3 people’s. The order of the signatures in unlocking script should not matter.

As far as i know OP_CHECKMULTISIG requires order, so I don’t know how to deal with no order situation. Also, how am I even going to check the signature of mine with my public key if its not top of the stack at the beginning. It seems too complex, but if there’s an easier way or a certain scheme I’d gladly take the help.

Also, does this mean that only 2 signature would be given for unlocking script or more than 2 is possible? If so I made one, but it’s not using OP_CHECKMULTISIG and not sure if its valid:

 OP_CHECKSIG
OP_IF
    # If yes, second signature must be an employee's
    OP_SWAP  # [result1, sig2]
    OP_DUP  OP_CHECKSIG OP_SWAP
    OP_DUP  OP_CHECKSIG OP_SWAP
    OP_DUP  OP_CHECKSIG
    OP_ADD OP_ADD
    OP_1 OP_GREATERTHANOREQUAL  # At least 1 employee signed
OP_ELSE
    # If first is not manager's, check if it's an employee's
    OP_SWAP  # [result1, sig2]
    OP_DUP  OP_CHECKSIG OP_SWAP
    OP_DUP  OP_CHECKSIG OP_SWAP
    OP_DUP  OP_CHECKSIG
    OP_ADD OP_ADD
    OP_1 OP_GREATERTHANOREQUAL OP_IF
        # If first is an employee's, second must be manager's
         OP_CHECKSIG
    OP_ELSE
        OP_0  # Fail if first sig is neither
    OP_ENDIF
OP_ENDIF



Source link

Related articles

Massive Short Squeeze and Institutional Buying Drive $96K Target

Massive Short Squeeze and Institutional Buying Drive $96K Target

May 4, 2026
Ethereum Price Tracks Bitcoin Rally, Targets Crucial Break Higher

Ethereum Price Tracks Bitcoin Rally, Targets Crucial Break Higher

May 4, 2026
Share76Tweet47

Related Posts

Massive Short Squeeze and Institutional Buying Drive $96K Target

Massive Short Squeeze and Institutional Buying Drive $96K Target

by Moussa
May 4, 2026
0

Key Takeaways: Bitcoin hit $80,039, breaking above key resistance for the first time in weeks. Capriole data shows institutions absorbing...

Ethereum Price Tracks Bitcoin Rally, Targets Crucial Break Higher

Ethereum Price Tracks Bitcoin Rally, Targets Crucial Break Higher

by Moussa
May 4, 2026
0

Ethereum price started a fresh increase and remained stable above $2,350. ETH is now consolidating and might aim for more...

Coinbase Says Prediction Markets Are Maturing, CFTC Needs No New Mandate

Coinbase Says Prediction Markets Are Maturing, CFTC Needs No New Mandate

by Moussa
May 4, 2026
0

Key Takeaways: Coinbase urged the CFTC to regulate prediction markets under existing derivatives law. Federal oversight could prevent fragmented state...

Bitcoin Bottom Zone Now Lies Around $59,000 Based On This On-Chain Metric

Bitcoin Bottom Zone Now Lies Around $59,000 Based On This On-Chain Metric

by Moussa
May 4, 2026
0

Opeyemi is a proficient writer and enthusiast in the exciting and unique cryptocurrency realm. While the digital asset industry was...

Dormant Wallets Spend 793 BTC Over 72 Hours as Bitcoin Crosses $79,000

Dormant Wallets Spend 793 BTC Over 72 Hours as Bitcoin Crosses $79,000

by Moussa
May 4, 2026
0

Key Takeaways: Onchain data shows 793 BTC spent May 1-3, 2026, with 56 of 62 outputs originating from 2016 wallets....

Load More

youssufi.com

sephina.com

[vc_row full_width="stretch_row" parallax="content-moving" vc_row_background="" background_repeat="no-repeat" background_position="center center" footer_scheme="dark" css=".vc_custom_1517813231908{padding-top: 60px !important;padding-bottom: 30px !important;background-color: #191818 !important;background-position: center;background-repeat: no-repeat !important;background-size: cover !important;}" footer_widget_title_color="#fcbf46" footer_button_bg="#fcb11e"][vc_column width="1/4"]

We bring you the latest in Crypto News

[/vc_column][vc_column width="1/4"][vc_wp_categories]
[/vc_column][vc_column width="1/4"][vc_wp_tagcloud taxonomy="post_tag"][/vc_column][vc_column width="1/4"]

Newsletter

[vc_raw_html]JTNDcCUzRSUzQ2RpdiUyMGNsYXNzJTNEJTIydG5wJTIwdG5wLXN1YnNjcmlwdGlvbiUyMiUzRSUwQSUzQ2Zvcm0lMjBtZXRob2QlM0QlMjJwb3N0JTIyJTIwYWN0aW9uJTNEJTIyaHR0cHMlM0ElMkYlMkZhcHByb3gub3JnJTJGJTNGbmElM0RzJTIyJTNFJTBBJTBBJTNDaW5wdXQlMjB0eXBlJTNEJTIyaGlkZGVuJTIyJTIwbmFtZSUzRCUyMm5sYW5nJTIyJTIwdmFsdWUlM0QlMjIlMjIlM0UlM0NkaXYlMjBjbGFzcyUzRCUyMnRucC1maWVsZCUyMHRucC1maWVsZC1maXJzdG5hbWUlMjIlM0UlM0NsYWJlbCUyMGZvciUzRCUyMnRucC0xJTIyJTNFRmlyc3QlMjBuYW1lJTIwb3IlMjBmdWxsJTIwbmFtZSUzQyUyRmxhYmVsJTNFJTBBJTNDaW5wdXQlMjBjbGFzcyUzRCUyMnRucC1uYW1lJTIyJTIwdHlwZSUzRCUyMnRleHQlMjIlMjBuYW1lJTNEJTIybm4lMjIlMjBpZCUzRCUyMnRucC0xJTIyJTIwdmFsdWUlM0QlMjIlMjIlM0UlM0MlMkZkaXYlM0UlMEElM0NkaXYlMjBjbGFzcyUzRCUyMnRucC1maWVsZCUyMHRucC1maWVsZC1lbWFpbCUyMiUzRSUzQ2xhYmVsJTIwZm9yJTNEJTIydG5wLTIlMjIlM0VFbWFpbCUzQyUyRmxhYmVsJTNFJTBBJTNDaW5wdXQlMjBjbGFzcyUzRCUyMnRucC1lbWFpbCUyMiUyMHR5cGUlM0QlMjJlbWFpbCUyMiUyMG5hbWUlM0QlMjJuZSUyMiUyMGlkJTNEJTIydG5wLTIlMjIlMjB2YWx1ZSUzRCUyMiUyMiUyMHJlcXVpcmVkJTNFJTNDJTJGZGl2JTNFJTBBJTNDZGl2JTIwY2xhc3MlM0QlMjJ0bnAtZmllbGQlMjB0bnAtcHJpdmFjeS1maWVsZCUyMiUzRSUzQ2xhYmVsJTNFJTNDaW5wdXQlMjB0eXBlJTNEJTIyY2hlY2tib3glMjIlMjBuYW1lJTNEJTIybnklMjIlMjByZXF1aXJlZCUyMGNsYXNzJTNEJTIydG5wLXByaXZhY3klMjIlM0UlQzIlQTBCeSUyMGNvbnRpbnVpbmclMkMlMjB5b3UlMjBhY2NlcHQlMjB0aGUlMjBwcml2YWN5JTIwcG9saWN5JTNDJTJGbGFiZWwlM0UlM0MlMkZkaXYlM0UlM0NkaXYlMjBjbGFzcyUzRCUyMnRucC1maWVsZCUyMHRucC1maWVsZC1idXR0b24lMjIlM0UlM0NpbnB1dCUyMGNsYXNzJTNEJTIydG5wLXN1Ym1pdCUyMiUyMHR5cGUlM0QlMjJzdWJtaXQlMjIlMjB2YWx1ZSUzRCUyMlN1YnNjcmliZSUyMiUyMCUzRSUwQSUzQyUyRmRpdiUzRSUwQSUzQyUyRmZvcm0lM0UlMEElM0MlMkZkaXYlM0UlM0NiciUyRiUzRSUzQyUyRnAlM0U=[/vc_raw_html][/vc_column][/vc_row]
No Result
View All Result
  • Contact Us
  • Homepages
  • Business
  • Guide

© 2024 APPROX FOUNDATION - The Crypto Currency News