Skip to content

TENTOfficial/TENT

Repository files navigation

TENT 3.1.4

What is TENT?

TENT(https://tent.app/) is an implementation of the "Zerocash" protocol. Based on Bitcoin's code, it intends to offer a far higher standard of privacy through a sophisticated zero-knowledge proving scheme that preserves confidentiality of transaction metadata. Technical details are available in our Protocol Specification.

This software is the TENT client. It downloads and stores the entire history of TENT transactions; depending on the speed of your computer and network connection, the synchronization process could take a day or more once the blockchain has reached a significant size.

Security Warnings

TENT is experimental and a work-in-progress. Use at your own risk.

Deprecation Policy

This release is considered deprecated 16 weeks after the release day. There is an automatic deprecation shutdown feature which will halt the node some time after this 16 week time period. The automatic feature is based on block height and can be explicitly disabled.

Building

Install dependencies

On Ubuntu/Debian-based systems:

$ sudo apt-get install \
      build-essential pkg-config libc6-dev m4 g++-multilib \
      autoconf libtool ncurses-dev unzip git python python-zmq \
      zlib1g-dev wget bsdmainutils automake curl

On Ubuntu 18.04:

$ sudo apt-get install \
      build-essential pkg-config libc6-dev m4 g++-multilib \
      autoconf libtool ncurses-dev unzip git python python-zmq \
      zlib1g-dev wget bsdmainutils automake curl libgconf-2-4

On Ubuntu 20.04:

$ sudo apt-get install \
      build-essential pkg-config libc6-dev m4 g++-multilib \
      autoconf libtool libncurses-dev unzip git python-is-python2 python3-zmq \ 
	zlib1g-dev wget bsdmainutils automake curl libgconf-2-4

On Fedora-based systems:

$ sudo dnf install \
      git pkgconfig automake autoconf ncurses-devel python \
      python-zmq wget gtest-devel gcc gcc-c++ libtool patch curl

Windows:

sudo apt-get install \
    build-essential pkg-config libc6-dev m4 g++-multilib \
    autoconf libtool ncurses-dev unzip git python \
    zlib1g-dev wget bsdmainutils automake mingw-w64

On Mac systems:

brew tap discoteq/discoteq; brew install flock
brew install autoconf autogen automake
brew install gcc5
brew install binutils
brew install protobuf
brew install coreutils
brew install wget llvm

Check GCC version

gcc/g++ 4.9 or later is required. TENT has been successfully built using gcc/g++ versions 4.9 to 7.x inclusive. Use g++ --version to check which version you have.

On Ubuntu Trusty, if your version is too old then you can install gcc/g++ 4.9 as follows:

$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$ sudo apt-get update
$ sudo apt-get install g++-4.9

Fetch the software and parameter files

Fetch our repository with git and run fetch-params.sh like so:

$ ./zcutil/fetch-params.sh

Build Linux/MAC

Ensure you have successfully installed all system package dependencies as described above. Then run the build, e.g.:

$ git clone https://github.com/TENTOfficial/TENT.git
$ cd TENT/
$ ./zcutil/build.sh

This should compile our dependencies and build snowgemd

Build Windows

Ensure you have successfully installed all system package dependencies as described above. Then run the build, e.g.:

$ git clone https://github.com/TENTOfficial/TENT.git
$ cd TENT/
HOST=x86_64-w64-mingw32 ./zcutil/build.sh

Need Help?

Participation in the TENT project is subject to a Code of Conduct.

License

For license information see the file COPYING.