Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.2 KB

README.md

File metadata and controls

51 lines (31 loc) · 1.2 KB

contract

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

NAME

Ethereum::RPC::Client - Ethereum JSON-RPC Client

SYNOPSIS

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

DESCRIPTION

This module implements in PERL the JSON-RPC of Ethereum https://github.com/ethereum/wiki/wiki/JSON-RPC

SEE ALSO

Bitcoin::RPC::Client

AUTHOR

Binary.com [email protected]

COPYRIGHT

Copyright 2017- Binary.com

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.