Catalyst-Model-Bitcoin
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Catalyst/Model/Bitcoin.pm view on Meta::CPAN
has wallet => (is => 'rw');
sub new {
my $self = shift->next::method(@_);
my $class = ref($self);
my ($c, $arg_ref) = @_;
croak "->config->{uri} must be set for $class\n"
unless $self->{uri};
$self->api( Finance::Bitcoin::API->new( endpoint => $self->{uri} ) );
$self->wallet( Finance::Bitcoin::Wallet->new( $self->api ) );
return $self;
}
sub find {
my ($self, $address) = @_;
my $address_object = Finance::Bitcoin::Address->new(
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.206 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )