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 <fayland@binary.com>

INHERITED METHODS

Moo::Object

BUILDALL, BUILDARGS, DEMOLISHALL, does, meta

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.