Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

Mac OS X Installation

igorvoltaic edited this page Apr 27, 2018 · 2 revisions

First off you need Apple's Xcode (at least version 7, preferably 8.x or later) and the Xcode Command Line Tools:

Xcode page at iTunes

And Homebrew:

brew.sh

And this is the list of brew packages you'll need installed:

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

or

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

Get all that installed, then run:

git clone https://github.com/ZencashOfficial/zen.git
cd zen && git checkout master && git pull
./zcutil/build-mac.sh
./zcutil/fetch-params.sh

When you are done building, you need to change a few things in the Configuration section of the 1.0 User Guide differently because we are on the Mac.

mkdir -p ~/Library/Application\ Support/Zen ## wallet.dat is here as well
echo "rpcuser=username" >> ~/Library/Application\ Support/Zen/zen.conf
echo "rpcpassword=`head -c 32 /dev/urandom | base64`" >> ~/Library/Application\ Support/Zen/zen.conf

The fetch-params.sh script, however, has already been altered to fetch the proving keys into the correct directory (~/Library/Application\ Support/ZcashParams/) to conform to Mac specific naming conventions.

Now you can run ./src/zend

Happy Building

Clone this wiki locally