Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Support IPC endpoint #759

Open
axic opened this issue Oct 10, 2016 · 12 comments
Open

Support IPC endpoint #759

axic opened this issue Oct 10, 2016 · 12 comments

Comments

@axic
Copy link
Contributor

axic commented Oct 10, 2016

Some tools (i.e. Mist, Solidity tests, etc.) have switched to use IPC instead of the HTTP-RPC.

Would it be hard adding IPC support? (That would need to replace the http server when the option is turned on. Ideally listening on both an IPC file and HTTP would be nice.)

@tcoulter
Copy link
Contributor

Quick google makes it look promising: https://www.npmjs.com/package/node-ipc

I have no idea how IPC works, but this would be a good feature.

@axic
Copy link
Contributor Author

axic commented Oct 12, 2016

@tcoulter well the term IPC is overused, but what these clients really mean is a Unix socket or a Windows pipe. node-ipc seems to support that.

@axic axic self-assigned this Feb 14, 2017
@boorac
Copy link

boorac commented Feb 27, 2018

Definitely would love to see this happen

@miguelmota
Copy link

Looking forward to IPC support

@axic
Copy link
Contributor Author

axic commented Dec 10, 2018

I had IPC support implemented in #261, but it was closed after half a year of not merging it :)

@ytrezq
Copy link

ytrezq commented Jan 31, 2021

@axic just a question on a related problem, but does ganache supports connecting to local node using unix socket?

@davidmurdoch davidmurdoch transferred this issue from trufflesuite/ganache-cli-archive Feb 1, 2021
@davidmurdoch
Copy link
Member

@ytrezq it does not. Though I do hope to get this working eventually.

@kryptoklob
Copy link

Would love to see this implemented; IPC is much faster than even WSS in an all-local environment (ie, in the case where you have a node in the same machine you're running ganache-core on)

@davidmurdoch
Copy link
Member

The newest version of Ganache will utilize uWebsocket.js, which is on par with IPC, performance wise. That said, we are still strongly considering adding IPC support.

@davidmurdoch
Copy link
Member

@axic, @anoff, @beautyfree, @4ntoine, @hernandp, @boorac, @jgiles, @miguelmota, @ErikBjare, @ytrezq, @kryptoklob

It's been 6 years since this issue was opened. Is IPC support still a feature you'd want?

@ytrezq
Copy link

ytrezq commented Dec 1, 2022

For security and efficiency, yes, definitely.

@kryptoklob
Copy link

Yes, absolutely @davidmurdoch

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Backlog
Development

No branches or pull requests

7 participants