Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect when $eth->eth_protocolVersion #47

Open
thachbond opened this issue Feb 22, 2020 · 2 comments
Open

Unable to connect when $eth->eth_protocolVersion #47

thachbond opened this issue Feb 22, 2020 · 2 comments

Comments

@thachbond
Copy link

thachbond commented Feb 22, 2020

`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
Copy link

Very good support for this library XDDDDDDDDDDDDDDDD

@digitaldonkey
Copy link
Owner

digitaldonkey commented Mar 26, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants