How to use your Tornado Cash relayer over Tor as a hidden service
The relayer uses a self-signed certificate, so anyone (you or anyone using your relayer) will need to accept this certificate first. This certificate is generated by your package and it is not controlled by DAppNode Association, Tornado.cash or any other party: you are its owner and it is safe for you to use.
-
Find out the relayer's .onion address by checking this package's Logs
################################################# Hidden service address: http://tcsh2rplyaoqwdx6.onion or https://tcsh2rplyaoqwdx6.onion #################################################
-
Whoever wants to user the relayer will have to go to the above https .onion address connected over Tor. You can do that with the Tor browser or with Brave browser > File > New Private Window with Tor)
-
You'll get an error, so you need to click
Advanced
and thenProceed to tcsh2rplyaoqwdx6.onion (unsafe)
(where tcsh2rplyaoqwdx6.onion is your onion address):Note: We need to use an https connection with a self-signed certificate since the connections to the relayer on tornado.cash must use https.
-
After this you should see this message:
This is tornado.cash Relayer service. Check the /status for settings
The certificate is now accepted and the relayer will work when used with Tornado.cash.
⚠️ Remember that the address of the relayer needs to hold funds to effectively 'relay', that is pay the gas to maintain the privacy of the withdrawer⚠️ -
Now that the certificate is accepted, go to Tornado.cash's website, preferably over Tor. You will need a secret note from your Deposit. To know how to make a deposit in Tornado.cash, please follow their tutorial.
-
Go to the withdraw tab and paste your note.
-
Click on Withdrawal Settings
-
Select custom and paste your relayer url (like the example above, it will look similar to:
https://tcsh2rplyaoqwdx6.onion
) andSave
-
Fill the
Recipient Address
field with the address that will receive the ETH/Tokens and clickWithdraw
. After seeingGenerating the proof...
click onConfirm
-
DONE!
Note: To use on kovan network you need to have Kovan installed and synchronized on your DAppNode