Bitcoin Forum
August 25, 2019, 08:43:15 AM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [ASK] Are There Any Way To Know Parent Address From A Multisig Address?  (Read 126 times)
Farul
Full Member
***
Offline Offline

Activity: 214
Merit: 217


GUA MASIH STAY DISINI


View Profile WWW
April 12, 2019, 12:43:58 PM
 #1

Are There Any Way To Know "Parent' Address From A Multisig Address/Public Key?
Example : I Created A Multisignature Wallet From Wallet A & B, The Result Is Multisignature Wallet C
Are There Any Way To Know That Wallet A & B Make The Wallet C,  Just By Knowing The Address(Or Public Key) Of Wallet C?



Hello World!
Blizzard Battletag : Fahrul#11691
1566722595
Hero Member
*
Offline Offline

Posts: 1566722595

View Profile Personal Message (Offline)

Ignore
1566722595
Reply with quote  #2

1566722595
Report to moderator
1566722595
Hero Member
*
Offline Offline

Posts: 1566722595

View Profile Personal Message (Offline)

Ignore
1566722595
Reply with quote  #2

1566722595
Report to moderator
1566722595
Hero Member
*
Offline Offline

Posts: 1566722595

View Profile Personal Message (Offline)

Ignore
1566722595
Reply with quote  #2

1566722595
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1566722595
Hero Member
*
Offline Offline

Posts: 1566722595

View Profile Personal Message (Offline)

Ignore
1566722595
Reply with quote  #2

1566722595
Report to moderator
1566722595
Hero Member
*
Offline Offline

Posts: 1566722595

View Profile Personal Message (Offline)

Ignore
1566722595
Reply with quote  #2

1566722595
Report to moderator
darosior
Full Member
***
Offline Offline

Activity: 178
Merit: 195



View Profile WWW
April 12, 2019, 01:26:57 PM
Last edit: April 12, 2019, 03:15:17 PM by darosior
Merited by Welsh (6), ETFbitcoin (2), LeGaulois (1), Farul (1)
 #2

Are There Any Way To Know "Parent' Address From A Multisig Address/Public Key?
Example : I Created A Multisignature Wallet From Wallet A & B, The Result Is Multisignature Wallet C
Are There Any Way To Know That Wallet A & B Make The Wallet C,  Just By Knowing The Address(Or Public Key) Of Wallet C?
Multisignature addresses are made (usually) using P2SH. When sending funds to the multisig address, pubkey won't be known (only the hash of the script). However, once a transaction is made using an utxo of this address as input, you have to provide the public keys and a signature, thus the public keys will be in the block chain (thus known).
tl;dr : not when receiving, but once using it to pay.

EDIT: expanding a little bit, you seem to confond "wallet" and "addresses". The wallet containing a lot of addresses, if you create a multisig from an address of the wallet A and an address of the wallet B, only these 2 addresses will be made public (when you make a payment from the multisig), but not all the addresses from the wallet A nor from the wallet B.

Github profile ~ Crypto Lyon (french community)  ~ GPG key fingerprint : E13F C145 CD3F 430 ~ LN public key : 03678b4f041fbfbeebcafc076469df75decf81da20a53bd490172e83ce532df1fa
nc50lc
Hero Member
*****
Offline Offline

Activity: 686
Merit: 501


Self-proclaimed Genius ㊙️


View Profile WWW
April 13, 2019, 02:06:20 AM
Merited by Welsh (10), DarkStar_ (4), bones261 (3), Farul (1)
 #3

You can easily do this yourself even without a node with the help of online tools and a blockexplorer.

For example:
This multisig address (from an exchange): 3LgUWbSkwvKoTdn8xexf7GqpVBRLwMs6TE was used as an input to this transaction 7a46e633630736d26354a19971d05add21b0cdcdd5143dfd0a13264f33b4f6fc.

