It would be nice to use docker containers in the testnet for ease of deployment. This PR adds a docker file for cpp-ethereum with hera (and soon jsonrpcproxy).
Right now, I'm running into an issue where the IPC file that CPP-eth uses for RPC cannot be used externally from the host that is running the container.
Example:
docker run -v /tmp/ewasm-node/4201:/tmp/ewasm-node/4201 --ipc=host localhost/cpp-ethereum > /dev/null 2>&1 &
python3 jsonrpcproxy.py /tmp/ewasm-node/4201/geth.ipc
curl -X POST --data "{\"jsonrpc\":\"2.0\",\"method\":\"eth_sendRawTransaction\",\"params\":[\"f8528085174876e80083100000800a8081a8a08183c7a0aef13ad8513f69a4dafbd48e8700dd228f0243d6290ca8275a0311ada01650bf69d3a8845f9ed91a21c71c1020c9161b96e70abbcd90ea87eaadbd5cbd\"],\"id\":1}" localhost:8545
It would be nice to use docker containers in the testnet for ease of deployment. This PR adds a docker file for cpp-ethereum with hera (and soon jsonrpcproxy).
Right now, I'm running into an issue where the IPC file that CPP-eth uses for RPC cannot be used externally from the host that is running the container.
Example:
Log output from
jsonrpcproxy.py
: