Bitcoin Forum
November 11, 2024, 10:05:42 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Different Multi-Signature Address For Same Pair Of Public Key?  (Read 188 times)
Farul (OP)
Sr. Member
****
Offline Offline

Activity: 270
Merit: 309


Shinji bgt gwh


View Profile
April 24, 2019, 06:46:39 AM
 #1

Yesterday, I Try To Make A New 2-of-2 Multi-Signature Address On Chain query. And The Address That Show Up Is 32wrx1jPZqB1W2BXorTKNt2krHunFL44G7

After That I Use Coinb.in To Make The Same 2-of-2  Multisignature Address (With The Same Public Key As Before)
And The Address That Show Up is 3JAfRwPuxHqQzttGyrJ8GwiJs5kRf8sntc

Is This Normal (The Different Address)?

Pubkey Used :
Code:
027A6885603A0E14284B8BB1D0ACB0D1F3BBD195D2DA07954201598B9AF33D98AD
Code:
047A6885603A0E14284B8BB1D0ACB0D1F3BBD195D2DA07954201598B9AF33D98ADB02E2B1F9FC7BD5CDFDFC396DABD090D1C3B04D660B37023EACAB1317E431ED6





"I mustn't run away, I mustn't run away." - Shinji Ikari
🤖 Wannabe CTF Player 🌌
👼🚀
Thirdspace
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 738


Mixing reinvented for your privacy | chipmixer.com


View Profile
April 24, 2019, 11:50:57 AM
 #2

Yesterday, I Try To Make A New 2-of-2 Multi-Signature Address On Chain query. And The Address That Show Up Is 32wrx1jPZqB1W2BXorTKNt2krHunFL44G7
~
you must have done something wrong, because I got exactly the same on both sites
whichever tool you used, the resulting multisig should be the same
this is the result I get from chainquery.com
Quote
{
   "result": {
      "address": "3JAfRwPuxHqQzttGyrJ8GwiJs5kRf8sntc",
      "redeemScript": "5221027a6885603a0e14284b8bb1d0acb0d1f3bbd195d2da07954201598b9af33d98ad41047a688 5603a0e14284b8bb1d0acb0d1f3bbd195d2da07954201598b9af33d98adb02e2b1f9fc7bd5cdfdf c396dabd090d1c3b04d660b37023eacab1317e431ed652ae"
   },
   "error": null,
   "id": null
}

AB de Royse777
Legendary
*
Offline Offline

Activity: 2660
Merit: 4140


Campaign Manager. My Telegram @Royse777


View Profile WWW
April 24, 2019, 11:53:36 AM
 #3

Yesterday, I Try To Make A New 2-of-2 Multi-Signature Address On Chain query. And The Address That Show Up Is 32wrx1jPZqB1W2BXorTKNt2krHunFL44G7

After That I Use Coinb.in To Make The Same 2-of-2  Multisignature Address (With The Same Public Key As Before)
And The Address That Show Up is 3JAfRwPuxHqQzttGyrJ8GwiJs5kRf8sntc

Is This Normal (The Different Address)?

Pubkey Used :
Code:
027A6885603A0E14284B8BB1D0ACB0D1F3BBD195D2DA07954201598B9AF33D98AD
Code:
047A6885603A0E14284B8BB1D0ACB0D1F3BBD195D2DA07954201598B9AF33D98ADB02E2B1F9FC7BD5CDFDFC396DABD090D1C3B04D660B37023EACAB1317E431ED6






You must be doing something wrong. I have no idea with the wallet functions you are talking about but I use Electrum.
The basic is in a multiSig wallet: The addresses are the same always.

It's the seeds and cosigner keys that are different.

Like seed1 and key1 will never be the same as seed2 and key2 or seedN and keyN BUT the address on the wallet will be same always. If the addresses are not same then you must have done something wrong. May be any typo in the seed or in the key.

I hope it helps.

Cheers :-)

 

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
Farul (OP)
Sr. Member
****
Offline Offline

Activity: 270
Merit: 309


Shinji bgt gwh


View Profile
April 24, 2019, 12:09:58 PM
 #4

Well, After Some Testing
I Realized That I Input Them In Different Order.

If I Put The Compressed Public Key First, I Will Get 3JAfRwPuxHqQzttGyrJ8GwiJs5kRf8sntc

But, If I Put The Uncompressed Public Key First, I Will Get 32wrx1jPZqB1W2BXorTKNt2krHunFL44G7

And The question is Why?
Why With A Pair Of Public Key, With The Same Type Of Multisig, The Address Is Different? Isn't That Will Confusing?

"I mustn't run away, I mustn't run away." - Shinji Ikari
🤖 Wannabe CTF Player 🌌
👼🚀
BitcoinHodler
Hero Member
*****
Offline Offline

Activity: 1456
Merit: 579


HODLing is an art, not just a word...


View Profile
April 24, 2019, 12:27:35 PM
Merited by HCP (2), Farul (2), ABCbits (1), Husna QA (1)
 #5

And The question is Why?
Why With A Pair Of Public Key, With The Same Type Of Multisig, The Address Is Different? Isn't That Will Confusing?

it is because what you call your multi signature "address" is the result of hash of a script. and when you put the public keys in a different order the data you are hashing is different so the result of the hash is different and finally the address is different.
hash of
52<pubkey1><pubkey2>52ae
is different from hash of
52<pubkey2><pubkey1>52ae

in Electrum by default, when you give it a set of public keys to make an address, it first sorts them (lexicographically) so that no matter what order you give them to the wallet, it always produces the same result.
which is why when everyone here is testing with your public keys they are always getting the same result. but when you use another tool (like those websites) you get two different results.

Holding Bitcoin More Every Day
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!