Installing and Running a local zcash node and join the zcash peer-to-peer network. Once up and running, your node will establish connections to other nodes, sync the existing Zcash blockchain locally, and route and verify new transactions submitted to the network.
Requirements:
Linux Debian or Ubuntu but can work with other Distro
4GB available Memory to run the node.
Get the dependency for the zcash repo key:
$ sudo apt-get install apt-transport-https
Get the repository key from the zcash server:
$ wget -qO – https://apt.z.cash/zcash.asc | sudo apt-key add –
$ echo “deb [arch=amd64] https://apt.z.cash/ jessie main” | sudo tee /etc/apt/sources.list.d/zcash.list
Intall zcash:
$ sudo apt-get update
$ sudo apt-get install zcash
Grab the parameters:
$ zcash-fetch-params
Create the configuration file in your directory:
$ mkdir .zcash
$ cd .zcash
$ echo “rpcuser=ferdy” >> zcash.conf
# ferdy is my username
$ echo “rpcpassword=password” >> zcash.conf
To add a mining variable:
$ “gen=1” >> zcash.conf
Start the node:
$ zcashd
Once it’s synced to the blockchain, you can start using the zcash-cli to send and receive Zcash transactions.
$ zcash-cli