Bitcoin Forum
November 08, 2024, 05:58:22 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Transferfing balance from Satoshi Client to Blockchain.info/wallet questions  (Read 5905 times)
Daily Anarchist (OP)
Hero Member
*****
Offline Offline

Activity: 614
Merit: 500



View Profile WWW
October 18, 2012, 04:09:43 AM
 #21


Now, back to another question, is there another way for me to transfer my wallet.dat balance to blockchain.info/wallet without having to use the Satoshi client?

Install pywallet, dump all your wallet private keys and import them to the blockchain.info/wallet
Instructions and link to source code: https://bitcointalk.org/index.php?topic=34028.0

Ugg. I can't even figure out how to install pywallet. The furthest I could get was downloading the python-2.7.2.msi file.  Sad

MSI? aren't you using Fedora? Linux install instructions are on the readme, on GitHub. MSI is a windows file

I'm failing to see where the instructions are for Fedora. Here is the entire READ.ME file:

Code:
[code]Requirements: Python 2.x, with bsddb and twisted packages

Usage: pywallet.py [options]

Options:
  --version show program's version number and exit
  -h, --help show this help message and exit
  --dumpwallet dump wallet in json format
  --importprivkey=KEY import private key from vanitygen
  --importhex KEY is in hexadecimal format
  --datadir=DATADIR wallet directory (defaults to bitcoin default)
  --wallet=WALLETFILE wallet filename (defaults to wallet.dat)
  --label=LABEL label shown in the adress book (defaults to '')
  --testnet use testnet subdirectory and address type
  --namecoin use namecoin address type
  --otherversion=OTHERVERSION
                        use other network address type, whose version is
                        OTHERVERSION
  --info display pubkey, privkey (both depending on the
                        network) and hexkey
  --reserve import as a reserve key, i.e. it won't show in the
                        adress book
  --balance=KEY_BALANCE
                        prints balance of KEY_BALANCE
  --web run pywallet web interface
  --port=PORT port of web interface (defaults to 8989)







Dependencies:

Debian-based Linux:
 aptitude install build-essential python-dev python-twisted python-bsddb3

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

Windows:
 1. Install Python 2.7
 2. Install Twisted 11.0.0 for Py2.7, then Zope.Interface (a .egg file) for Py2.7: http://twistedmatrix.com/trac/wiki/Downloads

 3. Untested, proposed by TeaRex: install Zope.Interface from http://www.lfd.uci.edu/~gohlke/pythonlibs

 If this doesn't work, you will have to install the egg file:

 3(32bit). http://pypi.python.org/pypi/setuptools#downloads to install setuptools
 3(64bit). http://pypi.python.org/pypi/setuptools#windows to download, then run ez_setup.py

 4. Go to C:\Python27\Scripts
 5. Run easy_install.exe zope.interface-3.6.4-py2.7-win-amd64.egg
[/code]

Discover anarcho-capitalism today!
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
October 18, 2012, 04:15:17 AM
Last edit: October 18, 2012, 04:27:51 AM by psy
 #22

there should be equivalent packages for fedora as the ones it lists for debian

To install on Fedora do
Code:
yum install make automake gcc gcc-c++ kernel-devel python-devel python-twisted python-bsddb3


Daily Anarchist (OP)
Hero Member
*****
Offline Offline

Activity: 614
Merit: 500



View Profile WWW
October 18, 2012, 04:20:24 AM
 #23

there should be equivalent packages for fedora as the ones it lists for debian


seth@LockBox:~$ sudo yum install build-essential
Loaded plugins: langpacks, presto, refresh-packagekit
No package build-essential available.
Error: Nothing to do
seth@LockBox:~$

Starting to have second thoughts about Fedora.  Sad

It's too bad too because I like Fedora more than Ubuntu. But Ubuntu is definitely more popular, so it gets the devs' attention.

Discover anarcho-capitalism today!
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
October 18, 2012, 04:28:34 AM
 #24

there should be equivalent packages for fedora as the ones it lists for debian


seth@LockBox:~$ sudo yum install build-essential
Loaded plugins: langpacks, presto, refresh-packagekit
No package build-essential available.
Error: Nothing to do
seth@LockBox:~$

Starting to have second thoughts about Fedora.  Sad

It's too bad too because I like Fedora more than Ubuntu. But Ubuntu is definitely more popular, so it gets the devs' attention.

I edited my post above. Check it and try Wink
Daily Anarchist (OP)
Hero Member
*****
Offline Offline

Activity: 614
Merit: 500



View Profile WWW
October 18, 2012, 04:39:22 AM
 #25

How did you know which packages to install?

And more importantly, what the heck do I do now? I have no idea how to use pywallet.

Discover anarcho-capitalism today!
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
October 18, 2012, 04:52:01 AM
 #26

How did you know which packages to install?

And more importantly, what the heck do I do now? I have no idea how to use pywallet.

I use Ubuntu on my laptop but all my webservers run CentOS, which also uses yum. Not the first time I had to search for yum packages using the debian names. Wink

First you'll need to prepare a couple things.
On your home user dir make 1 folder named pywallet and 1 folder named bitcoin

Inside the folder named bitcoin, insert a copy of your wallet.dat

