Skip to content
bitcoin wallet importer/exporter
Branch: master
Clone or download
Pull request Compare This branch is 4 commits ahead, 52 commits behind jackjack-jj:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Requirements: Python 2.x, with bsddb and twisted packages

Does not work with encrypted wallets yet. 

Usage: [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
                        import private keys from a file (one key on each line)
  --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
                        use other network address type, whose version is
  --info                display pubkey, privkey (both depending on the network) and
  --reserve             import as a reserve key, i.e. it won't show in the adress
                        prints balance of KEY_BALANCE
  --web                 run pywallet web interface
  --port=PORT           port of web interface (defaults to 8989)
  --recover             recover your deleted keys, use with recov_size and
                        device to read (e.g. /dev/sda1)
                        number of bytes to read (e.g. 20Mo or 50Gio)
                        output directory where the recovered wallet will be put


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

Mac OS X:
 1. Install MacPorts from
 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

 1. Install Python 2.7
 2. Install Twisted 11.0.0 for Py2.7, then Zope.Interface (a .egg file) for Py2.7:

 3. Untested, proposed by TeaRex: install Zope.Interface from

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

 3(32bit). to install setuptools
 3(64bit). to download, then run

 4. Go to C:\Python27\Scripts
 5. Run easy_install.exe zope.interface-3.6.4-py2.7-win-amd64.egg
You can’t perform that action at this time.