<p align="center">
  <img src="doc/hush/hush0.png">
</p>

<h3>

| Introduction | Install | Compile | FAQ | Documentation |
| :---:         | :---:   | :---: | :---: | :---: |
| [What is Hush?](#what-is-hush) | [Windows 10 - Video Tutorial](#install-on-windows-10) | [Build on Debian or Ubuntu](#build-on-debian-or-ubuntu) | [Where can I buy Hush?](#) | [Cross compiling Windows binaries](#windows-cross-compiled-on-linux)
| [Why not GitHub?](#banned-by-github) | [Mac - Guideline](#build-on-mac) | [Build on Arch](#build-on-arch) | [Can I mine with CPU or GPU?](#) | [Hush DevOps for pools and CEXs](https://git.hush.is/hush/docs/src/branch/master/advanced/devops.md)
| [What is HushChat?](#) | [Download for Android](https://storage.hush.land/hush-sda/SilentDragonXAndroid.apk) | [Build on Fedora](#build-on-fedora) | [What is DragonX?](https://dragonx.is) | [Earn bounty](#)
| [What is SilentDagon?](#) | [Deb package - Guideline](#installing-hush-binaries) | [Ubuntu 16.04](#building-on-ubuntu-16-04-and-older-systems) | [Where can I spend Hush?](#) | [Cross compiling from amd64 to arm64](https://git.hush.is/hush/docs/src/branch/master/advanced/cross-compile-hush-full-node-to-aarch64-with-docker.md)

</h3>

# What is Hush?

Hush implements Extreme Privacy via blockchain tech. We have our own
genesis block. We are not a chain fork (copy) of another coin. We are based on
Bitcoin code, with sophisticated zero-knowledge mathematics added for privacy.
This keeps your transaction metadata private!

This software is the Hush node and command-line client. It downloads and stores
the entire history of Hush transactions; depending on the speed of your
computer and network connection, it will likely take a few hours at least, but
some people report full nodes syncing in less than 1.5 hours.

# Banned by GitHub

In working on this release, Duke Leto was suspended from Github, which gave Hush developers
the impetus to completely leave that racist and censorship-loving platform. Hush now has it's own [git.hush.is](https://git.hush.is/hush) Gitea instance,
because we will not be silenced by Microsoft. All Hush software will be released from git.hush.is and hush.is, downloads from any other
domains should be assumed to be backdoored.

**Hush is unfinished and highly experimental.** Use at your own risk! Just like Bitcoin.

# Build on Debian or Ubuntu

```sh
# install build dependencies
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib \
      autoconf libtool ncurses-dev unzip git zlib1g-dev wget \
      bsdmainutils automake curl unzip nano libsodium-dev cmake
# clone git repo
git clone https://git.hush.is/hush/hush3
cd hush3
# Build
# This uses 3 build processes, you need 2GB of RAM for each. 
./build.sh -j3
```
Video Tutorial: https://videos.hush.is/w/3kKQt81r7UUPWLHVuwK2BZ

# Build on Arch

```sh
# install build dependencies
sudo pacman -S gcc libsodium lib32-zlib unzip wget git python rust curl autoconf cmake
# clone git repo
git clone https://git.hush.is/hush/hush3
cd hush3
# Build
# This uses 3 build processes, you need 2GB of RAM for each. 
./build.sh -j3
```

# Build on Fedora

```sh
# install build dependencies
sudo dnf install make automake gcc gcc-c++ kernel-devel cmake libtool ncurses-devel patch -y
# clone git repo
git clone https://git.hush.is/hush/hush3
cd hush3
# Build
# This uses 3 build processes, you need 2GB of RAM for each. 
./build.sh -j3
```

# Install on Windows 10

Video Tutorial: https://videos.hush.is/w/oGXff7of3EjmGENtDtYTUX

# Install on ARM Architecture

1. [Download the latest debian package](https://git.hush.is/attachments/ade3f699-6a02-4f1d-af25-04d21029be48).
2. Install the Debian package: `sudo dpkg -i hush-3.10.2-aarch64.deb`.
3. Run with: `hushd`.

# Building On Ubuntu 16.04 and older systems

Some older compilers may not be able to compile modern code, such as gcc 5.4 which comes with Ubuntu 16.04 by default. Here is how to install gcc 7 on Ubuntu 16.04. Run these commands as root:

```
add-apt-repository ppa:ubuntu-toolchain-r/test && \
apt update && \
apt-get install -y gcc-7 g++-7 && \
  update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 60 && \
  update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60
```

# Build on Mac

```
sudo port update
sudo port upgrade outdated
sudo port install qt5

# clone git repo
git clone https://git.hush.is/hush/hush3
cd hush3
# Build
# This uses 3 build processes, you need 2GB of RAM for each. 
./build.sh -j3
```

# Installing Hush binaries

1. [Download the release](https://git.hush.is/hush/hush3/releases) with a .deb file extension.
2. Install the Debian package: `sudo dpkg -i hush-3.10.2-amd64.deb`.
3. Run with: `hushd`.

# Official Explorers

The links for the Official Hush explorers:
  * [explorer.hush.is](https://explorer.hush.is)
  * [explorer.hush.land](https://explorer.hush.land)

# Windows (cross-compiled on Linux)
Get dependencies:
```ssh
sudo apt-get install \
      build-essential pkg-config libc6-dev m4 g++-multilib libdb++-dev \
      autoconf libtool ncurses-dev unzip git zip \
      zlib1g-dev wget bsdmainutils automake mingw-w64 cmake libsodium-dev
```

Downloading Git source repo, building and running Hush:

```sh
# pull
git clone https://git.hush.is/hush/hush3
cd hush3
# Build
./util/build-win.sh -j$(nproc)
# Run a HUSH node
./src/hushd
```

# What is SilentDagon?

[SilentDragon](https://git.hush.is/hush/SilentDragon) is a desktop wallet for HUSH full node.<br>
[SilentDragonLite](https://git.hush.is/hush/SilentDragonLite) is a desktop wallet that does not require you to download the full blockchain.

# What is HushChat?

HushChat is a protocol inspired by the design of Signal Protocol, it uses many of the same cryptography and ideas, but does not actually use any code from Signal. Signal requires phone numbers and is a centralized service. HushChat is completely anonymous and decentralized and requires absolutely no metadata be given to any centralized third parties.

# Can I mine with CPU or GPU?

Only ASIC mining is recommended, HUSH uses Equihash (200,9) algo as Zcash, Horizen or Komodo.

# Where can I buy Hush?

1. https://nonkyc.io/market/HUSH_BTC
2. https://tradeogre.com/exchange/BTC-HUSH

# Where can I spend Hush?

Agora market (in progress)

# Support and Socials

* Telegram: <a href="https://hush.is/tg">https://hush.is/tg</a>
* Matrix: <a href="https://hush.is/matrix">https://hush.is/matrix</a>
* Twitter: <a href="https://hush.is/twitter">https://hush.is/twitter</a>
* PeerTube <a href="https://hush.is/peertube">https://hush.is/peertube</a>

# License

For license information see the file [COPYING](COPYING).
