Creates a new contract instance
Parameters: contract_address ( Optional - only if the contract already exists ), contract_abi ( Required - https://solidity.readthedocs.io/en/develop/abi-spec.html ), from ( Optional - Address ) gas ( Optional - Integer gas ) gas_price ( Optional - Integer gasPrice )
Return: New contract instance
Ethereum::RPC::Client - Ethereum JSON-RPC Client
use Ethereum::RPC::Client; # Create Ethereum::RPC::Client object my $eth = Ethereum::RPC::Client->new( host => "127.0.0.1", ); my $web3_clientVersion = $eth->web3_clientVersion; # https://github.com/ethereum/wiki/wiki/JSON-RPC
This module implements in PERL the JSON-RPC of Ethereum https://github.com/ethereum/wiki/wiki/JSON-RPC
Bitcoin::RPC::Client
Binary.com <fayland@binary.com>
BUILDALL, BUILDARGS, DEMOLISHALL, does, meta
Copyright 2017- Binary.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Ethereum::RPC::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ethereum::RPC::Client
CPAN shell
perl -MCPAN -e shell install Ethereum::RPC::Client
For more information on module installation, please visit the detailed CPAN module installation guide.