Download pywallet from Github.
Extract the pywallet.py file to the pywallet folder you created previously. Check that you have the pywallet.py inside the folder and not on a sub-folder.

Now on a terminal do
Code:
cd pywallet
next
Code:
python pywallet.py --datadir=~/bitcoin --dumpwallet >> wallet.json.txt 

It should output a json with all your private keys, labels, etc.
You just need to import it on blockchain.info. It's a text file, you can open it and copy the contents to import. Not sure how the import procedure on blockchain.info works.

Tell me if you get any problem. Wrote this from memory. Maybe I forgot something.
Just remember to always work with a wallet.dat copy, not with the original one.
Daily Anarchist (OP)
Hero Member
*****
Offline Offline

Activity: 614
Merit: 500



View Profile WWW
October 18, 2012, 05:26:40 AM
 #27

Okay, I've got pywallet to work. Thank you very much!

Now I'm stuck again. In the blockchain wallet I cannot import more than 400 private keys. I have no idea what to do now. I'm really not hung up on keeping all of the transaction details and addresses. I just want my balance restored. Any idea?

Discover anarcho-capitalism today!
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
October 18, 2012, 05:31:52 AM
 #28

delete all empty addresses from the wallet?
Daily Anarchist (OP)
Hero Member
*****
Offline Offline

Activity: 614
Merit: 500



View Profile WWW
October 18, 2012, 05:34:51 AM
 #29

delete all empty addresses from the wallet?

Easier said than done. I have no idea what I'm looking at in that text.

Discover anarcho-capitalism today!
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
October 18, 2012, 01:53:21 PM
 #30

delete all empty addresses from the wallet?

Easier said than done. I have no idea what I'm looking at in that text.

I was saying delete them on blockchain.info, to be able to import more.
You'd also need to remove the ones imported previously from the json file, as not to import them again.
Daily Anarchist (OP)
Hero Member
*****
Offline Offline

Activity: 614
Merit: 500



View Profile WWW
October 18, 2012, 05:37:29 PM
 #31

delete all empty addresses from the wallet?

Easier said than done. I have no idea what I'm looking at in that text.

I was saying delete them on blockchain.info, to be able to import more.
You'd also need to remove the ones imported previously from the json file, as not to import them again.

I don't think that's going to work. I don't fully understand everything I'm looking at in the json file, but every time there is a value: there is actually a non-zero value in there. So, I think all of my private keys have some btc in them. Oh well. I'm just going to use another machine to install the Satoshi client on and then transfer them to blockchain. Thanks for all the help, though. It's been educational.

Discover anarcho-capitalism today!
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
October 18, 2012, 05:45:01 PM
Last edit: October 18, 2012, 06:06:58 PM by psy
 #32

delete all empty addresses from the wallet?

Easier said than done. I have no idea what I'm looking at in that text.

I was saying delete them on blockchain.info, to be able to import more.
You'd also need to remove the ones imported previously from the json file, as not to import them again.

I don't think that's going to work. I don't fully understand everything I'm looking at in the json file, but every time there is a value: there is actually a non-zero value in there. So, I think all of my private keys have some btc in them. Oh well. I'm just going to use another machine to install the Satoshi client on and then transfer them to blockchain. Thanks for all the help, though. It's been educational.

The wallet dump provided by pywallet doesn't give you the address balances, at least not on the part where it lists the pub and priv keys.
But the blockchain.info wallet gives you each address balance. You can simply archive the ones with no balance and delete them after archiving them, giving you leeway to import more addresses.
You'll just need to remove the previously imported addresses from the json file, as not to import them again.

For example, if you managed to import 399 addresses, giving that each address takes 6 lines on the json file you can easily calculate the beginning line and ending line of the addresses that were imported and delete all in between those lines, leaving only addresses which weren't imported the first time. Rinse and repeat until no more addresses left.

You must also take into account that the walletdump contains all transactions ever made from and to your addresses and your address book, and that part can safely be deleted before trying to import the private keys as it is not needed and only makes the json file bigger and more complicated for you to read.

Ofcourse all this may be a little over your head, and if it is, you better not mess much with it lol
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
October 22, 2012, 12:48:43 PM
 #33

Hey, have you tried this RPM here: http://www.openmamba.org/distribution/distromatic.html?tag=devel&pkg=bitcoin.i586 ?
It even has links to all the dependencies RPM's, so you should be safe it runs, even if you have to install every dependency seperately.
Daily Anarchist (OP)
Hero Member
*****
Offline Offline

Activity: 614
Merit: 500



View Profile WWW
October 22, 2012, 06:37:25 PM
 #34

Hey, have you tried this RPM here: http://www.openmamba.org/distribution/distromatic.html?tag=devel&pkg=bitcoin.i586 ?
It even has links to all the dependencies RPM's, so you should be safe it runs, even if you have to install every dependency seperately.

I started the process but it got halted because I needed a bunch of dependencies. Then I started to install the first dependency, and THAT needed a bunch of dependencies. Ha!

Thanks, but no thanks. I'll wait until the RPM gets put up on bitcoin.org's site. I've already transferred all of my coins to a blockchain wallet. So, I'm set for now. Thanks a bunch, though!

Discover anarcho-capitalism today!
Pages: « 1 [2]  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!