digitaldonkey / ethereum-php

PHP interface to Ethereum JSON-RPC API. Fully typed Web3 for PHP 7.X
http://ethereum-php.org
MIT License
489 stars 174 forks source link

Unable to connect when $eth->eth_protocolVersion #47

Open thachbond opened 4 years ago

thachbond commented 4 years ago

`try { // Connect to Ganache $eth = new Ethereum('http://127.0.0.1:8545'); $eth->eth_getBalance()

        $result = $eth->eth_getBalance(["0xc94770007dda54cF92009BFF0dE90c06F603a09f","latest"]);
        var_dump($result);
    }
    catch (\Exception $exception) {
        die ("Unable to connect.");
    }`

return: syntax error, unexpected '$result' (T_VARIABLE)

JTorresConsulta commented 5 months ago

Very good support for this library XDDDDDDDDDDDDDDDD

digitaldonkey commented 5 months ago

Payed support is available for this opensource project if you want.

JTorres @.***> schrieb am So., 24. März 2024, 20:13:

Very good support for this library XDDDDDDDDDDDDDDDD

— Reply to this email directly, view it on GitHub https://github.com/digitaldonkey/ethereum-php/issues/47#issuecomment-2016911085, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADMSLVVDEXKT3SIXZEYHUTYZ4QU7AVCNFSM4KZOICGKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBRGY4TCMJQHA2Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>