See the tincubeth docs repo
Using Tor (Onion Services) with Incubed Client
-
Build Docker containers
docker-compose -f docker-compose-parity-tor.yml up -d
-
Rebuild Docker containers
docker-compose -f docker-compose-parity-tor.yml up --build
-
Build Docker containers
docker-compose -f docker-compose-geth-tor.yml up -d
-
Rebuild Docker containers
docker-compose -f docker-compose-geth-tor.yml up --build
-
View logs to obtain Onion URL (i.e. HOSTNAME.onion)
docker-compose logs tor
-
Example Query with an Incubed Client using JSON-RPC via Tor. Replace
HOSTNAME
with the Onion URLcurl --socks5-hostname 127.0.0.1:9050 <HOSTNAME.onion>:8545 -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}'
-
View Docker containers
docker ps
Using I2P with Incubed Client
-
Build Docker containers
docker-compose -f docker-compose-parity-i2p.yml up -d
-
Rebuild Docker containers
docker-compose -f docker-compose-parity-i2p.yml up --build
-
Build Docker containers
docker-compose -f docker-compose-geth-i2p.yml up -d
-
Rebuild Docker containers
docker-compose -f docker-compose-geth-i2p.yml up --build
- https://github.com/slockit/in3
- https://etherscan.io/address/0x2736d225f85740f42d17987100dc8d58e9e16252#code
- https://github.com/slockit/in3#chains
- https://github.com/slockit/in3/blob/master/docs/getting_started.md#as-docker-container
- https://randywestergren.com/running-a-hidden-tor-service-with-docker-compose/