Questions tagged [ipc]

Questions related to IPC, Inter-process Communications generally for local communication with an Ethereum client.

Filter by
Sorted by
Tagged with
10
votes
1answer
2k views

How can non-javascript applications communicate with Ethereum nodes?

Web3 implements the Ethereum JSON-RPC spec and seems to be the preferred method for communicating between a javascript applications and the Ethereum node. However there are situations where you might ...
16
votes
4answers
18k views

Possible to store the blockchain in a different directory?

I'm running geth on Linux within a Chromebook. The blockchain is being stored within ~/.ethereum, along with other important files. Problem is, the storage capacity on my Chromebook is quite limited ...
14
votes
3answers
5k views

Can Mist be attached to a Geth node on a different computer over HTTP RPC?

I gather that Mist will automatically look for Geth on a local machine via IPC to save it maintaining its own blockchain. Is it possible to tell it to look for an instance of Geth on another machine ...
4
votes
6answers
2k views

Is there any software apart from Geth and Mist that offers the Javascript console? I want to use the console but I don't want to do all that syncing

Is there any software apart from Geth and Mist that offers the Javascript console? I want to use the console but I don't want to do all that syncing. Parity does not have a console as far as I know ...
13
votes
2answers
19k views

When is the geth.ipc file produced?

I'd like to access geth.ipc file in order to connect geth via IPC. I've got an advice and it suggested me to access geth.ipc, but I've not found it on my mac. Could you tell me when that file is ...
5
votes
2answers
950 views

geth ignoring --ipcpath in Linux with attach and datadir

I am trying to create a test network and have been able to start a network (I think). geth --datadir ./eth-data --ipcpath geth.ipc attach I get Fatal: Unable to attach to geth: dial unix /home/...
7
votes
1answer
2k views

Why can't I connect by IPC?

I have successfully run geth --rpc to test some functionality, but I need the personal API which according to this answer should be done by IPC. When I run geth --ipcapi "db,eth,net,web3,personal" --...
30
votes
1answer
22k views

What are ipc and rpc?

The question is quite simple , I have only basic Idea of RPC but none of IPC. AFAIK, if I connect to ethereum node via ipc then the my geth should be running on same machine. and If I connect via ...
5
votes
1answer
2k views

How can I connect geth by IPC on rails?

I'd like to connect geth by IPC on rails. I start geth as follows. $build/bin/geth --datadir "/home/vagrant/.ethereum" --networkid "1" --ipcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" ...
5
votes
1answer
4k views

How to connect Mist to a remote private network? [duplicate]

I have seen option to connect Mist to a privatenet here like this geth --networkid 1234 --ipcpath /Users/you/Library/Ethereum/geth.ipc Looks like the path is hardcoded somewhere in the code. How ...
4
votes
2answers
707 views

Cannot attach to geth node running inside container

I am trying to run a node inside a docker container. I am able to run a geth node locally, and attach it via IPC with these simple commands: geth --fast --cache=512 Then geth attach, it works fine. ...
4
votes
1answer
713 views

Can Mist communicate (via IPC) with a geth instance running by other user?

I'm aware that Mist cannot connect to a geth node in another computer, but how about to a geth instance running in the same computer but under a different user? My goal would be to have Alice and Bob ...
3
votes
3answers
3k views

How do I connect IPC with Parity?

I'm running Parity in warp mode on Mac OSX: parity --warp --rpcapi "web3,eth,personal" Then I open a new terminal and run: node Web3 = require("Web3") web3 = new Web3(new Web3.providers....
2
votes
0answers
570 views

Connect to node via IPC

As per my knowledge, RPC connection to a node is quite unsafe. so the alternative is connecting to a node via IPC. But how to connect to node via IPC? I have used web3 for connecting to node via RPC ...
1
vote
1answer
1k views

Synchronous requests are not supported by the IPC provider

I was trying to connect to my node via IPC using web3_ipc. But i got hit by: You tried to send "eth_getBalance" synchronously. Synchronous requests are not supported by the IPC provider. My code is ...