Code Monkey home page Code Monkey logo

zelcash's Introduction

=======

ZelCash Build Status

=======

ZelCash 3.1.0 ZELNODES

INNOVATIVE INTELLIGENT INSPIRING

ZelCash is a fork of 2.0.2 Zcash aiming to provide decentralised development platform via ZelNodes and ZelCore.

POW asic resistant with Equihash (144,5) also known as Zhash with personalisation string ZelProof and LWMA3 difficulty algorithm.

To speed up synchronisation you can also download our blockchain (state 18. 12. 2018) at https://zelcore.io/Zelcash.zip For ZelNodes/Control Wallets use this bootstrap with txindex enabled (state 18. 02. 2019) https://zelcore.io/zelcashbootstraptxindex.zip

Install and run from APT

On Ubuntu/Debian-based systems:

echo 'deb https://zelcash.github.io/aptrepo/ all main' | sudo tee --append /etc/apt/sources.list.d/zelcash.list
gpg --keyserver keyserver.ubuntu.com --recv 4B69CA27A986265D
gpg --export 4B69CA27A986265D | sudo apt-key add -

sudo apt-get update
sudo apt-get install zelcash

This installs zelcashd, zelcash-cli, zelcash-tx and zelcash-fetch-params

Build Guides

Build for Linux

Install dependencies

On Ubuntu/Debian-based systems:

$ sudo apt-get update
$ sudo apt-get upgrade
$ 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 curl bsdmainutils automake 

On Fedora-based systems:

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

Build

git clone https://github.com/zelcash/zelcash.git
cd zelcash
./zcutil/build.sh -j$(nproc)

Run ZelCash

  1. Create zelcash.conf file (copy and paste this block in one into your terminal)
mkdir ~/.zelcash
echo "rpcuser=username" >> ~/.zelcash/zelcash.conf
echo "rpcpassword=`head -c 32 /dev/urandom | base64`" >> ~/.zelcash/zelcash.conf
echo "rpcallowip=127.0.0.1" >> ~/.zelcash/zelcash.conf
echo "addnode=explorer.zel.cash" >> ~/.zelcash/zelcash.conf
echo "addnode=explorer.zel.zelcore.io" >> ~/.zelcash/zelcash.conf

  1. Fetch keys
cd zelcash
./zcutil/fetch-params.sh
  1. Run ZelCash node
./src/zelcashd

Build for Windows

Install dependencies

Windows:

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

Build

git clone https://github.com/zelcash/zelcash.git
cd zelcash
./zcutil/build-win.sh -j$(nproc)

This will create zelcashd.exe zelcash-cli.exe and zelcash-tx.exe in src directory.

Run ZelCash

  1. Create ZelCash folder and configuration file

Create following zelcash.conf file in %AppData%/Roaming/ZelCash

rpcuser=randomusername
rpcpassword=RandomPasswordChangeme
rpcallowip=127.0.0.1
addnode=explorer.zel.cash
addnode=explorer.zel.zelcore.io
  1. Download Zcash parameters to %AppData%/Roaming/ZcashParams https://zelcore.io/zelcore/sapling-output.params
    https://zelcore.io/zelcore/sapling-spend.params
    https://zelcore.io/zelcore/sprout-groth16.params
    https://zelcore.io/zelcore/sprout-proving.key
    https://zelcore.io/zelcore/sprout-verifying.key

  2. Run ZelCash Node

zelcashd.exe

Build for Mac

Install dependencies

macOS:

#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

Build

# Pull
git clone https://github.com/zelcash/zelcash.git
cd zelcash
# Build
./zcutil/build.sh -j$(sysctl -n hw.ncpu)

Run ZelCash

  1. Fetch keys
./zcutil/fetch-params.sh
  1. Create configuration file
mkdir ~/Library/Application Support/zelcash/
echo "rpcuser=username" >> ~/Library/Application Support/zelcash/zelcash.conf
echo "rpcpassword=`head -c 32 /dev/urandom | base64`" >> ~/Library/Application Support/zelcash/zelcash.conf
echo "rpcallowip=127.0.0.1" >> ~/Library/Application Support/zelcash/zelcash.conf
echo "addnode=explorer.zel.cash" >> ~/Library/Application Support/zelcash/zelcash.conf
echo "addnode=explorer.zel.zelcore.io" >> ~/Library/Application Support/zelcash/zelcash.conf

  1. Run ZelCash Node
./src/zelcashd

Known errors

autoreconf: failed to run libtoolize: No such file or directory

sudo ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize

zelcash's People

Contributors

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

Watchers

James Cloos avatar Franswa Harold 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.