![]() |
![]()
| ![]() |
![]()
NAMEFinance::Bitcoin::Wallet - a bitcoin wallet SYNOPSISuse Finance::Bitcoin; my $uri = 'http://user:password@127.0.0.1:8332/'; my $wallet = Finance::Bitcoin::Wallet->new($uri); print "Have: " . $wallet->balance . "\n"; $wallet->pay($destination_address, $amount); print "Now have: " . $wallet->balance . "\n"; foreach my $address ($wallet->addresses) { print $address->label . "\n"; } DESCRIPTIONThis module is part of the high-level API for accessing a running Bitcoin instance.
BUGSPlease report any bugs to <http://rt.cpan.org/>. SEE ALSOFinance::Bitcoin, Finance::Bitcoin::Address. <http://www.bitcoin.org/>. AUTHORToby Inkster <tobyink@cpan.org>. COPYRIGHTCopyright 2010, 2011, 2013, 2014 Toby Inkster This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. DISCLAIMER OF WARRANTIESTHIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|