Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Amadues on October 06, 2016, 11:27:04 AM



Title: how I can test some wallet/priv key?
Post by: Amadues on October 06, 2016, 11:27:04 AM
I have some wallet stored in my pc (from old txs and other stuff...like demo/study purpose).

I am seeking a way to test with multibit (just load and see if they are empty, if they have a password ecc...)

What is the fastest way to find in a MAC *.wallet file and load in multibit (or even other sw/service?)


Title: Re: how I can test some wallet/priv key?
Post by: altcoinhosting on October 06, 2016, 11:30:46 AM
Probably something like find / -iname "*.wallet" started from the terminal to find old wallets, i'm not sure if there are terminal command available so you can pipe the output of your find to multibit and automatically open or check those wallets (tbh, i quickly browsed the multibit FAQ, and couldn't find any way to give a wallet file as an option when opening multibit)


Title: Re: how I can test some wallet/priv key?
Post by: Amadues on October 06, 2016, 11:36:26 AM
Probably something like find / -iname "*.wallet" started from the terminal to find old wallets, i'm not sure if there are terminal command available so you can pipe the output of your find to multibit and automatically open or check those wallets (tbh, i quickly browsed the multibit FAQ, and couldn't find any way to give a wallet file as an option when opening multibit)

There is any way to open automatically these wallet directly in multibit sw??
or other sw/service also online?


Title: Re: how I can test some wallet/priv key?
Post by: altcoinhosting on October 06, 2016, 11:43:18 AM
Probably something like find / -iname "*.wallet" started from the terminal to find old wallets, i'm not sure if there are terminal command available so you can pipe the output of your find to multibit and automatically open or check those wallets (tbh, i quickly browsed the multibit FAQ, and couldn't find any way to give a wallet file as an option when opening multibit)

There is any way to open automatically these wallet directly in multibit sw??
or other sw/service also online?

I've quickly browsed both multibit classic and multibit HD help, but couldn't find command line parameters, or configuration file descriptions...
https://multibit.org/help/hd0.4/contents.html
https://multibit.org/help/v0.5/help_contents.html

I suppose you are using multibit classic (since you're talking about old wallets), so you can browse the help section yourself, or ask this question in this subboard: https://bitcointalk.org/index.php?board=99.0


Title: Re: how I can test some wallet/priv key?
Post by: altcoinhosting on October 06, 2016, 12:35:16 PM
You can try to sign a message with your private keys.


I think you didn't understand OP's question... He's asking if there's an easy way to find all *.wallet files on his mac and open them up, test if they have a password and if there's still some unspent inputs for the addresses contained in these wallets... It has little or nothing to do with signing messages i'm afraid.

@OP: or am i missing the point myself, and were you asking about how to import/export/sign with certain private keys???


Title: Re: how I can test some wallet/priv key?
Post by: achow101 on October 06, 2016, 12:36:05 PM
If you are using MultiBit HD, it is not possible to create the wallet files easily by hand. You can't import keys into MultiBit HD. If you are using MultiBit Classic, then make a text file with the following format for each key, one on each line:
Code:
<key> <timestamp>
The <timestamp> is the ISO 8601 timestamp including the century. It should look something like 2016-10-06T21:03:15Z. That timestamp is in UTC and is used as the starting point to start scanning for your transactions.

Save that file as a .key file and then you can import it to MultiBit Classic.


Title: Re: how I can test some wallet/priv key?
Post by: Amadues on October 06, 2016, 01:35:14 PM
If you are using MultiBit HD, it is not possible to create the wallet files easily by hand. You can't import keys into MultiBit HD. If you are using MultiBit Classic, then make a text file with the following format for each key, one on each line:
Code:
<key> <timestamp>
The <timestamp> is the ISO 8601 timestamp including the century. It should look something like 2016-10-06T21:03:15Z. That timestamp is in UTC and is used as the starting point to start scanning for your transactions.

Save that file as a .key file and then you can import it to MultiBit Classic.

thanks chow for this technical explanation, I will try this solution (and I hope my btc skills are enough good to create / and use this file)