I get a huge amount of string like this:
"scriptPubKey": "76a91474add11bbac1a5818aa3f64dc3f7bc8cc931a09f88ac",
"value": 6.4e-05
So now? Why i can't use the web utility as that user explained in the other topic?
It's normal, they are all the transactions that your wallet stores
For it to be more practical, do this:
python pywallet.py --dumpwallet --dumpwithbalance --datadir=/path/to/wallet --wallet=wallet.dat > keys.txt
This put all the text in the file keys.txt
Then open keys.txt
In the beginning of the file you'll see the keys but now each one will have a "balance" parameter
Most of them will have "Never used", you can avoid to import them in Electrum
On the other hand, all the addresses that have something else than "Never used" must be imported
Example of what you'll get:
{
"addr": "1EuK1VCzdyGzXgk1AnJswC1Y46dCyyqyXW",
"balance": "Never used",
"compressed": true,
"encrypted_privkey": "43e93c600c4e76eecbdc1311d09713234dc1c8c3e37067383f74e910afd6321f989c9a49dd73f018e76d2e0f1d759f1d",
"pubkey": "03feb65c4b3a2f163e991803e47b28231c2b62366814c08ed816b1aa150e856fc0",
"reserve": 1
},
{
"addr": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
"balance": "64.19778513",
"compressed": false,
"encrypted_privkey": "36e537b86cf0c55966ffbd776edd4e1b4922187d12b3f3bb39833d2776c97bd6cde814750e8e785d7f75a666e52234b8",
"pubkey": "04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f",
"reserve": 0
},