Coder Social home page Coder Social logo

laravel-ethereum's People

Contributors

jcsofts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

laravel-ethereum's Issues

Make port as optional param.

Hi @jcsofts. How`s going?!

I'm using your package to connect into infura.io, but right now your package force to have a port to connect to, and for this service, I don't have a port to connect.

So it`s possible to make the port as optional params?

Kind regards,

Amandio.

eth_sendtransaction error

        $params=array(
            'from'      =>'0x410a0cbc08011d65b4ab11b2199534e86a1131fa',
            'to'        =>'0xabe713314023f63b690c02737f079fb0f74a1741',
            "gas"       => "0x76c0", // 30400
            "gasPrice"  => "0x9184e72a000", // 10000000000000
            'value'     =>'0x9184e72a',
            'data'      =>'0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675'
        );
        Ethereum::eth_sendTransaction($params);

i get eror message like:
throw new ErrorException('Transaction object expected');

what am i wrong?

can i use like this?

	$ethereum= new EthereumClient([
		'host'          => '167.99.130.111',            // optional, default localhost
		'port'          => 8545,                   // optional, default 8332
	]);

How to create transaction

Hi,

i use method: personal_sendTransaction, but i get error:-32602
"invalid argument 0: json: cannot unmarshal non-string into Go struct field SendTxArgs.value of type *hexutil.Big"

I try with GuzzleHttp

$client = new Client();
$parameters = [
			'method' => 'personal_sendTransaction',
			'params' => [
				[
					'from'  => '0x59c779xxx',
					'to'    => '0xac3f9786xxxx',
					'value' => 0000000
				],
				'xxxxxx'
			],
			'id' => 1
		];
$response = $client->request('POST', 'my_ip:port', ['json' => $parameters]);

But, not run.

please help me

Creating account

When i try to create new account i get the following Call to undefined method Jcsofts\LaravelEthereum\Facade\Ethereum::personal_newAccount()

Kindly assist

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.