Giter VIP home page Giter VIP logo

zclassic's Introduction

Zclassic

What is Zclassic?

Zclassic is a cryptocurrency with a focus on privacy. It uses the same initial ceremony parameters generated for Zcash, as well as ZK-SNARKs for transaction shielding. The major change - there is no 20% founders' fee taken for mining each block.

More technical details are available in the Zcash Protocol Specification.

This software is the Zclassic client. It downloads and stores the entire history of Zclassic 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.

Two main files of interest in this repo are zcashd and zcash-cli, which should be renamed to zcld and zcl-cli for use in the full-node wallet. The project needs to be built (per the instructions) in order to generate them.

P2P Port - 8033
RPC Port - 8023

Documentation is at the Zclassic wiki

View unsolved problems on the issue tracker

Join the conversation on Discord: https://discord.gg/NyPnDJS

Participation in the Zclassic project is subject to a Code of Conduct. This is based on the original Zcash Code of Conduct.

Build and Installation

Linux

Get dependencies

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

Install

# Build
./zcutil/build.sh -j$(nproc)
# fetch key
./zcutil/fetch-params.sh
# Run
./src/zcashd

Windows

There are two proven ways to build Zclassic for Windows:

  • On Linux using MinGW-w64 cross compiler tool chain. Ubuntu 16.04 Xenial is proven to work and the instructions is for such release.
  • On Windows 10 (64-bit version) using Windows Subsystem for Linux (WSL) and the MinGW-w64 cross-compiler toolchain.

With Windows 10, Microsoft released a feature called WSL. It basically allows you to run a bash shell directly on Windows in an Ubuntu environment. WSL can be installed with other Linux variants, but as mentioned before, the distro proven to work is Ubuntu. Follow this link to install WSL (recommended method).

Building for Windows 64-Bit

  1. Get the usual dependencies:
sudo apt-get update
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 make cmake mingw-w64
  1. Set the default mingw32 gcc/g++ compiler option to posix, and fix other packing problems with Xenial.
sudo apt install software-properties-common
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu zesty universe"
sudo apt update
sudo apt upgrade
sudo update-alternatives --config x86_64-w64-mingw32-gcc
sudo update-alternatives --config x86_64-w64-mingw32-g++
  1. Install Rust
curl https://sh.rustup.rs -sSf | sh
source ~/.cargo/env
rustup install stable-x86_64-unknown-linux-gnu
rustup install stable-x86_64-pc-windows-gnu
rustup target add x86_64-pc-windows-gnu

vi  ~/.cargo/config

and add:

[target.x86_64-pc-windows-gnu]
linker = "/usr/bin/x86_64-w64-mingw32-gcc"

Note that in WSL, the Zclassic source code must be somewhere in the default mount file system, i.e /usr/src/zclassic, and not on /mnt/d/. What this means is that you cannot build directly on the Windows system.

  1. Build for Windows
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var. ONLY FOR WSL
./zcutil/build-win.sh -j$(nproc)
  1. Installation

After building in WSL, you can make a copy of the compiled executables to a directory on your Windows file system. This is done the following way

make install DESTDIR=/mnt/c/zcl/zclassic

This will install the executables to c:\zcl\zclassic

Mac

Get dependencies

#install xcode
xcode-select --install

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install cmake autoconf libtool automake coreutils pkgconfig gmp wget

brew install gcc5 --without-multilib

Install

# Build
./zcutil/build-mac.sh -j$(sysctl -n hw.ncpu)
# fetch key
./zcutil/fetch-params.sh
# Run
./src/zcashd

Security Warnings

See important security warnings in doc/security-warnings.md.

Zclassic and Zcash are unfinished and highly experimental. 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.

License

For license information see the file COPYING.

zclassic's People

Contributors

laanwj avatar gavinandresen avatar sipa avatar str4d avatar theuni avatar bitcartel avatar non-github-bitcoin avatar ebfull avatar luke-jr avatar gmaxwell avatar jonasschnelli avatar zkbot avatar daira avatar thebluematt avatar fanquake avatar defuse avatar cozz avatar petertodd avatar jtimon avatar jmprcx avatar ageis avatar paveljanik avatar muggenhor avatar sdaftuar avatar codeshark avatar rhettcreighton avatar rebroad avatar nejucomo avatar pstratem avatar morcos avatar

Watchers

Paul Kruger avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.