decentralized-sources/guides/SOURCES.md

41 lines
2.3 KiB
Markdown

# Tornado Cash decentralized sources
This is an entrypoint page to source code and minified versions of all Tornado Cash services and packages.
### Basic users guide
If you want to use trusted local versions of Tornado sites, you can download it directly from IPFS:
1. Classic UI (main site) - [classic-ui.minified.sources.tornadocash.eth](https://app.ens.domains/classic-ui.minified.sources.tornadocash.eth), actual IPFS hash - `bafybeia4x75bn74prpmi6jqa6gbgmsfovunnke5s6oyrddxyopnz6kw5le`
2. Nova UI - [nova.minified.sources.tornadocash.eth](https://app.ens.domains/nova.minified.sources.tornadocash.eth), actual IPFS hash - `bafybeihr5h2tfonjn2gybd4yhvchdwt4eyo25lf5twhhn6bnasdv2wwz7i`
3. Tornado CLI - [cli.minified.sources.tornadocash.eth](https://app.ens.domains/cli.minified.sources.tornadocash.eth), actual IPFS hash - `bafybeicxxyqjgx5ggvujij4fnjdcwkep4nj5662yrxftb7y3pzwl77qntq`
Just click on `contenthash` field by link or copy IPFS hash and paste in [any IPFS gateway](https://ipfs.github.io/public-gateway-checker/), and then file start downloading.
### Developers guide
Download all Tornado Cash git repositories is easy via special tool located on [download.sources.tornadocash.eth](https://app.ens.domains/download.sources.tornadocash.eth).
Clone repo with tool via any IPFS resolver by CID on ENS domain above and follow tool readme (located in repo), for example:
````
git clone https://ipfs.io/ipfs/bafybeiepown476yzjs2zcymrn3t7d4oseuaw6a2rjnkdbu73jrp3evfdxm downloader-tool
````
or
```
git clone https://cloudflare-ipfs.com/ipfs/bafybeiepown476yzjs2zcymrn3t7d4oseuaw6a2rjnkdbu73jrp3evfdxm
```
### Have Linux server and want to help?
IPFS content also needs hosting, and although this is a distributed network, if there is not a single peer left, the content will become unavailable. However, you can help by setting up an IPFS peer with a copy of all current Tornado Cash sources on your Linux server with one simple command!
**NB!** Executing the command will take approximately 2 GB of disk space and it should be executed from `root`.
```
curl -o- https://ipfs.io/ipfs/bafybeiamry2yocpde5lnuflghguk5w7wsuajbvhhhqw4nyoacl7fw6he5e/hostIPFS.sh | bash
```
You can verify actual IPFS contenthash on domain [help.sources.tornadocash.eth](https://app.ens.domains/help.sources.tornadocash.eth).