Pages:
Author

Topic: Bitcoin chai re-import doesn't show any bslanace - page 2. (Read 3253 times)

legendary
Activity: 1386
Merit: 1002
OK. Easy way, or not. First check if you have curl installed.
Open a Terminal and type curl and see if it gives you a positive answer. If you don't have the curl libraries maybe it's best to continue with pywallet Wink

If you have curl, maybe you want to try this, instead of installing more stuff. Even if you don't have curl and won't use it, maybe it will be useful to someone else Grin

Open your bitcoin.conf file and put this inside

Code:
rpcuser=
rpcpassword=
server=1
replace and with a username and password of your choice, ofcourse.

Start Bitcoin-qt in the normal way and it will start as a server.

Open a Terminal and type
Code:
curl --user --data-binary '{"method": "dumpprivkey", "params": ["
"] }' http://127.0.0.1:8332/

replace with the username you set on the bitcoin.conf file and
with the address for which you want to get the private key

Press enter. It will prompt you for the password you set on the bitcoin.conf file. Write it and press enter.
Voilá, it will answer with the private key for the address.

Repeat the Terminal steps for each address.

legendary
Activity: 1288
Merit: 1227
Away on an extended break
well it's asking me to isntall BSDBB now so we'll neeed to get that on

and the readme for pywallt does mention deump wallet to json so the keyy should be inthere you'd thing

Install this : http://www.python.org/getit/releases/2.7/#download as osx's python is usually old (unless you're running lion though) for the BSDBB.

Code:
Mac OS X:
 1. Install MacPorts from http://www.macports.org/
 2. sudo port install python27 py27-twisted py27-pip py-bsddb python_select
 3. sudo port select --set python python27
 4. sudo easy_install ecdsa

run::

pywallet.py --dumpwallet --datadir=(location)
newbie
Activity: 14
Merit: 0
well it's asking me to isntall BSDBB now so we'll neeed to get that on

and the readme for pywallt does mention deump wallet to json so the keyy should be inthere you'd thing
legendary
Activity: 1386
Merit: 1002

If you run it in server mode, I don't think you can pass it commands directly without the curl scheme or json-rpc calls ...I've yet to fire up my mac though so I could be wrong.


You can in Linux and Windows for sure. No Curl or json-rpc needed. On Mac...
Found the answer http://bitcoin.stackexchange.com/questions/2570/bitcoin-qt-command-line-control-on-mac
You really need to pass rpc commands with curl, like you said.

Time for you to install all the pywallet dependencies, hoonius. Can't find any rpc command or at least an example of it for dumpprivkey.
legendary
Activity: 1288
Merit: 1227
Away on an extended break
w2ell it's all good practice casue i'm getting sick of OSX and moving more to linux so all this bitcoind info is great also

I checked a few of the addressees and there are coins in them

don;t i nee to extract this private ket first though?
Extract the keys first, yes. Either by psy's way or pywallet will do. Then go make an account at blockchain.info, import the keys there, send the coins to your new wallet.
newbie
Activity: 14
Merit: 0
w2ell it's all good practice casue i'm getting sick of OSX and moving more to linux so all this bitcoind info is great also

I checked a few of the addressees and there are coins in them

don;t i nee to extract this private ket first though?
legendary
Activity: 1288
Merit: 1227
Away on an extended break
and no bitcoind for OSX as far as i can see.  Where would it normally exist in linux?

There is no bitcoind binary. You must start bitcoin-qt from the command line with the server flag, as John exemplified here https://bitcointalksearch.org/topic/m.974150. Leave that terminal open and open a new Terminal window. From the new terminal window you can pass it bitcoind commands as if bitcoind was running.

To dump a private key the syntax is (at least on linux, not sure if in Mac any other gimmick is needed)
Code:
bitcoind dumpprivkey

replace
with the address for which you want to get the private key
If you run it in server mode, I don't think you can pass it commands directly without the curl scheme or json-rpc calls ...I've yet to fire up my mac though so I could be wrong.

hoonius,
is the coins in the 20 addresses already? If blockchain.info shows they're in, and your bitcoin client says not, then just dump the keys to online wallet, and send the balance to new wallet .
legendary
Activity: 1386
Merit: 1002
and no bitcoind for OSX as far as i can see.  Where would it normally exist in linux?

There is no bitcoind binary. You must start bitcoin-qt from the command line with the server flag, as John exemplified here https://bitcointalksearch.org/topic/m.974150. Leave that terminal open and open a new Terminal window. From the new terminal window you can pass it bitcoind commands as if bitcoind was running.

