forked from jackjack-jj/pywallet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
80 lines (66 loc) · 3.4 KB
/
Copy pathREADME
File metadata and controls
80 lines (66 loc) · 3.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
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
--passphrase=PASSPHRASE
passphrase for the encrypted wallet
--dumpwallet dump wallet in json format
--dumpwithbalance includes balance of each address in the json dump,
takes about 2 minutes per 100 addresses
--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
--multidelete=MULTIDELETE
deletes data in your wallet, according to the file
provided
--balance=KEY_BALANCE
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
recov_device
--recov_device=RECOV_DEVICE
device to read (e.g. /dev/sda1 or E: or a file)
--recov_size=RECOV_SIZE
number of bytes to read (e.g. 20Mo or 50Gio)
--recov_outputdir=RECOV_OUTPUTDIR
output directory where the recovered wallet will be
put
--clone_watchonly_from=CLONE_WATCHONLY_FROM
path of the original wallet
--clone_watchonly_to=CLONE_WATCHONLY_TO
path of the resulting watch-only wallet
--dont_check_walletversion
don't check if wallet version > 81000 before running
(WARNING: this may break your wallet, be sure you know
what you do)
--wait=NSECONDS wait NSECONDS seconds before launch
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