CryptoTron::ClaimReward - Perl extension for use with the blockchain of the crypto coin Tron.
use CryptoTron::ClaimReward; # Set the public and private key. my $PublicKey = "4113661E105128E9918D50CC9F6ABD83DE10C302FC"; my $PrivateKey = "315763645E812CD269A326F6A59B971F31101BCB91190503B6C279B63D81A725"; # Get the response from claiming rewards. my $response = ClaimReward({ pubAddr => $PublicKey, privAddr => $PrivateKey }); # Print the response into the terminal window. print $response;
Claim rewards from the Tron blockchain.
Try::Catch
URI
LWP::UserAgent
JSON::PP
Dr. Peter Netz, <ztenretep@cpan.org>
Copyright (C) 2022 by Dr. Peter Netz
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.30.0 or, at your option, any later version of Perl 5 you may have available.
To install CryptoTron, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CryptoTron
CPAN shell
perl -MCPAN -e shell install CryptoTron
For more information on module installation, please visit the detailed CPAN module installation guide.