Tor, network, and testnet
This guide covers advanced Tor and Bitcoin network settings.
All commands are to be copy and pasted into the terminal of your Dojo, then press ENTER.
Configure Tor bridges
Section titled “Configure Tor bridges”By default, Dojo connects to Tor without bridges.
If your network blocks Tor access, you can enable Tor bridges.
Open Tor config:
cd ~/dojo-app/docker/my-dojo/conf/nano docker-tor.confSet:
TOR_USE_BRIDGES=onTOR_BRIDGE_TYPE=obfs4TOR_BRIDGE_1="TypeBridgeLine1Here"TOR_BRIDGE_2="TypeBridgeLine2Here"TOR_BRIDGE_3="TypeBridgeLine3Here"You can also use:
TOR_BRIDGE_TYPE=snowflakeThen apply changes:
cd ~/dojo-app/docker/my-dojo./dojo.sh upgradeBridge lines can be requested from:
- https://bridges.torproject.org
- Tor Browser bridge request flow
Install Dojo on Bitcoin testnet
Section titled “Install Dojo on Bitcoin testnet”This must be configured before first installation.
Open common config template:
cd ~/dojo-app/docker/my-dojo/conf/nano docker-common.conf.tplSet:
COMMON_BTC_NETWORK=testnetThen install:
cd ~/dojo-app/docker/my-dojo./dojo.sh installImportant notes:
- Do not change
COMMON_BTC_NETWORKon an already running installation. - Switching from mainnet to testnet (or testnet to mainnet) requires a fresh install.