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

BuidlerEVM JSON-RPC Server #438

Merged
merged 19 commits into from
Feb 14, 2020

Conversation

BencicAndrej
Copy link
Contributor

This PR adds a new built-in task, called buidler jsonrpc, for starting a BuidlerEVM backed JSON-RPC server.

Example usage:

buidler jsonrpc

Running this command starts an HTTP server listening on port 8545 by default, ready to accept JSON-RPC requests coming from your tests, tasks or dApps.

The simplest way to give the JSON-RPC server a try is to configure a new local buidler environment targeting http://localhost:8545 and running your existing tests on it.

The result should be the same as if the tests were executed with the default buidlerevm environment.

+ Added configuration parameters for http server host and port.
+ Renamed ethereum provider to provider.
+ Updated which errors are thrown when fetching JSON response.
* Added configuration parameters for http server host and port.
* Renamed ethereum provider to provider.
* Updated which errors are thrown when fetching JSON response.
* Removed unneeded exception handling.
Updated handler to correct failing tests.
@alcuadrado alcuadrado marked this pull request as ready for review February 14, 2020 17:15
@alcuadrado alcuadrado merged commit e4f2269 into NomicFoundation:buidlerevm-rpc Feb 14, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants