Download HashCash

Executable packages of the HashCash vault and wallet:

macOS (x86): HashCash-1.122.dmg (57.4MB)

SHA256: 74c7b5fe5468975b94548360b886d4da4d07a41c0e4fcb381e11436999a6f5e0

Windows (x86): (28.1 MB)

SHA256: 4bd8787b211a96874cbdee86b57b9a5a5089e59ac916336ccbfe105b50817bce

NOTE: The vault's server code is written for Unix-ish environments and doesn't work well on Windows. It's still possible to try out the system using a test vault on a Windows machine, but it may be flaky, with connection errors and other issues. The wallet does work fine on Windows.

Try it out

First, start the vault. On its first run it will generate new keys, which will take a few seconds. Wait for the key generation to complete before starting the wallet, so the wallet can see the vault's keys.

The vault is pre-configured with a test Bitcoin address so you can buy HashCash worth 419600 Satoshi. After adding a 400 Satoshi fee, the wallet will ask you to send 420000 Satoshi to a specific address.


Instead, just click OK and your test vault will issue you 419600 Satoshi in HashCash coins. You can then export, import and exchange these coins. You won't be able to sell them as they're just test coins from your test vault.

Install from CPAN

If you're using any Unix-like operating system, the best way to get and install HashCash is from CPAN. At a root shell type:

cpan Crypt::HashCash

It's faster and easier to pre-install some of the required Perl modules using your OS's package manager prior to running the cpan command above. On OpenBSD, the following packages can be installed using pkg_add:

pkg_add p5-Wx p5-Crypt-RSA p5-DBD-SQLite p5-Math-BigInt-GMP p5-libwww p5-LWP-Protocol-https p5-GD p5-Crypt-RIPEMD160 p5-Digest-SHA1 p5-Test-Most p5-Exporter-Lite p5-Test-NoWarnings p5-Math-BaseCnv p5-Class-Load p5-Module-Build p5-HTTP-Lite p5-Params-Classify p5-CGI p5-Class-Loader p5-File-HomeDir p5-File-ShareDir-Install p5-Convert-ASCII-Armour p5-Crypt-Blowfish p5-Crypt-CBC p5-Data-Buffer p5-Digest-MD2 p5-Sort-Versions p5-Tie-EncryptedHash p5-Test-Pod-Coverage

On OpenBSD 6.5 and above, the p5-Wx and p5-Math-Pari packages are missing. They can be installed as below:

cpan Alien::wxWidgets

ldconfig -m /usr/local/libdata/perl5/site_perl/amd64-openbsd/Alien/wxWidgets/gtk_3_0_2_uni/lib/ /usr/local/lib /usr/X11R6/lib/

cpan Wx

cpan Math::Pari

On OpenBSD, the installation for Math::Prime::Util fails because of failing tests. Change to the module build directory (eg. .cpan/build/Math-Prime-Util-0.73-0/) and type:

make install

That should get the module installed, and then you should be able to install with:

cpan Crypt::HashCash

On Debian GNU/Linux the following packages can be installed using apt:

apt install libwx-perl libmath-bigint-gmp-perl libwww-perl libgd-perl libtest-most-perl libexporter-lite-perl libtest-nowarnings-perl libmath-base85-perl libclass-load-perl libmodule-build-perl libhttp-lite-perl libparams-classify-perl libdigest-sha-perl libcrypt-cbc-perl libcrypt-blowfish-perl libtie-encryptedhash-perl libdata-buffer-perl libconvert-ascii-armour-perl libdbi-perl libdbd-sqlite3

Once Crypt::HashCash is installed you can start a test vault as a regular user with: &

and the wallet with: