NAME

Business::HashCash - Accept HashCash payments online

VERSION

$Revision: 1.004 $
$Date: Sat Oct 27 21:37:07 PDT 2018 $

SYNOPSIS

use Business::HashCash;

my $bizhc = new Business::HashCash (Stash => '/tmp/bizhc.db',
                                    Vaults => '/tmp/vaults');

print 'Please input HashCash coins for $amount, and press <enter>';
my $coins = readline(*STDIN);

my $verified = $bizhc->verify($coins);

print $verified ? "Thanks for your order.\n" : "Error: coins failed verification\n";

CONSTRUCTOR

new

METHODS

verify

AUTHOR

Ashish Gulhati, <biz-hashcash at hash.neo.tc>

BUGS

Please report any bugs or feature requests to bug-business-hashcash at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Business-HashCash. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Business::HashCash

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright (c) Ashish Gulhati.

This software package is Open Software; you can use, redistribute, and/or modify it under the terms of the Open Artistic License 2.0.

Please see http://www.opensoftwr.org/oal20.txt for the full license terms, and ensure that the license grant applies to you before using or modifying this software. By using or modifying this software, you indicate your agreement with the license terms.