To dump a private key the syntax is (at least on linux, not sure if in Mac any other gimmick is needed)
Code:
bitcoind dumpprivkey

replace
with the address for which you want to get the private key
newbie
Activity: 14
Merit: 0
and no bitcoind for OSX as far as i can see.  Where would it normally exist in linux?
newbie
Activity: 14
Merit: 0
Curl commands? Where did you get that idea, John?

Usage:
Quote
bitcoind [options]                     
 bitcoind [options] [params]  Send command to -server or bitcoind
 bitcoind [options] help                List commands
 bitcoind [options] help       Get help for a command
Source: https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments

BTW, hoonius, you haven't answered my question above.
Are you sure Bitcoinfog already sent you the coins?

Also, very important thing that sometimes get overlooked:
Before messing with your wallet.dat in any way, please do a backup to a safe place where you can grab it later if something goes wrong Grin

yes, the balance on that address is zero so coins were alrerady sent out
legendary
Activity: 1288
Merit: 1227
Away on an extended break
Curl commands? Where did you get that idea, John?

Usage:
Quote
bitcoind [options]                    
 bitcoind [options] [params]  Send command to -server or bitcoind
 bitcoind [options] help                List commands
 bitcoind [options] help      Get help for a command
Source: https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments

If I'm not wrong, I remember that on OSX you'll have to compile your own bitcoind as it's not included despite sourceforge claiming so when I ran Bitcoin on my Mac on Jan. I might be wrong now, as a new version of bitcoin might include the bitcoind.

Edit: The lack of bitcoind in OSX is widely documented: https://bitcointalksearch.org/topic/missing-mac-os-x-bitcoind-54730
https://bitcointalksearch.org/topic/bitcoind-on-a-mac-snow-leopard-21956
legendary
Activity: 1386
Merit: 1002
Curl commands? Where did you get that idea, John?

Usage:
Quote
bitcoind [options]                     
 bitcoind [options] [params]  Send command to -server or bitcoind
 bitcoind [options] help                List commands
 bitcoind [options] help       Get help for a command
Source: https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments

BTW, hoonius, you haven't answered my question above.
Are you sure Bitcoinfog already sent you the coins?

Also, very important thing that sometimes get overlooked:
Before messing with your wallet.dat in any way, please do a backup to a safe place where you can grab it later if something goes wrong Grin
legendary
Activity: 1288
Merit: 1227
Away on an extended break
ok, so i got both the old wallet.dat, the old-old walet.dat safely tucked away


Should i just re-install and start afresh, i have all the addresses including the defulats, but i didn;t use that for the transfer so not sure if this is required?

or is the server version gonna be faster? looks like a double bounty as well, yo've both been very helpful

Just get the privatekeys for the old wallet.dat either by psy's method (running as server and using dumpprivkey), or by using pywallet (https://bitcointalksearch.org/topic/pywallet-22-manage-your-wallet-update-required-34028), and load the keys to a online wallet like blockchain.info. Send everything in the addresses to the new wallet.dat, and everything should be fine.
newbie
Activity: 14
Merit: 0
ok, so i got both the old wallet.dat, the old-old walet.dat safely tucked away


Should i just re-install and start afresh, i have all the addresses including the defulats, but i didn;t use that for the transfer so not sure if this is required?

