Author

Topic: How to test restore (Read 768 times)

sr. member
Activity: 469
Merit: 253
May 14, 2013, 01: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
sr. member
Activity: 469
Merit: 253
May 14, 2013, 01: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.
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
May 14, 2013, 01:08:26 PM
#8
Code:
$ ./electrum help signmessage
Sign a message with a key
Syntax: signmessage

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 "
sr. member
Activity: 469
Merit: 253
May 14, 2013, 01: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..
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
May 14, 2013, 01: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.
sr. member
Activity: 469
Merit: 253
May 14, 2013, 12: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.
sr. member
Activity: 469
Merit: 253
May 14, 2013, 12:29:56 PM
#4
Thanks for the suggestions. I will try it out tonight.
hero member
Activity: 938
Merit: 1000
May 13, 2013, 05: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
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
May 10, 2013, 08:57:06 AM
#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.
sr. member
Activity: 469
Merit: 253
May 10, 2013, 04: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.
Jump to: