This tutorial goes over installing and configuring Zcash and Zclassic wallets to operate as full seed nodes. We'll also be covering the commands needed to keep the wallet running in the background.
Use your operating system's package manager to install the required dependencies. Then the npm package 'n' will need to be installed in order to download that latest Nodejs stable package. After that the Z-Nomp repository may be cloned and installation can begin.
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 screen
git clone https://github.com/zcash/zcash.git cd zcash
git clone https://github.com/z-classic/zclassic.git cd zclassic
./zcutil/build.sh -j$(nproc) ./zcutil/fetch-params.sh
Run the below commands so that the wallet directory structure is created.
./src/zcashd Press CTRL-C
Create the wallet configuration file so that RPC settings can be set.
nano ~/.zclassic/zclassic.conf
or
nano ~/.zcash/zcash.conf
Copy and paste the data below:
rpcport=12177 rpcuser=yourusername rpcpassword=yourpassword
We'll run the wallet using screen so that it can be re-attached to at any time.
screen -S zwallet -dm ./src/zcashd
If you ever need to re-attach to the screen then run:
screen -r zwallet
And to detach from the screen press:
CTRL-A-D