Recommended System Specs:
2 or more CPU threads 64-bit Linux (Ubuntu 18.04) 4+ GB RAM 25+ GB Storage
If setting up a ZelNode, follow this link: https://zel.gitbook.io/zelnodes/
The instructions below on this page are for setting up a standard p2p node, not a ZelNode to collect network rewards
Running a standard p2p node does not yield any Zel
Building source works for many popular Ubuntu, Debian, & Fedora distros. We officially support Ubuntu 18.04 LTS "Bionic Beaver"
sudo apt-get update && sudo apt-get upgrade -ysudo 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
sudo dnf install git pkgconfig automake autoconf ncurses-devel python python-zmq wget gtest-devel gcc gcc-c++ libtool curl patch
git clone https://github.com/zelcash/zelcash.gitcd zelcashgit checkout master./zcutil/build.sh -j$(nproc)
mkdir ~/.zelcashecho "rpcuser=username" >> ~/.zelcash/zelcash.confecho "rpcpassword=`head -c 32 /dev/urandom | base64`" >> ~/.zelcash/zelcash.confecho "rpcallowip=127.0.0.1" >> ~/.zelcash/zelcash.confecho "addnode=explorer.zel.cash" >> ~/.zelcash/zelcash.confecho "addnode=explorer.zel.zelcore.io" >> ~/.zelcash/zelcash.conf
cd zelcash./zcutil/fetch-params.sh
./src/zelcashd
#install xcodexcode-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 wgetbrew install gcc5 --without-multilib
git clone https://github.com/zelcash/zelcash.gitcd zelcashgit checkout master./zcutil/build.sh -j$(sysctl -n hw.ncpu)
./zcutil/fetch-params.sh
mkdir ~/Library/Application Support/zelcash/echo "rpcuser=username" >> ~/Library/Application Support/zelcash/zelcash.confecho "rpcpassword=`head -c 32 /dev/urandom | base64`" >> ~/Library/Application Support/zelcash/zelcash.confecho "rpcallowip=127.0.0.1" >> ~/Library/Application Support/zelcash/zelcash.confecho "addnode=explorer.zel.cash" >> ~/Library/Application Support/zelcash/zelcash.confecho "addnode=explorer.zel.zelcore.io" >> ~/Library/Application Support/zelcash/zelcash.conf
./src/zelcashd
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
git clone https://github.com/zelcash/zelcash.gitcd zelcashgit checkout master./zcutil/build-win.sh -j$(nproc)
Create folder %AppData%/Roaming/ZelCash
Create txt file zelcash.conf in above folder. Copy/paste the below into zelcash.conf and save, close. Change rpc username and password
rpcuser=randomusernamerpcpassword=RandomPasswordChangemerpcallowip=127.0.0.1addnode=explorer.zel.cashaddnode=explorer.zel.zelcore.io
Create folder %AppData%/Roaming/ZcashParams
Download the below links into this folder
https://zelcore.io/zelcore/sapling-output.paramshttps://zelcore.io/zelcore/sapling-spend.paramshttps://zelcore.io/zelcore/sprout-groth16.paramshttps://zelcore.io/zelcore/sprout-proving.keyhttps://zelcore.io/zelcore/sprout-verifying.key
zelcashd.exe
The APT repo works with many popular Ubuntu & Debian distros
echo 'deb https://zelcash.github.io/aptrepo/ all main' | sudo tee --append /etc/apt/sources.list.d/zelcash.listgpg --keyserver keyserver.ubuntu.com --recv 4B69CA27A986265Dgpg --export 4B69CA27A986265D | sudo apt-key add -sudo apt-get updatesudo apt-get install zelcash
This installs zelcashd, zelcash-cli, zelcash-tx and zelcash-fetch-params
cd zelcashchmod +x zelcash-fetch-params./zelcash-fetch-params
Cross-compile works on Debian 9 and Ubuntu 18.04, possibly other versions and distros. This build is not officially supported.
sudo apt-get update && sudo apt-get upgrade -ysudo 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 automakesudo apt-get install gcc-aarch64-linux-gnusudo apt install g++-aarch64-linux-gnu
git clone https://github.com/zelcash/zelcash.gitcd zelcashgit checkout masterHOST=aarch64-linux-gnu ./zcutil/build.sh
This will build zelcashd, zelcash-cli, and zelcash-tx
Move the above files to your ARM device under ~/zelcash/src/
mkdir ~/zelcash/zcutil && cd ~/zelcash/zcutilwget https://raw.githubusercontent.com/zelcash/zelcash/master/zcutil/fetch-params.shchmod +x fetch-params.sh./fetch-params.sh
~/zelcash/src/zelcashd