Bitcoin Forum
May 28, 2024, 10:07:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Retrieve private key from seed and pubblic address  (Read 180 times)
acydh.nx (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 20, 2018, 11:19:31 AM
 #1

Hi!
I generated a public address from a brand new wallet on electrum and I forgot to press save..
Then I received a payment on that address.
Is it possible that electrum can't check that particular address? Because it doesn't show any payment received, and on blockchain.info I can see it. I'm sure I gave a correct public address from that wallet.
If so, can I get the private key corresponding to that public address from my seed and unblock my funds?

Thanks in advance.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
July 20, 2018, 11:25:00 AM
 #2

Look at the bar at the bottom of the wallet. Does it say 0.00000000 (or something similar), "not connected" or "Syncronising"?

Could you suggest the address you sent your bitcoin to also (the address from electrum)?
joniboini
Legendary
*
Offline Offline

Activity: 2198
Merit: 1793



View Profile WWW
July 20, 2018, 11:32:54 AM
 #3

Hi!
I generated a public address from a brand new wallet on electrum and I forgot to press save..
Then I received a payment on that address.

Just wanted to be clear, what exactly did you forget to save? The seed, or the wallet address?
Did you log in again using the same seed you used to create the public address before?

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
July 20, 2018, 11:33:03 AM
 #4

To check whether your wallet does hold the private key to the address, enter the following command into the console ('View' -> 'Show Console' -> 'Console'-tab):

Code:
ismine("Your_Address_Here")
This will return true or false

To export the private key, enter:

Code:
getprivatekeys("Your_Address_Here")


jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
July 20, 2018, 11:37:06 AM
 #5

To check whether your wallet does hold the private key to the address, enter the following command into the console ('View' -> 'Show Console' -> 'Console'-tab):

Code:
ismine("Your_Address_Here")
This will return true or false

To export the private key, enter:

Code:
getprivatekeys("Your_Address_Here")



Even though you asked for the private key OP, I don't think you'll want it as it will make your coins less secure and you should try and get the amount to show in your wallet before trying to export the private key (unlsee it's a small amount - to you - that you're trying to move).
acydh.nx (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 20, 2018, 12:10:48 PM
 #6

ismine function returns false...
So nothing, I was soooo sure, but wrong -_-

Thanks everybody for the help!
Thirdspace
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 738


Mixing reinvented for your privacy | chipmixer.com


View Profile
July 20, 2018, 01:22:15 PM
 #7

Then I received a payment on that address.
---snip---
I'm sure I gave a correct public address from that wallet.
this sounds like a problem with your pc getting infected by clipboard virus
if you have generated an address, it should be available on receiving address list
is that the same address you used to receive a payment?

if you believe you copy-pasted the correct address to receive the payment,
do a simple test... copy the receiving address then paste it somewhere, for eg. on notepad
if the pasted address is different than copied address then your pc has clipboard virus

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
July 20, 2018, 01:33:16 PM
 #8

It's also quite possible that you're just looking at the wrong "wallet"... Electrum allows you to have multiple wallet files.

Use: "File -> Open" from the Electrum menus... it will open up your "wallets" folder and you'll be able to see if you have multiple wallets. If you do, try opening each one and see if you can find your address and/or coins.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
rpstatic
Jr. Member
*
Offline Offline

Activity: 53
Merit: 7


View Profile
July 25, 2018, 08:33:31 AM
 #9

ismine function returns false...
So nothing, I was soooo sure, but wrong -_-

Thanks everybody for the help!

I assume the function look up your address only in the listed ones and therefore you will get false as result. You could try to create a raw transaction and let electrum only sign it for you.

Just an idea, don't know if it will work.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
July 25, 2018, 10:57:23 PM
 #10

ismine function returns false...
So nothing, I was soooo sure, but wrong -_-

Thanks everybody for the help!

I assume the function look up your address only in the listed ones and therefore you will get false as result. You could try to create a raw transaction and let electrum only sign it for you.

Just an idea, don't know if it will work.

Resizing the "gap_limit" if probably a better way to go tbh. Changing it to 100/200 and seeing if that same code returns false would probably do better.
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!