Bitcoin Forum
May 09, 2024, 02:15:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BIP45 or 44?  (Read 472 times)
readyrocky (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 5


View Profile
March 09, 2017, 12:13:56 PM
 #1

Which derivation paths uses electrum to derive multisig addresses in both android/desktop?:

BIP 45:
Code:
m/45'/cosignerindex/0/0

or BIP44:
Code:
m / purpose' / coin_type' / account' / change / address_index
1715264111
Hero Member
*
Offline Offline

Posts: 1715264111

View Profile Personal Message (Offline)

Ignore
1715264111
Reply with quote  #2

1715264111
Report to moderator
1715264111
Hero Member
*
Offline Offline

Posts: 1715264111

View Profile Personal Message (Offline)

Ignore
1715264111
Reply with quote  #2

1715264111
Report to moderator
1715264111
Hero Member
*
Offline Offline

Posts: 1715264111

View Profile Personal Message (Offline)

Ignore
1715264111
Reply with quote  #2

1715264111
Report to moderator
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715264111
Hero Member
*
Offline Offline

Posts: 1715264111

View Profile Personal Message (Offline)

Ignore
1715264111
Reply with quote  #2

1715264111
Report to moderator
1715264111
Hero Member
*
Offline Offline

Posts: 1715264111

View Profile Personal Message (Offline)

Ignore
1715264111
Reply with quote  #2

1715264111
Report to moderator
1715264111
Hero Member
*
Offline Offline

Posts: 1715264111

View Profile Personal Message (Offline)

Ignore
1715264111
Reply with quote  #2

1715264111
Report to moderator
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
March 09, 2017, 02:32:38 PM
 #2

Please read this post: https://bitcointalk.org/index.php?topic=1816926.msg18101203#msg18101203

It answers your implied questions too.
readyrocky (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 5


View Profile
March 09, 2017, 03:05:39 PM
 #3

Please read this post: https://bitcointalk.org/index.php?topic=1816926.msg18101203#msg18101203

It answers your implied questions too.

you're awesome. thanks a lot.
readyrocky (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 5


View Profile
March 09, 2017, 03:14:40 PM
 #4

Please read this post: https://bitcointalk.org/index.php?topic=1816926.msg18101203#msg18101203

It answers your implied questions too.

That would be for the standard wallets, but what about the multisigs? is there any cosigner index implied? that post didn't point that out.
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
March 09, 2017, 04:00:57 PM
Merited by bones261 (1)
 #5

Please read this post: https://bitcointalk.org/index.php?topic=1816926.msg18101203#msg18101203

It answers your implied questions too.

That would be for the standard wallets, but what about the multisigs? is there any cosigner index implied? that post didn't point that out.

The derivation path is the same for multisig addresses. If you want to check for yourself then restore a wallet with the following xprivs:

a: xprv9s21ZrQH143K2j4ApvAWXbXnRQxxY1175NJFyzRSL3copkzRrmR9iFju2bPKMThZZ5X8dBHY8Hn So3Tp1mosezGpbhMxjFewR7fWsWqVuzd

b: xprv9s21ZrQH143K2dEFaB8GQ9FmTdLyMijhPngdimqyUiwXgh5rmh92n4x6JEWutHeDi2qAAHPv92S 3SuhNuktYZt22p2jgWMoK5WkDXBnkj4S

The above two are generated using bip32.org (passphrase a and b resp.)

The first address pubkeys of the above two are (m/0/0):


a0: 0223bb76b4e6844a6bde363057fab2aa5df5bc3a7e89c7e8124f6265f8080065fa
b0: 0246277670f2d0ff5e86af5e82f8f98d3e1cd90d0b0f252df6518fd842568a5551

And the resulting address is 3Nw1BqfMgdLDAsu67g74dJLxSPAxQEmfZz. This is what you will see in electrum as well as on coinbin:

https://coinb.in/#newMultiSig
readyrocky (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 5


View Profile
March 09, 2017, 05:38:29 PM
 #6

Please read this post: https://bitcointalk.org/index.php?topic=1816926.msg18101203#msg18101203

It answers your implied questions too.

That would be for the standard wallets, but what about the multisigs? is there any cosigner index implied? that post didn't point that out.

The derivation path is the same for multisig addresses. If you want to check for yourself then restore a wallet with the following xprivs:

a: xprv9s21ZrQH143K2j4ApvAWXbXnRQxxY1175NJFyzRSL3copkzRrmR9iFju2bPKMThZZ5X8dBHY8Hn So3Tp1mosezGpbhMxjFewR7fWsWqVuzd

b: xprv9s21ZrQH143K2dEFaB8GQ9FmTdLyMijhPngdimqyUiwXgh5rmh92n4x6JEWutHeDi2qAAHPv92S 3SuhNuktYZt22p2jgWMoK5WkDXBnkj4S

The above two are generated using bip32.org (passphrase a and b resp.)

The first address pubkeys of the above two are (m/0/0):


a0: 0223bb76b4e6844a6bde363057fab2aa5df5bc3a7e89c7e8124f6265f8080065fa
b0: 0246277670f2d0ff5e86af5e82f8f98d3e1cd90d0b0f252df6518fd842568a5551

And the resulting address is 3Nw1BqfMgdLDAsu67g74dJLxSPAxQEmfZz. This is what you will see in electrum as well as on coinbin:

https://coinb.in/#newMultiSig

it works. thanks for your patience.
CompNsci
Sr. Member
****
Offline Offline

Activity: 332
Merit: 253


View Profile
December 20, 2018, 10:54:52 PM
 #7

These examples work for Electrum 3.2.2, though there are some funky characters in the xprv addresses when you copy and paste them from the web page.
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
December 21, 2018, 09:53:27 AM
 #8

These examples work for Electrum 3.2.2, though there are some funky characters in the xprv addresses when you copy and paste them from the web page.

Yes apparently the forum software has included a space in there. Remove it and you're good to go.
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!