Author

Topic: Tutorial - Create your zcash 2.0 fork in couple minutes (or hours first timers) (Read 304 times)

newbie
Activity: 80
Merit: 0
newbie
Activity: 80
Merit: 0
newbie
Activity: 80
Merit: 0
0. Create Github account and fork  https://github.com/bitzec/bitzec
Change foldername to your coins name

 Get Ubuntu ( or ubuntu on vmware )  / or download on windows    get latest version  on github desktop
 https://github.com/bitzec/bitzec/releases

1. Open teminal and download Bitzec BZC ( zcash 2.4 fork )
git clone https://github.com/bitzec/bitzec.git (or your github forked bitzec repo)  //  windows  same as 0


2. Download  latest zcash 2.4  release :    
wget https://github.com/zcash/zcash/archive/v2.0.4.zip

3. Unzip and compare with Bitzec folder on Meld software https://meldmerge.org/ : you will see all diffrences you want to change like :
Change coin name , ticker , founders reward addresses (it has to be an t3 address ) %, maxsupply, blockreward decreas plan, rpcports and so on.

---- create genesis block on ubuntu/vmvare
4. Get Equihash Solver :
 git clone https://github.com/tromp/equihash  
cd equihash
make all


5. Get GenesisZ :
 git clone --recursive https://github.com/sebastianst/GenesisZ
python3 -m venv GenesisZ

cd GenesisZ

source bin/activate
pip install -r requirements.txt

(cheeck for full instructions https://github.com/sebastianst/GenesisZ )

5. compile your version with the first seed node address  you host on vps ( google cloud for example )  or server (2nd laptop pc)

Compile Bitzec example
Install dependencies:

sudo 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

Clone Bitzec Repository :

git clone https://github.com/bitzec/bitzec.git

Build it :

cd bitzec/
./zcutil/build.sh -j$(nproc)    
or fastway   ./zcutil/build.sh --disable-tests -j$(nproc)

fetch key (zcash sapling params):

./zcutil/fetch-params.sh

mkdir -p ~/.bitzec
echo 'gen=1' >> ~/.bitzec/bitzec.conf
echo "genproclimit=1" >> ~/.bitzec/bitzec.conf
echo 'equihashsolver=tromp' >> ~/.bitzec/bitzec.conf

Run It :

./src/bitzecd




Software you need  
1. Ubuntu or Ubuntu on vmware

2. Meld:  https://meldmerge.org/     free compare software
3. Account on github.com        free
4. Mine the Genesis Block for your Zcashy altcoin:
https://github.com/sebastianst/GenesisZ      (use  -v  for verbose  somewhere when you create your genesisblock to see the data you need)
5. Equihash Solver  https://github.com/tromp/equihash

6. good to have software :  atom editor https://atom.io/
github desktop : https://desktop.github.com/



will update it soon hopefully  with  setting up insight explorer  
have fun  and good luck
Jump to: