Author

Topic: Importing a list of private keys (Read 1154 times)

legendary
Activity: 1904
Merit: 1074
July 29, 2014, 12:58:46 PM
#9
Thanks, I can also use this. Just wondering, what is available to read and convert QR codes in Windows to text files?

Drop me a PM pls.  Wink
legendary
Activity: 1316
Merit: 1000
July 28, 2014, 02:30:13 PM
#8
I found on another thread a reference to a RPC command "importwallet" although i can find no documentation about it anywhere so i am looking for a different approach.

How would a person import a list of private keys into Bitcoin QT through either debug window or Bitcoind? Not a single address but a long list of private keys.

I wrote a small script to restore altcoin wallets after a fork.

Essentially all it does is dump private keys and then import them in a new wallet.

https://github.com/ethought/PrivateKeyMover
staff
Activity: 4284
Merit: 8808
July 28, 2014, 09:34:39 AM
#7
Yup, that's how I came across it. It's a very helpful addition. It's just that the import format has to be reversed engineered from the dumpwallet file / the source code if you want to build your own file.
Ah, didn't realize thats what the question was. It's the multibit format.
hero member
Activity: 672
Merit: 504
a.k.a. gurnec on GitHub
July 28, 2014, 06:53:35 AM
#6
The documentation is the integrated online help. use the help rpc on any rpc.

Yup, that's how I came across it. It's a very helpful addition. It's just that the import format has to be reversed engineered from the dumpwallet file / the source code if you want to build your own file.
staff
Activity: 4284
Merit: 8808
July 27, 2014, 11:04:03 PM
#5
The documentation is the integrated online help. use the help rpc on any rpc.
hero member
Activity: 672
Merit: 504
a.k.a. gurnec on GitHub
July 27, 2014, 05:58:02 PM
#4
I found on another thread a reference to a RPC command "importwallet" although i can find no documentation about it anywhere so i am looking for a different approach.

How would a person import a list of private keys into Bitcoin QT through either debug window or Bitcoind? Not a single address but a long list of private keys.

Yeah it's not documented here where most of the other RPC commands are, but I thought I had already mostly answered you in the original thread over here. The only "official documentation" as far as I know is in the actual source code.

Or of course you could use one of the better documented APIs as bitsta recommended.
member
Activity: 72
Merit: 12
July 27, 2014, 05:39:55 PM
#3
I found on another thread a reference to a RPC command "importwallet" although i can find no documentation about it anywhere so i am looking for a different approach.

How would a person import a list of private keys into Bitcoin QT through either debug window or Bitcoind? Not a single address but a long list of private keys.

write a script (python, perl, bash) and use a loop which executes the rpc-command "importprivkey" on every privatekey inside your list. if you need any support, let me know.

regards


Bista that would be awesome, could you give me an example? like a .bat file or something with just a few spoofed keys that i could use as a template then i can just copy and paste the few hundred addresses i have left to import.
hero member
Activity: 518
Merit: 500
r00t-dev
July 27, 2014, 05:37:57 PM
#2
I found on another thread a reference to a RPC command "importwallet" although i can find no documentation about it anywhere so i am looking for a different approach.

How would a person import a list of private keys into Bitcoin QT through either debug window or Bitcoind? Not a single address but a long list of private keys.

write a script (python, perl, bash) and use a loop which executes the rpc-command "importprivkey" on every privatekey inside your list (list could be realized with loading an external file[containing the privkeys] into an array). if you need any support, let me know.

regards
member
Activity: 72
Merit: 12
July 27, 2014, 04:17:17 PM
#1
I found on another thread a reference to a RPC command "importwallet" although i can find no documentation about it anywhere so i am looking for a different approach.

How would a person import a list of private keys into Bitcoin QT through either debug window or Bitcoind? Not a single address but a long list of private keys.
Jump to: