9 [Zcash](https://z.cash/) is an implementation of the "Zerocash" protocol.
10 Based on Bitcoin's code, it intends to offer a far higher standard of privacy
11 through a sophisticated zero-knowledge proving scheme that preserves
12 confidentiality of transaction metadata. Technical details are available
13 in our [Protocol Specification](https://github.com/zcash/zips/raw/master/protocol/protocol.pdf).
15 This software is the Zcash client. It downloads and stores the entire history
16 of Zcash transactions; depending on the speed of your computer and network
17 connection, the synchronization process could take a day or more once the
18 blockchain has reached a significant size.
23 See important security warnings in
24 [doc/security-warnings.md](doc/security-warnings.md).
29 Zcash is released under the terms of the MIT license. See [COPYING](COPYING) for more
30 information or see http://opensource.org/licenses/MIT.
40 #The following packages are needed:
41 sudo apt-get install build-essential pkg-config libcurl-gnutls-dev libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate
48 git clone https://github.com/jl777/komodo
50 ./zcutil/fetch-params.sh
52 # -j8 uses 8 threads - replace 8 with number of threads you want to use
54 #This can take some time.
57 # to update an existing version, git checkout dPoW if not on that branch already
61 ./zcutil/fetch-params.sh
65 To reset the blockchain, from ~/.komodo rm -rf blocks chainstate debug.log komodostate db.log
75 #Add the following lines to the komodo.conf file:
93 #iguana documentation shows how to get the btcpubkey and wifstrs that need to be used
95 #bitcoin also need to be installed with txindex=1 and with rpc enabled
101 #This will return your pubkey eg. "0259e137e5594cf8287195d13aed816af75bd5c04ae673296b51f66e7e8346e8d8" for your address
102 ./src/komodo-cli validateaddress <yourwalletaddres>
104 #This will give the privkey of your wallet address
105 ./src/komodo-cli dumpprivkey <yourwalletaddres>
107 #This will import the privkey to be sure the mined coins are placed into your wallet address
108 ./src/komodo-cli importprivkey <yourwalletprivkey>
111 ./src/komodo-cli stop
113 #This starts komodo notary - replace genproclimit with number of threads you want to use and add your pubkey
114 ./src/komodod -gen -genproclimit=2 -notary -pubkey="0259e137e5594cf8287195d13aed816af75bd5c04ae673296b51f66e7e8346e8d8" &
116 #This will get the stats:
117 ./src/komodo-cli getinfo
119 #To view the process:
120 ps -ef | grep komodod
123 ./src/komodo-cli stop
125 #To view komodod output:
126 tail -f ~/.komodo/debug.log
129 ./src/komodo-cli help
131 ASSETCHAINS: -ac_name=name -ac_supply=nnnnn
133 Both komodod and komodo-cli recognize -ac_name=option so you can create a zcash fork from the commandline
139 **Zcash is unfinished and highly experimental.** Use at your own risk.
143 We have a guide for joining the main Zcash network:
144 https://github.com/zcash/zcash/wiki/1.0-User-Guide
148 * See the documentation at the [Zcash Wiki](https://github.com/zcash/zcash/wiki)
149 for help and more information.
150 * Ask for help on the [Zcash](https://forum.z.cash/) forum.
152 Participation in the Zcash project is subject to a
153 [Code of Conduct](code_of_conduct.md).
158 Build Zcash along with most dependencies from source by running
159 ./zcutil/build.sh. Currently only Linux is officially supported.
164 For license information see the file [COPYING](COPYING).
168 https://bitcointalk.org/index.php?topic=1605144.msg17732151#msg17732151
169 There is a small chance that an outbound transaction will give an error due to mismatched values in wallet calculations. There is a -exchange option that you can run komodod with, but make sure to have the entire transaction history under the same -exchange mode. Otherwise you will get wallet conflicts.
172 a) backup all privkeys (launch komodod with -exportdir=<path> and dumpwallet)
173 b) start a totally new sync including wallet.dat, launch with same exportdir
174 c) stop it before it gets too far and import all the privkeys from a) using komodo-cli importwallet filename
175 d) resume sync till it gets to chaintip
178 ./komodod -exportdir=/tmp &
179 ./komodo-cli dumpwallet example
181 mv ~/.komodo ~/.komodo.old && mkdir ~/.komodo && cp ~/.komodo.old/komodo.conf ~/.komodo.old/peers.dat ~/.komodo
182 ./komodod -exchange -exportdir=/tmp &
183 ./komodo-cli importwallet /tmp/example