or is the server version gonna be faster? looks like a double bounty as well, yo've both been very helpful
legendary
Activity: 1288
Merit: 1227
Away on an extended break
Problem is the coins from the old addresses have been sent to bitcoinfog already, and bitcoinfog have sent the coins to the 20 addresses. Have bitcoinfog completed the sending yet? If yes, you can easily use pywallet (https://bitcointalksearch.org/topic/pywallet-22-manage-your-wallet-update-required-34028) to get the privatekeys of the 20 addresses, and manually import them to blockchain.info's online wallet. Reinstall the bitcoin client, and generate a new wallet. Use blockchain.info's online wallet to send all the coins to your new wallet.

He can just run bitcoin-qt as a server and use the dumpprivkey command if all he needs is the private key.
Just like he can import the private keys with importprivkey.
No need for pywallet to do just that Wink

as a server?  im confused, thought it was just a client

can this be down on the osx version?

I'll suggest not to as you'll need to send curl commands to it.
To run as server, use:

Code:
open Bitcoin-Qt.app --args -server

legendary
Activity: 1386
Merit: 1002
Problem is the coins from the old addresses have been sent to bitcoinfog already, and bitcoinfog have sent the coins to the 20 addresses. Have bitcoinfog completed the sending yet? If yes, you can easily use pywallet (https://bitcointalksearch.org/topic/pywallet-22-manage-your-wallet-update-required-34028) to get the privatekeys of the 20 addresses, and manually import them to blockchain.info's online wallet. Reinstall the bitcoin client, and generate a new wallet. Use blockchain.info's online wallet to send all the coins to your new wallet.

He can just run bitcoin-qt as a server and use the dumpprivkey command if all he needs is the private key.
Just like he can import the private keys with importprivkey.
No need for pywallet to do just that Wink
Okay, I'm used to old pywallet though.  Grin
However, he is using OSX, which I don't think has bitcoind, and therefore no commandline support yet IMO. Pywallet can work regardless of the system so I'm more inclined to use that.

There is no bitcoind but you can run bitcoin-qt with the -server flag which is the same. It was already like this on the 0.3 version, and it works regardless of the OS Wink
Or so I've been told Tongue
legendary
Activity: 1288
Merit: 1227
Away on an extended break
Problem is the coins from the old addresses have been sent to bitcoinfog already, and bitcoinfog have sent the coins to the 20 addresses. Have bitcoinfog completed the sending yet? If yes, you can easily use pywallet (https://bitcointalksearch.org/topic/pywallet-22-manage-your-wallet-update-required-34028) to get the privatekeys of the 20 addresses, and manually import them to blockchain.info's online wallet. Reinstall the bitcoin client, and generate a new wallet. Use blockchain.info's online wallet to send all the coins to your new wallet.

so which wallet file should be in place, the old one where addresses were created, or the new one from the later version i instsalled?

For the new installation, a new wallet is needed as your old wallet (which were not showing the coins properly) should be corrupt. Just make sure to BACKUP ALL YOUR PREVIOUS WALLETS first!
newbie
Activity: 14
Merit: 0
Problem is the coins from the old addresses have been sent to bitcoinfog already, and bitcoinfog have sent the coins to the 20 addresses. Have bitcoinfog completed the sending yet? If yes, you can easily use pywallet (https://bitcointalksearch.org/topic/pywallet-22-manage-your-wallet-update-required-34028) to get the privatekeys of the 20 addresses, and manually import them to blockchain.info's online wallet. Reinstall the bitcoin client, and generate a new wallet. Use blockchain.info's online wallet to send all the coins to your new wallet.

He can just run bitcoin-qt as a server and use the dumpprivkey command if all he needs is the private key.
Just like he can import the private keys with importprivkey.
No need for pywallet to do just that Wink

as a server?  im confused, thought it was just a client

can this be down on the osx version?
legendary
Activity: 1288
Merit: 1227
Away on an extended break
Problem is the coins from the old addresses have been sent to bitcoinfog already, and bitcoinfog have sent the coins to the 20 addresses. Have bitcoinfog completed the sending yet? If yes, you can easily use pywallet (https://bitcointalksearch.org/topic/pywallet-22-manage-your-wallet-update-required-34028) to get the privatekeys of the 20 addresses, and manually import them to blockchain.info's online wallet. Reinstall the bitcoin client, and generate a new wallet. Use blockchain.info's online wallet to send all the coins to your new wallet.

He can just run bitcoin-qt as a server and use the dumpprivkey command if all he needs is the private key.
Just like he can import the private keys with importprivkey.
No need for pywallet to do just that Wink
Okay, I'm used to old pywallet though.  Grin
However, he is using OSX, which I don't think has bitcoind, and therefore no commandline support yet IMO. Pywallet can work regardless of the system so I'm more inclined to use that.
newbie
Activity: 14
Merit: 0
Problem is the coins from the old addresses have been sent to bitcoinfog already, and bitcoinfog have sent the coins to the 20 addresses. Have bitcoinfog completed the sending yet? If yes, you can easily use pywallet (https://bitcointalksearch.org/topic/pywallet-22-manage-your-wallet-update-required-34028) to get the privatekeys of the 20 addresses, and manually import them to blockchain.info's online wallet. Reinstall the bitcoin client, and generate a new wallet. Use blockchain.info's online wallet to send all the coins to your new wallet.

so which wallet file should be in place, the old one where addresses were created, or the new one from the later version i instsalled?
Pages:
Jump to: