Bitcoin Forum
November 01, 2024, 10:22:48 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: Bitcoin chai re-import doesn't show any bslanace  (Read 3218 times)
hoonius (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
June 19, 2012, 11:51:24 AM
 #21

and no bitcoind for OSX as far as i can see.  Where would it normally exist in linux?
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
June 19, 2012, 11:54:55 AM
 #22

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://bitcointalk.org/index.php?topic=88477.msg974150#msg974150. 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 <address>

replace <address> with the address for which you want to get the private key
John (John K.)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1227


Away on an extended break


View Profile
June 19, 2012, 12:04:02 PM
 #23

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://bitcointalk.org/index.php?topic=88477.msg974150#msg974150. 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 <address>

replace <address> 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 .
hoonius (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
June 19, 2012, 12:16:03 PM
 #24

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?
John (John K.)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1227


Away on an extended break


View Profile
June 19, 2012, 12:17:40 PM
 #25

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.
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
June 19, 2012, 12:30:38 PM
 #26


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.
hoonius (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
June 19, 2012, 12:46:36 PM
 #27

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
John (John K.)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1227


Away on an extended break


View Profile
June 19, 2012, 01:04:41 PM
 #28

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)
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
June 19, 2012, 01:12:24 PM
Last edit: June 19, 2012, 02:12:50 PM by psy
 #29

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=<username>
rpcpassword=<password>
server=1
replace <username> and <password> 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 <username> --data-binary '{"method": "dumpprivkey", "params": ["<address>"] }' http://127.0.0.1:8332/

replace <username> with the username you set on the bitcoin.conf file and <address> 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.

hoonius (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
June 19, 2012, 02:06:01 PM
 #30

i used to love using a fresh rebilt os,. now it can't fine MAKE

I have xcode 4.3.3 instralled, what gives?  i can't find in anywhere in that package




John (John K.)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1227


Away on an extended break


View Profile
June 19, 2012, 02:10:25 PM
 #31

i used to love using a fresh rebilt os,. now it can't fine MAKE

I have xcode 4.3.3 instralled, what gives?  i can't find in anywhere in that package






Why are you using xcode? You don't need to compile anything as far as I know...
hoonius (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
June 19, 2012, 02:16:05 PM
 #32

it'sthe error i get after the first lie in your post

Code:
 sudo port install python27 py27-twisted py27-pip py-bsddb python_select
Error:
Error: No valid Xcode installation is properly selected.
Error: Please use xcode-select to select an Xcode installation:
Error:     sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer # version 4.3.3
Error:
Error: Unable to open port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
John (John K.)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1227


Away on an extended break


View Profile
June 19, 2012, 02:17:50 PM
 #33

How you installed MacPorts? http://www.macports.org/
hoonius (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
June 19, 2012, 02:27:59 PM
 #34

MacPorts-2.1.1-10.7-Lion.pkg maybe i need a reboot


or just some skill
lol
John (John K.)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1227


Away on an extended break


View Profile
June 19, 2012, 03:22:41 PM
 #35

Try rebooting, but do you have bootcamp or any other OS installed? Type python in Terminal and post the results, which version on earth are you running?
John (John K.)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1227


Away on an extended break


View Profile
June 19, 2012, 03:38:21 PM
 #36

Have you tried the -rescan parameter? Try this with the old wallets in (the one with the 20 addresses that contain the coins.)

Code:
cd /Applications/Bitcoin-Qt.app/Contents/MacOS/
./Bitcoin-Qt -rescan
hoonius (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
June 19, 2012, 03:40:12 PM
 #37

it was missing the command line options form xcode, seems to be running through the install now
John (John K.)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1227


Away on an extended break


View Profile
June 19, 2012, 03:44:05 PM
 #38

Whew, that's a good thing to hear.  Cheesy
hoonius (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
June 19, 2012, 03:50:26 PM
 #39

right, it's exported a buntload of json, which is good i suppose


so, no i just make a new wallet, and add these to it using the variables from the file?
John (John K.)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1227


Away on an extended break


View Profile
June 19, 2012, 03:55:57 PM
 #40

Great, go make an account at http://blockchain.info/wallet , login and go to the import/export tab.

Paste the JSON in the 'Import Wallet' tab. Afterwards, send the balance to your new wallet address.
Pages: « 1 [2] 3 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!