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

feat: add geth IPC connection #47

Merged
merged 4 commits into from Feb 8, 2019

Conversation

Projects
None yet
2 participants
@ryanio
Copy link
Collaborator

ryanio commented Feb 8, 2019

This PR adds a few methods to geth.js to enable an IPC connection from the spawned bin.

Experimental, but a better and more secure connection to send RPC requests rather than over HTTP. Use geth.rpc(method, params).

See functions: getIpcPath, connectIpc, onIpcData, send, and rpc starting at line 209

ToDo for future: Subscription (notification) support

ryanio added some commits Feb 8, 2019

Show resolved Hide resolved ethereum_clients/geth.js Outdated
Show resolved Hide resolved ethereum_clients/geth.js Outdated

@PhilippLgh PhilippLgh merged commit 3a71952 into master Feb 8, 2019

4 checks passed

Semantic Pull Request ready to be squashed
Details
ci/circleci: build Your tests passed on CircleCI!
Details
ci/circleci: build-mac Your tests passed on CircleCI!
Details
ci/circleci: build-win Your tests passed on CircleCI!
Details

@PhilippLgh PhilippLgh deleted the gethIPC branch Feb 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment