Bitcoin Forum
October 21, 2017, 11:45:11 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How to test restore  (Read 661 times)
waxwing
Sr. Member
****
Offline Offline

Activity: 469


View Profile
May 10, 2013, 09:34:08 AM
 #1

How can I check that restoring from the seed would work, without disrupting my currently existing wallet? Assuming I only have one computer to work with (although of course I have USB drives available).
Sorry if it's a stupid question, but I couldn't find a direct reference to it anywhere.

PGP fingerprint 4668 9728 A9F6 4B39 1FA8 71B7 B3AE 09F1 E9A3 197A (use email to contact)
1508629511
Hero Member
*
Offline Offline

Posts: 1508629511

View Profile Personal Message (Offline)

Ignore
1508629511
Reply with quote  #2

1508629511
Report to moderator
1508629511
Hero Member
*
Offline Offline

Posts: 1508629511

View Profile Personal Message (Offline)

Ignore
1508629511
Reply with quote  #2

1508629511
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508629511
Hero Member
*
Offline Offline

Posts: 1508629511

View Profile Personal Message (Offline)

Ignore
1508629511
Reply with quote  #2

1508629511
Report to moderator
1508629511
Hero Member
*
Offline Offline

Posts: 1508629511

View Profile Personal Message (Offline)

Ignore
1508629511
Reply with quote  #2

1508629511
Report to moderator
1508629511
Hero Member
*
Offline Offline

Posts: 1508629511

View Profile Personal Message (Offline)

Ignore
1508629511
Reply with quote  #2

1508629511
Report to moderator
Tuxavant
Hero Member
*****
Offline Offline

Activity: 784

Bitcoin Mayor of Las Vegas


View Profile WWW
May 10, 2013, 01:57:06 PM
 #2

Overview:

sign a message with your existing copy of your wallet. keep this text file handy.
restore your wallet to a new wallet file.
using the restored wallet, verify the message signature.

If you're using linux, I can provide you a script.

Tachikoma
Hero Member
*****
Offline Offline

Activity: 938



View Profile WWW
May 13, 2013, 10:32:03 AM
 #3

You can restore the same seed in a different wallet by using the -w flag. On linux: electrum -w ~/.electrum/newwallet.dat

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
waxwing
Sr. Member
****
Offline Offline

Activity: 469


View Profile
May 14, 2013, 05:29:56 PM
 #4

Thanks for the suggestions. I will try it out tonight.

PGP fingerprint 4668 9728 A9F6 4B39 1FA8 71B7 B3AE 09F1 E9A3 197A (use email to contact)
waxwing
Sr. Member
****
Offline Offline

Activity: 469


View Profile
May 14, 2013, 05:56:21 PM
 #5

Finding it difficult..
In the GUI I can see a list of commands on the console (using help()), but I can't find any documentation on how to use those commands. So for example I see a command signmessage, but I have no idea what its arguments should be (apparently there should be 3).

Also I'm not sure how to get a command line version of Electrum to work on my Windows machine. If I cd to the electrum exe it just opens the GUI or fails silently when I try to pass it arguments.

Should I just go to the source on github to look for documentation? The main website seems to just have a few brief descriptions of certain actions.

PGP fingerprint 4668 9728 A9F6 4B39 1FA8 71B7 B3AE 09F1 E9A3 197A (use email to contact)
Tuxavant
Hero Member
*****
Offline Offline

Activity: 784

Bitcoin Mayor of Las Vegas


View Profile WWW
May 14, 2013, 06:02:22 PM
 #6

I just recently updated the help output with more details on the usage. It has not yet been pushed to a new release, so you'll have to pull down the current master to make use of it.

waxwing
Sr. Member
****
Offline Offline

Activity: 469


View Profile
May 14, 2013, 06:07:02 PM
 #7

OK thanks. Just quick question though, what address should I use as the first argument to signmessage?

Edit: it's OK I figured out how sign and verify works by looking at the source Smiley

Now on to the next bit..

PGP fingerprint 4668 9728 A9F6 4B39 1FA8 71B7 B3AE 09F1 E9A3 197A (use email to contact)
Tuxavant
Hero Member
*****
Offline Offline

Activity: 784

Bitcoin Mayor of Las Vegas


View Profile WWW
May 14, 2013, 06:08:26 PM
 #8

Code:
$ ./electrum help signmessage
Sign a message with a key
Syntax: signmessage <address> <message>
If you want to lead or end a message with spaces, or want double spaces inside the message make sure you quote the string. I.e. " Hello  This is a weird String "

waxwing
Sr. Member
****
Offline Offline

Activity: 469


View Profile
May 14, 2013, 06:28:44 PM
 #9

Right, thanks. In the console (the console inside the GUI, not the command line) I find the restore command doesn't work - it's not recognised even though it's listed under help().

I'm trying to create a new wallet from seed. I'll try the -w flag recommended above.

PGP fingerprint 4668 9728 A9F6 4B39 1FA8 71B7 B3AE 09F1 E9A3 197A (use email to contact)
waxwing
Sr. Member
****
Offline Offline

Activity: 469


View Profile
May 14, 2013, 06:34:43 PM
 #10

Yes, using electrum -w newwallet.dat worked well.
Thanks to both of you - I feel a bit safer and I also learned something Smiley

PGP fingerprint 4668 9728 A9F6 4B39 1FA8 71B7 B3AE 09F1 E9A3 197A (use email to contact)
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!