Bitcoin Forum
July 27, 2024, 04:38:58 PM *
News: Help 1Dq create 15th anniversary forum artwork.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: private keys for multi -sig address  (Read 305 times)
financial freedom (OP)
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
November 16, 2017, 04:26:24 AM
 #1

I've created a multi-sig address from two wallets,

I'm now looking at which keys are actually associated with that address.

1- create new standard wallet
2 - create new multi-sig wallet using seed from #1

Each wallet has a bunch of keys in it, so I'm wondering how can i tell which particular keys are associated with a multi sig address?
financial freedom (OP)
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
November 16, 2017, 04:36:19 AM
 #2

If i right click on on a multi-sig address i can view the public keys,
but how to find address/ private key?
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 16, 2017, 07:44:55 AM
 #3

In latest version of Electrum (v3.0.2)... Right click on the address tab ("View - Show Addresses" if you can't see the Addresses tab)... select "Details"

You'll see the address, public keys... and the "redeem script"... Copy/Paste that Redeem script into coinb.in "verify": https://coinb.in/#verify

It will decode it and show you the addresses that match the public keys.... you will then need to use the original wallets to get the private keys for the addresses.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
financial freedom (OP)
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
December 20, 2017, 09:16:20 AM
Last edit: July 21, 2020, 10:19:22 AM by mprep
 #4

In latest version of Electrum (v3.0.2)... Right click on the address tab ("View - Show Addresses" if you can't see the Addresses tab)... select "Details"

You'll see the address, public keys... and the "redeem script"... Copy/Paste that Redeem script into coinb.in "verify": https://coinb.in/#verify

It will decode it and show you the addresses that match the public keys.... you will then need to use the original wallets to get the private keys for the addresses.

To create a two out of two wallet, first Electrum creates a normal wallet (containing ordinary addresses), secondly it creates the multi-sig wallet (containing multi-sig addresses).

So to get the priv keys for normal addresses relating to the second wallet (currently containing only multi-sig addresses), I needed to import the seed into another ordinary wallet which then holds all the secondary keys needed.

Thanks for your help.



Seems my chickens have not hatched.

The multi-sig wallet has 88 addresses associated, whilst each of the two single signature wallets has 26 addresses.
It seems I need to find the other keys hidden within their wallets.

I must only use console for this?




Okay I cannot use console for success.
I have found some Multi-Sig addresses, that are from Single-Sig addresses that are not in wallets.
The Single-Sig addresses do not appear in either one of two wallets making up the Multi-Sig wallet.

I view all private keys, and some addresses are missing.

I try in console
getprivatekeys ('address')

and this does result in errors.

Somehow the wallet must find these addresses internally?



I see this must be sometimes problem.

If you create wallet, it has default of 20 addresses, if you use 50, them import seed to new wallet, it will only show 20 ?

My query is how to create large default of addresses.
I use

gap_limit=50

in console but is no help.



I have discovered assistance here in a different thread

How can I create a new address in Electrum wallets? By default, the addresses are defined in the wallet. Can not I create new addresses myself?

Electrum will automatically keep making new addresses as you start using your wallet. So don't worry. Just go with the flow.

If you want more than 20 addresses showing in your wallet then open the "console" tab and type the commands below into it. Press your enter key after writing each line.

wallet.storage.put('gap_limit', 50)
wallet.storage.write()

Restart your wallet and you should have 50 addresses showing instead of 20. Electrum will continue making new addresses as you use your wallet, but 50 will show up.

If you ever restore your wallet from seed you will need to retype those commands into the "console" tab to see your 50 addresses because 20 is the default.

If you increase the number of addresses showing to over 100 electrum might start slowing your computer down.


[moderator's note: consecutive posts merged]
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!