Author

Topic: multiple wallet parser (Read 773 times)

hero member
Activity: 874
Merit: 1000
July 31, 2013, 07:54:34 PM
#8
Yes it would if it simply exported all private keys from all wallets and imported them into one big wallet.

Then if you actually do for some reason later want only some of the keys in some smaller wallet(s) you can export again.

Do you actually care which wallet has how much in it?

If so, maybe the script can use the wallet based 'accounts' system to label which addresses belonged to which old wallet.

But if all you really want is all the coins from all the wallets just export all keys from all of them then import that whole lot into one wallet.

-MarkM-



I would be perfectly fine to have all the keys in one wallet. IS there a limit on how many keys you can have in a wallet? If not then this sounds perfect. What's the best way to get the keys out and into another wallet - use the daemon?
legendary
Activity: 2940
Merit: 1090
July 30, 2013, 11:59:38 PM
#7
Yes it would if it simply exported all private keys from all wallets and imported them into one big wallet.

Then if you actually do for some reason later want only some of the keys in some smaller wallet(s) you can export again.

Do you actually care which wallet has how much in it?

If so, maybe the script can use the wallet based 'accounts' system to label which addresses belonged to which old wallet.

But if all you really want is all the coins from all the wallets just export all keys from all of them then import that whole lot into one wallet.

-MarkM-

hero member
Activity: 874
Merit: 1000
July 30, 2013, 11:55:56 PM
#6
heh guess not
hero member
Activity: 874
Merit: 1000
July 30, 2013, 08:46:37 PM
#5
I have a script that copies in the wallet and shutsdown/restarts the daemon with a rescan. Would your script be more efficient then this?
legendary
Activity: 2660
Merit: 1096
Simplemining.net Admin
July 30, 2013, 08:42:12 PM
#4
Well my issue is that I have 100s of primecoin wallets and I want to parse them Wink

oh, 100 of one coin Cheesy

1. you could use one wallet with multiple addresses but somehow you dont want this i suppose ?

then i could write script for you but it wont be 4 free Cheesy
PM me if you are interested
hero member
Activity: 874
Merit: 1000
July 30, 2013, 08:34:27 PM
#3
Well my issue is that I have 100s of primecoin wallets and I want to parse them Wink
legendary
Activity: 2660
Merit: 1096
Simplemining.net Admin
July 30, 2013, 08:33:38 PM
#2
try to run all coins-daemons at once in background
and then make a bash script like this:

Code:
#!/bin/bash
cd some_directory
echo "LTC:"
./litecoind getinfo | grep balance
echo "BTC"
./bitcoind getinfo | grep balance
etc ...
hero member
Activity: 874
Merit: 1000
July 30, 2013, 08:29:43 PM
#1
Anyone have a script/tool to parse 100s of wallets to see if there is any coins in them? I'm currently doing this via a loading a wallet file into a daemon, using rescan, checking balance and repeat. It seems very inefficient.
Jump to: