Bitcoin Forum
May 25, 2024, 04:38:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin core create multisig  (Read 1231 times)
doof (OP)
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
October 11, 2014, 11:28:24 PM
 #1

I have made multisig addresses fine using bitcoind.  However, trying to use command line in bitcoin core. 

I get the error "no full public key for address 1QDEt1YYJN8qmfa7pdwwo45SAbVaYJT553 (code -1)" using the command

createmultisig 2 '["1A", "1B"]'

Where 1B address is a cold storage address.  Is this by design?
chanz
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile
October 12, 2014, 04:51:14 AM
 #2

You are creating a multisig of 2of2 there. Are you specifying the full public key with createmultisig 2?
you can do validateaddress and copy paste the pub key for that.

My BTC address : 1KfS1c14Tg2hgQEVz2bCJeFox6FpyYFvM6
doof (OP)
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
October 12, 2014, 05:38:01 AM
 #3

Yes, a 2 of 2 address is the intention.  I was supplying the BTC Address in part 2.   If that address exists in the wallet however, then it will create the multisig address.
doof (OP)
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
October 12, 2014, 05:46:11 AM
 #4

Ok, i see what you mean by "validateaddress"
chanz
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile
October 12, 2014, 06:21:34 AM
 #5

1. { validateaddress "address" } Do it with both addresses and copy the "pubkey" it gives you.
2. { createmultisig 2 '["1st pubkey","2nd pubkey"]' }
3. Save the redeemScript.
4. Paste the same command in step-2 but replace "createmultisig" with "addmultisigaddress"

Hope it works.

My BTC address : 1KfS1c14Tg2hgQEVz2bCJeFox6FpyYFvM6
doof (OP)
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
October 12, 2014, 06:44:58 AM
 #6

Thanks.  The other address is coming from multi bit.  When I export the privkey, its uncompressed.  Bitcoin core is giving it compressed.

Im looking at using coinb.in to create the mulisig address, but requires the pub keys to be uncompressed.  Can core export it uncompressed?
chanz
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile
October 12, 2014, 04:00:54 PM
 #7

I don't think it can actually maybe but i never saw anything like that as it does say ""iscompressed":"true"".
You should look at these thread again i have no clue but you might find something helpful.
Multi Signature Address Script and Escrow Service
Exporting a Private Key from Multibit; Importing the key to Bitcoin-QT
Support compressed keys.

My BTC address : 1KfS1c14Tg2hgQEVz2bCJeFox6FpyYFvM6
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!