Copy the P2SH redeem script from "input scripts" after "PUSHDATA1" (from the correct order of inputs):
Code:
52210276aee2dd4a0b425792f27b42b1a69e0f9e084a4de84c68fa45020aa95733c25321030fa442d9fb04f2211fe9b57d67f3641be612b1945fbc688eb9652e6e55e5662a210344be0edcb5cc8bebc872ccf1f00a4076e9693bf38261f53971f3566d6bc4769753ae
And Paste it to: http://chainquery.com/bitcoin-api/decodescript
You'll be able to get the three base addresses of that 2/3 multisig Address:
Code:
{
"result": {
"asm": "2 0276aee2dd4a0b425792f27b42b1a69e0f9e084a4de84c68fa45020aa95733c253 030fa442d9fb04f2211fe9b57d67f3641be612b1945fbc688eb9652e6e55e5662a 0344be0edcb5cc8bebc872ccf1f00a4076e9693bf38261f53971f3566d6bc47697 3 OP_CHECKMULTISIG",
"reqSigs": 2,
"type": "multisig",
"addresses": [
"1LRqsYChNsC5GmPtyN5bA8t9nL9UtDaCxZ",
"1KL1Q3AoU7fcdAVwKt1HPUwDAuBzEqgop9",
"16WX1TA21fZN2RjWKgDoS9wYe3ubnM498M"
],
"p2sh": "3LgUWbSkwvKoTdn8xexf7GqpVBRLwMs6TE"
},
"error": null,
"id": null
}

 Newbies and Newbies at heart! Remember to Lock your Thread(s) after receiving enough replies/sufficient answers||                                    
39EKeFj43inkH6Ctkosh9E7oskx3tvhSXi ∙ Do not buy non-mainstream ASICs at second-batch onward, you know the risk!||Like Art?: MetalPosters Set1 / Set2
pooya87
Legendary
*
Offline Offline

Activity: 1736
Merit: 1820


Remember tonight for it's the beginning of forever


View Profile
April 13, 2019, 04:34:00 AM
Merited by Welsh (10)
 #4

it is a very bad idea to call them "addresses" though! because they really aren't addresses.

let me start by explaining what an address really is. an address is a human readable encoding of a script. in Bitcoin (as the protocol, or at code level) there are no "addresses", there are only scripts. for instance when you say "1LRqsYChNsC5GmPtyN5bA8t9nL9UtDaCxZ" you are really saying
Code:
OP_DUP OP_HASH160 <d51d2b31200386ad59165469aee0ce9ecc39251b> OP_EQUALVERIFY OP_CHECKSIG
which is a script.

so if you translate 3LgUWbSkwvKoTdn8xexf7GqpVBRLwMs6TE  to 3 addresses (1LRqs..., 1KL1..., 16WX...) you are "translating" it into 3 false scripts. because when you say "3LgUWbSkwvKoTdn8xexf7GqpVBRLwMs6TE" you are really saying
Code:
OP_HASH160 <d0502aef18b86f9e9b2544801a5a8dfe17c49008> OP_EQUAL

the only "correct question" here would be to ask which public key(s) is/are involved in creating this address which starts with 3. in which case you can look at the transaction that spends that output to get the public key(s). but still translating it to addresses like what the link posted by @nc50lc is doing is wrong.

nc50lc
Hero Member
*****
Offline Offline

Activity: 686
Merit: 501


Self-proclaimed Genius ㊙️


View Profile WWW
April 13, 2019, 06:00:17 AM
 #5

Those were derived from the three public keys that was used to make the multisig address; and yes, there's no "address" on protocol level.

But OP is asking for "addresses" and the follow-up question should be: What is his intent on asking such question?
Did he think that the owners of the private keys also uses it on a legacy bitcoin address? I can't think of other reasons to ask this other than checking if those addresses were used before.

Example: electrum's HD multisig wallet from two or more SEEDs and each cosigners used their SEED to make a standard wallet with legacy addresses.

 Newbies and Newbies at heart! Remember to Lock your Thread(s) after receiving enough replies/sufficient answers||                                    
39EKeFj43inkH6Ctkosh9E7oskx3tvhSXi ∙ Do not buy non-mainstream ASICs at second-batch onward, you know the risk!||Like Art?: MetalPosters Set1 / Set2
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!