You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
2.0 KiB

5 years ago
# wack - Wallet Ack
3 years ago
:fire: Inspired by Ack :fire: this is wallet ack (wack). It can read any Bitcoin
5 years ago
(or compatible fork) wallet.dat file and tell you lots of stuff about it,
allow you to search it, perform forensic analysis on corrupt files and
various other things.
3 years ago
Here is a typical HUSH wallet.dat :
5 years ago
$ ./wack
=====Wallet Key Stats=====
tx 4379
keymeta 181
key 181
pool 101
name 97
purpose 97
watchs 66
zkeymeta 25
zkey 25
version 1
orderposnext 1
minversion 1
defaultkey 1
bestblock 1
witnesscachesize 1
Total: 5158 keys in 15 key types
3 years ago
This particular wallet came from a Hush 2.0 node. You can tell it is not a BTC
mainnet wallet because those do not have things such as a `zkey`, which is the private
key of a zaddr.
5 years ago
# CLI Arguments
By default, wack reads a wallet.dat in the current directory. To specify a different
3 years ago
location, give it as an argument. For example, the default location of a Bitcoin wallet
5 years ago
on OS X:
3 years ago
./wack ~/Library/Application\ Support/Bitcoin/wallet.dat
5 years ago
# Security
Never show the output of this program to anyone, unless you know exactly what it means!
This program has read-only access to the wallet it opens, the code cannot write
to the wallet.dat in any way. In fact, the Perl library we use does not support
writing to the kind of BerkeleyDB format wallet.dat is in, our library limits
us to read-only access.
You should read and understand every line in wack before you run it on a wallet
that has any value.
# Compatible Coins
* Bitcoin
3 years ago
* Hush
5 years ago
* Zcash
* Komodo + all asset chains
* Any codebase which uses BTC wallet.dat format
Currently Monero/CryptoNite wallets are not supported, but that feature may
be implemented in the future. Patches welcome!
# License
GPLv3