Bitcoin Forum
June 22, 2024, 06:42:48 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Failure importing keys - multisig  (Read 328 times)
graf_cot (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
March 07, 2017, 01:12:11 PM
 #1

Hi, guys.

I had generated multisig address with bitcore-lib on JS:

1. Generate 3 HD private keys and HD public keys.
2. Converted HD public keys to relugar keys.
3. Created the multisig address.

And everything goes fine. But, when I restore multisig address in Electrum with HD keys, I don't see there are my multisig address.

Has anyone encountered a similar problem?  Huh

I would be grateful for your help.
Abdussamad
Legendary
*
Offline Offline

Activity: 3640
Merit: 1571



View Profile
March 07, 2017, 05:05:58 PM
 #2

Hi, guys.

I had generated multisig address with bitcore-lib on JS:

1. Generate 3 HD private keys and HD public keys.
2. Converted HD public keys to relugar keys.
3. Created the multisig address.

And everything goes fine. But, when I restore multisig address in Electrum with HD keys, I don't see there are my multisig address.

Has anyone encountered a similar problem?  Huh

I would be grateful for your help.

There could be a few reasons for this:

- the order of the pub key matters. a different order will yield a different address. electrum puts the pub keys in lexicographic order first: http://bitcoin.stackexchange.com/a/40382 so make sure you do the same

- the address derivation path matters. This is what electrum uses: http://bitcoin.stackexchange.com/a/36956

So make sure the above is all consistent with what electrum does.

Alternatively you could create a watch only installation of electrum on your server and have electrum derive addresses. Electrum has a daemon mode that you can use. You use the addrequest command to get addresses but note that it won't create more addresses than the gap limit so you'll have to increase the gap limit + keep track of which addresses have been used in case you exceed the gap limit.
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!