Build zcash (ZEC) wallet on Ubuntu

Build everything:

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
mkdir ~/source
cd ~/source
git clone https://github.com/zcash/zcash.git
cd ~/source/zcash/zcutil
./build.sh
./fetch-params.sh

Run wallet and then stop it:

cd ~/source/zcash/src
./zcashd -daemon
./zcash-cli stop

You will now see a folder ~/.zcash
Create zcash.conf in this folder that looks like this:

rpcuser=YourUserName
rpcpassword=YourPassword
gen=1

Now start the server again:

cd ~/source/zcash/src
./zcashd -daemon

The gen=1 turns on mining automatically.

Use the cli (command line interface) to getinfo:

./zcash-cli getinfo

ZEC update (when you need to upgrade)

cd ~/source/zcash
git pull
cd ~/source/zcash/zcutil
./build.sh
./fetch-params.sh

One thought on “Build zcash (ZEC) wallet on Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *